Microsoft Azure Solutions Architect v1.0 (AZ-302)

Page:    1 / 4   
Total 55 questions

Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an
All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background -
Best For You Organics Company is a global restaurant franchise that has multiple locations. The company wants to enhance user experiences and vendor integrations. The company plans to implement automated mobile ordering and delivery services.
Best For You Organics hosts an Azure web app at the URL https://www.bestforyouorganics.com. Users can use the web app to browse restaurant location, menu items, nutritional, information, and company information. The company developed and deployed a cross-platform mobile app.

Requirements -

Chatbot -
You must develop a chatbot by using the Bot Builder SDK and Language Understanding Intelligence Service (LUIS). The chatbot must allow users to order food for pickup or delivery.
The chatbot must meet the following requirements:
Ensure that chatbot by using the Bot Framework connector.
Use natural language processing and speech recognition so that users can interact with the chatbot by using text and voice. Processing must be server-based.
Alert users about promotions at local restaurants.
Enable users to place an order for delivery or pickup by using their voice.


Greet the user upon sign-in by displaying a graphical interface that contains action buttons.
the chatbot greeting interface must match the formatting of the following example:


Vendor API -
Vendors receive and provide updates for the restaurant inventory and delivery services by using Azure API Management hosted APIs. Each vendor uses their own subscription to access each of the APIs.
APIs must meet the following conditions:
API usage must not exceed 5,000 calls and 50,000 kilobytes of bandwidth per hour per vendor.
If a vendor is nearing the number of calls or bandwidth limit, the API must trigger email notifications to the vendor.
API must prevent API usage spikes on a per-subscription basis by limiting the call rate to 100 calls per minute.
The Inventory API must be written by using ASP.NET Core and Node.js.
The API must be updated to provide an interface to Azure SQL Database objects must be managed by using code.
The Delivery API must be protected by using the OAuth 2.0 protocol with Azure Active Directory (Azure AD) when called from the Azure web app.
The delivery API must update the Products table, the Vendor transactions table, and the Billing table in a single transaction.
The Best For You Organics Company architecture team has created the following diagram depicting the expected deployments into Azure:


Issues -

Delivery API -
The Delivery API intermittently throws the following exception:


Chatbot greeting -
The chatbot’s greeting does not show the user’s name. You need to debug the chatbot locally.

Language processing -
Users report that the bot fails to understand when a customer attempts to order dishes that use Italian names.

App code -
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.


Note: In this section, you will see one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem, and you must determine whether the solution meets the stated goals. More than one solution might solve the problem. it is also possible that none of the solutions solve the problem.
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.
Note: This question is part of a series of questions that presents the same scenario. Each question in the series contains a unique solution. determine whether the solution meets the stated goals.
You need to resolve the delivery API error.
What should you do?

  • A. Implement simple retry using the EnableRetryOnFailure feature of Entity Framework.
  • B. Implement exponential back off by using the EnableRetryOnFailure feature of Entity Framework.
  • C. Implement the Circuit Breaker pattern by using the EnableRetryOnFailure feature of Entity Framework.
  • D. Invoke accustom execution strategy in Entity framework.


Answer : B

References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-develop-error-messages

Case Study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an
All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background -
Best For You Organics Company is a global restaurant franchise that has multiple locations. The company wants to enhance user experiences and vendor integrations. The company plans to implement automated mobile ordering and delivery services.
Best For You Organics hosts an Azure web app at the URL https://www.bestforyouorganics.com. Users can use the web app to browse restaurant location, menu items, nutritional, information, and company information. The company developed and deployed a cross-platform mobile app.

Requirements -

Chatbot -
You must develop a chatbot by using the Bot Builder SDK and Language Understanding Intelligence Service (LUIS). The chatbot must allow users to order food for pickup or delivery.
The chatbot must meet the following requirements:
Ensure that chatbot by using the Bot Framework connector.
Use natural language processing and speech recognition so that users can interact with the chatbot by using text and voice. Processing must be server-based.
Alert users about promotions at local restaurants.
Enable users to place an order for delivery or pickup by using their voice.


Greet the user upon sign-in by displaying a graphical interface that contains action buttons.
the chatbot greeting interface must match the formatting of the following example:


Vendor API -
Vendors receive and provide updates for the restaurant inventory and delivery services by using Azure API Management hosted APIs. Each vendor uses their own subscription to access each of the APIs.
APIs must meet the following conditions:
API usage must not exceed 5,000 calls and 50,000 kilobytes of bandwidth per hour per vendor.
If a vendor is nearing the number of calls or bandwidth limit, the API must trigger email notifications to the vendor.
API must prevent API usage spikes on a per-subscription basis by limiting the call rate to 100 calls per minute.
The Inventory API must be written by using ASP.NET Core and Node.js.
The API must be updated to provide an interface to Azure SQL Database objects must be managed by using code.
The Delivery API must be protected by using the OAuth 2.0 protocol with Azure Active Directory (Azure AD) when called from the Azure web app.
The delivery API must update the Products table, the Vendor transactions table, and the Billing table in a single transaction.
The Best For You Organics Company architecture team has created the following diagram depicting the expected deployments into Azure:


