Questions and Solutions
Graded A+
You have 100 chatbots that each has its own Language Understanding model.
Frequently, you must add the same phrases to each model.
You need to programmatically update the Language Understanding models to include the new
phrases.
How should you complete the code? - Answer: AddPhraseListAsync
PhraseListCreateObject
You plaYou have 100 chatbots that each has its own Language Understanding model.
Frequently, you must add the same phrases to each model.
You need to programmatically update the Language Understanding models to include the new
phrases.
How should you complete the code? - Answer: AddPhraseListAsync
PhraseListCreateObject
You plan to use a Language Understanding application named app1 that is deployed to a
container.
App1 was developed by using a Language Understanding authoring resource named lu1.
App1 has the versions shown in the following table.
,You need to create a container that uses the latest deployable version of app1.
Which three actions should you perform in sequence? - Answer: Select v1.1 of app1
Export the model by using the Export for containers (GZIP) option
Run a container and mount the model file
You need to build a chatbot that meets the following requirements:
✑ Supports chit-chat, knowledge base, and multilingual models
✑ Performs sentiment analysis on user messages
✑ Selects the best language model automatically
What should you integrate into the chatbot? - Answer: Language understanding, Text Analytics,
and QnA Maker
Your company wants to reduce how long it takes for employees to log receipts in expense
reports. All the receipts are in English.
You need to extract top-level information from the receipts, such as the vendor and the
transaction total. The solution must minimize development
effort.
Which Azure service should you use? - Answer: Form Recognizer
You need to create a new resource that will be used to perform sentiment analysis and optical
character recognition (OCR). The solution must
meet the following requirements:
✑ Use a single key and endpoint to access multiple services.
✑ Consolidate billing for future services that you might use.
✑ Support the use of Computer Vision in the future.
,How should you complete the HTTP request to create the new resource? - Answer: PUT
Cognitive Services
You are developing a new sales system that will process the video and text from a public-facing
website.
You plan to monitor the sales system to ensure that it provides equitable results regardless of
the user's location or background.
Which two responsible AI principles provide guidance to meet the monitoring requirements? -
Answer: Fairness
Inclusiveness
You plan to use containerized versions of the Anomaly Detector API on local devices for testing
and in on-premises datacenters.
You need to ensure that the containerized deployments meet the following requirements:
✑ Prevent billing and API information from being stored in the command-line histories of the
devices that run the container.
✑ Control access to the container images by using Azure role-based access control (Azure
RBAC).
Which four actions should you perform in sequence? - Answer: Create a custom Dockerfile
Pull the anomaly Detector container image
Build the image
Push the image to an Azure Container registry
, You plan to deploy a containerized version of an Azure Cognitive Services service that will be
used for text analysis.
You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service,
and you pull the latest version of the Text Analytics
Sentiment Analysis container.
You need to run the container on an Azure virtual machine by using Docker.
How should you complete the command? - Answer: mcr.microsoft.com/azure-cognitive-
services/textanalytics/sentiment
https://contoso.cognitiveservices.azure.com
You have the following C# method for creating Azure Cognitive Services resources
programmatically.
You need to call the method to create a free Azure resource in the West US Azure region. The
resource will be used to generate captions of images
automatically.
Which code should you use? - Answer: create_resource(client, "res1", "ComputerVision", "F0",
"westus"
You successfully run the following HTTP request.
POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-
a54745f708a1/resourceGroups/RG1/providers/
Microsoft.CognitiveServices/accounts/contoso1/regenerateKey?api-version=2017-04-18
Body{"keyName": "Key2"}
What is the result of the request? - Answer: The secondary subscription key was reset
You build a custom Form Recognizer model.
You receive sample files to use for training the model as shown in the following table.