Microsoft AZ-302 Exam Practice Questions (P. 5)
- Full Access (55 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
HOTSPOT -
You are designing a software as a service (SaaS) application that will enable Azure Active Directory (Azure AD) users to create and publish online surveys. The
SaaS application will have a front-end web app and back-end web API. The web app will rely on the web API to handle updates to customer surveys.
You need to design an authorization flow for the SaaS application. The solution must meet the following requirements:
✑ To access the back-end web API, the web app must authenticate by using OAuth 2 bearer tokens.
✑ The web app must authenticate by using the identities of individual users.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
You are designing a software as a service (SaaS) application that will enable Azure Active Directory (Azure AD) users to create and publish online surveys. The
SaaS application will have a front-end web app and back-end web API. The web app will rely on the web API to handle updates to customer surveys.
You need to design an authorization flow for the SaaS application. The solution must meet the following requirements:
✑ To access the back-end web API, the web app must authenticate by using OAuth 2 bearer tokens.
✑ The web app must authenticate by using the identities of individual users.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Explanation
References:
https://docs.microsoft.com/lb-lu/azure/architecture/multitenant-identity/web-api https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v1-dotnet-webapi
Explanation
References:
https://docs.microsoft.com/lb-lu/azure/architecture/multitenant-identity/web-api https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v1-dotnet-webapi
send
light_mode
delete
Question #22
HOTSPOT -
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a serverless function that checks compliance.
This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after a specific period of time.
You need to configure Event Grid to ensure security.
What should you implement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a serverless function that checks compliance.
This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after a specific period of time.
You need to configure Event Grid to ensure security.
What should you implement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
send
light_mode
delete
Question #23
Note: This question is a part of a series of questions that presents the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others not have a correct solution.
After you answer a question in this section, you will Not be able to return to it. As a result, these questions will not appear in the review screen.
You use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication links between the shard databases.
You need to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all databases if any of the operations fail.
Solution:
✑ Create stored procedures in each Azure SQL database instance to perform operations for each respective database.
✑ Invoke a named transaction in each stored procedure.
✑ Establish a new transaction scope in a using block. Within the block, establish connections to each Azure SQL Databases instance and run the stored procedure.
✑ If no exception occurs, commit the scoped transaction.
Does the solution meet the goal?
After you answer a question in this section, you will Not be able to return to it. As a result, these questions will not appear in the review screen.
You use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication links between the shard databases.
You need to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all databases if any of the operations fail.
Solution:
✑ Create stored procedures in each Azure SQL database instance to perform operations for each respective database.
✑ Invoke a named transaction in each stored procedure.
✑ Establish a new transaction scope in a using block. Within the block, establish connections to each Azure SQL Databases instance and run the stored procedure.
✑ If no exception occurs, commit the scoped transaction.
Does the solution meet the goal?
send
light_mode
delete
Question #24
A company plans to automate specific sections of a customer service call center solution.
You must develop a bot that can be used on the company's website to provide answers to frequently asked questions (FAQ). You must create a bot that includes the existing FAQs by using Azure Bot Service with QnA Maker.
You need to test the bot.
What are two ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You must develop a bot that can be used on the company's website to provide answers to frequently asked questions (FAQ). You must create a bot that includes the existing FAQs by using Azure Bot Service with QnA Maker.
You need to test the bot.
What are two ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
send
light_mode
delete
Question #25
The final section of each exam is exclusively available to users with Contributor Access. This temporary measure was implemented to cover the expenses of the SecExams infrastructure and moderation staff while also decreasing the load on our infrastructure.
send
light_mode
delete
All Pages