Deck1 Flashcards
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. Complete the code below?
var phrasesListId = await client.Features.{1}(appId, versionId, new {2}
(
EnabledForAllModels = false,
IsExchangeable = true,
Name = “PLI”,
Phrases = “item1, item2,item3”
));
- AddPhrasesListAsync
- PhraseList
- PhraseListCreateObject
- Phrases
- SavePhraseListAsync
- UploadPhraseListAsync
1: AddPhrasesListAsync
2: PhraseListCreateObject
Version, Trained Date, Published Date:
v1.2: null null
v1.1: date, null
v1.0: date, date
App1 was developed by using a Language Understanding authoring resource named lu1.
You need to create a container that uses the latest deployable version of app1.
Which three actions should you perform in sequence?
Run a container that has version set as an env variable
Export the model by using the “Export as JSON option”
Select v1.1 of app1
Run a container and mount the model file
Select v1.0 of App1
Export the model by using the “Export for containers (GZIP) option”
Select v1.2 of app1.
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?
A. QnA Maker, Language Understanding, and Dispatch
B. Translator, Speech, and Dispatch
C. Language Understanding, Text Analytics, and QnA Maker
D. Text Analytics, Translator, and Dispatch
C. Language Understanding, Text Analytics, and QnA Maker
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
{1}https://management.azure.com/subs/xxxx.x.x
{
“location”: “West US”,
“kind”: “{2}”
}
1: Patch, Post, Put
2: Conginitive Services, Computer Vision
Text Analytics
Put
Cognitive Services
Microsoft Azure Cognitive Services provide us to use its pre-trained models for various Business Problems related to Machine Learning.
List of Different Services are:
✑ Decision
✑ Language (includes sentiment analysis)
✑ Speech
✑ Vision (includes OCR)
✑ Web Search
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?
A. Custom Vision
B. Personalizer
C. Form Recognizer
D. Computer Vision
C. Form Recognizer
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?
A. transparency
B. fairness
C. inclusiveness
D. reliability and safety
E. privacy and security
B. fairness
D. reliability and safety
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?
- Create a custom Dockerfile.
- Pull the Anomaly Detector container image.
- Distribute a docker run script.
- Push the image to an Azure container registry.
- Build the image.
- Push the image to Docker Hub.
Create a custom Dockerfile
Build the image
Push the image to an Azure container registry
Distribute a docker run script.
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?
docker run –rm -it -p 5000:5000 –memory 8g –cpus 1
\ {1}
\Eula=accept \
Billing={2}
1: http://contoso.blob.core.windows.net
https://contoso.cognitiveservices.azure.com
mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase
mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
2: http://contoso.blob.core.windows.net
https://contoso.cognitiveservices.azure.com
mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase
mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
1: mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
2: https://contoso.cognitiveservices.azure.com
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?
A. create_resource(client, “res1”, “ComputerVision”, “F0”, “westus”)
B. create_resource(client, “res1”, “CustomVision.Prediction”, “F0”, “westus”)
C. create_resource(client, “res1”, “ComputerVision”, “S0”, “westus”)
D. create_resource(client, “res1”, “CustomVision.Prediction”, “S0”, “westus”)
A. 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?
A. A key for Azure Cognitive Services was generated in Azure Key Vault.
B. A new query key was generated.
C. The primary subscription key and the secondary subscription key were rotated.
D. The secondary subscription key was reset.
D. The secondary subscription key was reset.
Name
File1 | PDF | 20MB
File2 |MP4| 100MB
File3 |JPG |20MB
File4 |PDF |100MB
File5 |GIF |1MB
File6 |JPG |40MB
You receive sample files to use for training the model as shown in the following table. Which three files can you use to train the model?
A. File1 B. File2 C. File3
D. File4 E. File5 F. File6
A C F
New service limits are up to 500 MB but the question is about training model
A customer uses Azure Cognitive Search.
The customer plans to enable a server-side encryption and use customer-managed keys (CMK) stored in Azure.
What are three implications of the planned change? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. The index size will increase.
B. Query times will increase.
C. A self-signed X.509 certificate is required.
D. The index size will decrease.
E. Query times will decrease.
F. Azure Key Vault is required.
A. The index size will increase.
B. Query times will increase.
F. Azure Key Vault is required.
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 create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.
You plan to create a new Azure Cognitive Search service named service1.
You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.
A: You deploy service1 and a public endpoint to a new virtual network, and you configure Azure Private Link.
B: You deploy service1 and a public endpoint, and you configure an IP firewall rule.
C: You deploy service1 and a private endpoint to a new virtual network, and you configure Azure Private Link.
D: You deploy service1 and a public endpoint, and you configure a network security group (NSG) for vnet1.
C
You collect IoT sensor data from 100 industrial machines for a year. Each machine has 50 different sensors that generate data at one-minute intervals. In total, you have 5,000 time series datasets.
You need to identify unusual values in each time series to help predict machinery failures.
Which Azure service should you use?
A. Anomaly Detector
B. Cognitive Search
C. Form Recognizer
D. Custom Vision
A. Anomaly Detector
You plan to provision a QnA Maker service in a new resource group named RG1.
In RG1, you create an App Service plan named AP1.
Which two Azure resources are automatically created in RG1 when you provision the QnA Maker service?
A. Language Understanding
B. Azure SQL Database
C. Azure Storage
D. Azure Cognitive Search
E. Azure App Service
D. Azure Cognitive Search
E. Azure App Service
You are building a language model by using a Language Understanding (classic) service.
You create a new Language Understanding (classic) resource.
You need to add more contributors.
What should you use?
A. a conditional access policy in Azure Active Directory (Azure AD)
B. the Access control (IAM) page for the authoring resources in the Azure portal
C. the Access control (IAM) page for the prediction resources in the Azure portal
B. the Access control (IAM) page for the authoring resources in the Azure portal
You need to develop an automated call handling system that can respond to callers in their own language. The system will support only French and English.
Which Azure Cognitive Services service should you use to meet each requirement?
Detect incoming language: {1}
Respond in the callers language: {2}
Speaker Recognition
Speech to Text
Text Analytics
Text to Speech
Translator
1: Speech to Text
2: Text to Speech
You have receipts that are accessible from a URL.
You need to extract data from the receipts by using Form Recognizer and the SDK. The solution must use a prebuilt model.
Which client and method should you use?
A. the FormRecognizerClient client and the StartRecognizeContentFromUri method
B. the FormTrainingClient client and the StartRecognizeContentFromUri method
C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method
D. the FormTrainingClient client and the StartRecognizeReceiptsFromUri method
C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method
You have a collection of 50,000 scanned documents that contain text.
You plan to make the text available through Azure Cognitive Search.
You need to configure an enrichment pipeline to perform optical character recognition (OCR) and text analytics. The solution must minimize costs.
What should you attach to the skillset?
A. a new Computer Vision resource
B. a free (Limited enrichments) Cognitive Services resource
C. an Azure Machine Learning Designer pipeline
D. a new Cognitive Services resource that uses the S0 pricing tier
D. a new Cognitive Services resource that uses the S0 pricing tier
You have an Azure Cognitive Search service.
During the past 12 months, query volume steadily increased.
You discover that some search query requests to the Cognitive Search service are being throttled.
You need to reduce the likelihood that search query requests are throttled.
A: You add indexes.
B: Use a higher tier
C: You enable customer-managed key (CMK) encryption.
D. Add replicas
B: Use a higher tier
D. Add replicas
You have a Language Understanding resource named lu1.
You build and deploy an Azure bot named bot1 that uses lu1.
You need to ensure that bot1 adheres to the Microsoft responsible AI principle of inclusiveness.
How should you extend bot1?
A. Implement authentication for bot1.
B. Enable active learning for lu1.
C. Host lu1 in a container.
D. Add Direct Line Speech to bot1.
D. Add Direct Line Speech to bot1.
You create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.
You plan to create a new Azure Cognitive Search service named service1.
You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.
a. Deploy service1 and a private endpoint to vnet1
a. Deploy service1 and a private endpoint to vnet1
You are building an app that will process incoming email and direct messages to either French or English language support teams.
Which Azure Cognitive Services API should you use?
https:// (1)(2)
1:
a. api.cognitive.microsofttranslator.com
b. eastus.api.cognitive.microsoft.com
c. portal.azure.com
2:
a. /text/analytics/v3.1/entities/recognition/general
b./text/analytics/v3.1/languages
c. /translator/text/v3.0/translate?to=en
d. /translator/text/v3.0/translate?to=fr
a,a
http://api.cognitive.microsofttranslator.com/text/analytics/v3.1/entities/recognition/general