Question.51 You have the following Python method. ![]() You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis. How should you call the method? A. create_resource(“res1”, “TextAnalytics”, “Standard”, “East US”) B. create_resource(“res1”, “ContentModerator”, “S0”, “eastus”) C. create_resource(“res1”, “ContentModerator”, “Standard”, “East US”) D. create_resource(“res1”, “TextAnalytics”, “S0”, “eastus”) |
51. Click here to View Answer
Answer: D
Question.52 HOTSPOT 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? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area: ![]() |
52. Click here to View Answer
Answer:

Box 1: mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
To run the Sentiment Analysis v3 container, execute the following docker run command. docker run –rm -it -p 5000:5000 –memory 8g –cpus 1 \ mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment \
Eula=accept \
Billing={ENDPOINT_URI} \
ApiKey={API_KEY} is the endpoint for accessing the Text Analytics API. https://<your-custom-subdomain>.cognitiveservices.azure.com
Box 2: https://contoso.cognitiveservices.azure.com
{ENDPOINT_URI} is the endpoint for accessing the Text Analytics API: https://<your-custom-subdomain>.cognitiveservices.a The endpoint for accessing the Text
Analytics API. zure.com –
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-install-containers?tabs=sentiment
Question.53 You are building a chatbot by using Microsoft Bot Framework Composer. You need to configure the chatbot to present a list of available options. The solution must ensure that an image is provided for each option. Which two features should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. an entity B. an Azure function C. an utterance D. an adaptive card E. a dialog |
53. Click here to View Answer
Answer: DE
Question.54 HOTSPOT You plan to provision Azure Cognitive Services resources by using the following method. You need to create a Standard tier resource that will convert scanned receipts into text. ![]() How should you call the method? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. ![]() |
54. Click here to View Answer
Answer:

Question.55 You deploy a web app that is used as a management portal for indexing in Azure Cognitive Search. The app is configured to use the primary admin key. During a security review, you discover unauthorized changes to the search index. You suspect that the primary access key is compromised. You need to prevent unauthorized access to the index management endpoint. The solution must minimize downtime. What should you do next? A. Regenerate the primary admin key, change the app to use the secondary admin key, and then regenerate the secondary admin key. B. Change the app to use a query key, and then regenerate the primary admin key and the secondary admin key. C. Regenerate the secondary admin key, change the app to use the secondary admin key, and then regenerate the primary key. D. Add a new query key, change the app to use the new query key, and then delete all the unused query keys. |
55. Click here to View Answer
Answer: A
Regenerate admin keys.
Two admin keys are created for each service so that you can rotate a primary key, using the secondary key for business continuity.
1. In the Settings >Keys page, copy the secondary key.
2. For all applications, update the API key settings to use the secondary key.
3. Regenerate the primary key.
4. Update all applications to use the new primary key.
Note: Two admin api-keys, referred to as primary and secondary keys in the portal, are automatically generated when the service is created and can be individually regenerated on demand. Having two keys allows you to roll over one key while using the second key for continued access to the service.
Reference:
https://docs.microsoft.com/en-us/azure/search/search-security-api-keys#regenerate-admin-keys