AZ-204 Exam Question 11
You need to configure Azure CDN for the Shipping web site.
Which configuration options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Which configuration options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

AZ-204 Exam Question 12
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might 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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.
You need to ensure that scripts run and resources are available before a swap operation occurs.
Solution: Update the web.config file to include the applicationInitialization configuration element.
Specify custom initialization actions to run the scripts.
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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.
You need to ensure that scripts run and resources are available before a swap operation occurs.
Solution: Update the web.config file to include the applicationInitialization configuration element.
Specify custom initialization actions to run the scripts.
Does the solution meet the goal?
AZ-204 Exam Question 13
Case Study 4 - Best for You Organics
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 locations, menu items, nutritional, information, and company information. The company developed and deployed a cross-platform mobile app.
Requirements
You must develop a chartbot 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 endpoint can be accessed only by 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.
* APIs 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. 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. You register the Delivery API and web app in Azure AD. You enable OAuth 2.0 in the 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:

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.
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.
Startup.cs

You need to update the chatbot to greet the user when they sign in.
Which two rich card formats can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
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 locations, menu items, nutritional, information, and company information. The company developed and deployed a cross-platform mobile app.
Requirements
You must develop a chartbot 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 endpoint can be accessed only by 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.
* APIs 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. 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. You register the Delivery API and web app in Azure AD. You enable OAuth 2.0 in the 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:

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.
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.
Startup.cs

You need to update the chatbot to greet the user when they sign in.
Which two rich card formats can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
AZ-204 Exam Question 14
You are building a website to access project data related to terms within your organization. The website does not allow anonymous access. Authentication performed using an Azure Active Directory (Azure AD) app named internal.
The website has the following authentication requirements:
*Azure AD users must be able to login to the website.
*Personalization of the website must be based on membership in Active Directory groups.
You need to configure the application's manifest to meet the authentication requirements.
How should you configure the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

The website has the following authentication requirements:
*Azure AD users must be able to login to the website.
*Personalization of the website must be based on membership in Active Directory groups.
You need to configure the application's manifest to meet the authentication requirements.
How should you configure the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

AZ-204 Exam Question 15
You need to configure the ContentUploadService deployment.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.





