Explanation/Reference:
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
Testlet 1
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.