Issues -

Delivery API -
The Delivery API intermittently throws the following exception:


Chatbot greeting -
The chatbot’s greeting does not show the user’s name. You need to debug the chatbot locally.

Language processing -
Users report that the bot fails to understand when a customer attempts to order dishes that use Italian names.

App code -
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.



DRAG DROP -
You need to resolve the language processing issue.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them on the correct order.
Select and Place:



Answer : Explanation

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?

  • A. Yes
  • B. No


Answer : B

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.

  • A. MSBot
  • B. Bot Framework Emulator
  • C. Web chat in Azure portal
  • D. ngrok


Answer : BC

HOTSPOT -
You develop software solutions for a web services company. You have the following code. (Line numbers are for reference only.)


You need to implement an immediate response customer support solution for the company’s website.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer : Explanation

DRAG DROP -
You are developing an IoT solution. The solution requires bidirectional communication between a .NET application and Azure IoT Hub.
You need to obtain connection information for a single test device.
Which three commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:



Answer : Explanation

HOTSPOT -
You are developing an IoT solution.
The solution requires bidirectional communication between a client .NET back-end application that will connect to the IoT Hub to process information.
You need to collect the values required for the back-end application to connect with the newly created IoT Hub.
How should you complete the commands? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer : Explanation

You are developing a speech-enabled home automation control bot.
The bot interprets some spoken words incorrectly.
You need to improve the spoken word recognition for the bot.
What should you implement?

  • A. The Cortana Channel and use scorable dialogs for improving conversation flow
  • B. The Skype for Business Channel and use scorable dialogs for improving conversation flow
  • C. The Skype Chanel and Speech priming using a LUIS app
  • D. The Web Chat Channel and Speech priming using a Bing Speech Service and LUIS app


Answer : D

HOTSPOT -
You are creating a bot for a company by using QnA Maker.
You need to ensure that the company can update the bot without third-party assistance.
What should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer : Explanation

References:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/overview/overview

A company sells products worldwide and provides customer service in many languages. The company has a customer service email address for customer requests.
The language the email is written in needs to be recognized and routed to the appropriate local department.
You need to use the appropriate cognitive service to detect the language of the email.
How should you initiate language detection?

  • A. Use the Spark natural language processing functionality on Azure HDInsight.
  • B. Post the content to https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/...?subscription-key...&verbose=false.
  • C. Use the Entity Linking Intelligence Service (ELIS) API.
  • D. Post the content to <region>.api.cognitive.microsoft.com/text/analytics/v2.0/languages.endpoint.


Answer : D

DRAG DROP -
You develop a web app that uses the tier D1 app service plan by using the Web Apps feature of Microsoft Azure App Service.
Spikes in traffic have caused increases in page load times.
You need to ensure that the web app automatically scales when CPU load is about 85 percent and minimize costs.
Which four actions should you perform in sequence?
Select and Place:



Answer : Explanation

References:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-get-started

HOTSPOT -
You have a task that includes a WebJob that should run continuously. The WebJob Log exhibit shows the text that is displayed when the WebJob runs. (Click the
WebJob Log tab.)


The WebJob is configured as shown in the WebJob Configuration exhibit. (Click the WebJob Configuration tab.)

The WebJob is not functioning as expected. The WebJob Code exhibit has a comment that shows where code should be added. (Click the WebJob Code tab.)

You need to identify any issues with the WebJob. For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer : Explanation

HOTSPOT -
A company is developing a new website that uses Azure Cosmos DB for data storage.
You need to implement a method to retrieve one item by identifier. The method must run as efficiently as possible.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:




Answer :

References:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.documents.client.documentclient.readdocumentasync?view=azure-dotnet

DRAG DROP -
You are creating a collaborative image hosting platform as an ASP.NET MVC web application. Users add, update, and modify images on the platform. Images are stored in Azure Blob storage.
More than one user at a time must be able to modify the same image.
You need to implement optimistic concurrency for uploading images.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:



Answer : Explanation

References:
https://azure.microsoft.com/en-gb/blog/managing-concurrency-in-microsoft-azure-storage-2/

You develop a payment processing solution by using a .NET Framework application.
Customer data is spread across multiple Azure SQL Database servers and is not sharded. When a payment is made from one person to another person, data may be changed in multiple databases at once.
You need to ensure transactional atomicity across databases.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. In the solution, use the OpenConnectionForKey function to reference each database that will be included during a distributed transaction.
  • B. In Azure PowerShell, create a new communication relationship between each database that requires distributed transactions.
  • C. Use the Microsoft Distributed Transaction Coordination (MS DTC) service to configure distributed transactions between each database.
  • D. In the solution, create new SqlConnection objects for each database that will be included during a distributed transaction.


Answer : BD

References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-transactions-overview#transactions-across-multiple-servers

Page:    1 / 4   
Total 55 questions