Microsoft

AI-102 Free Practice Questions — Page 13

Question 136

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 build a language model by using a Conversational Language Understanding. The language model is used to search for information on a contact list by using an intent named FindContact. A conversational expert provides you with the following list of phrases to use for training. • Find contacts in London. • Who do I know in Seattle? • Search for contacts in Ukraine. You need to implement the phrase list in Conversational Language Understanding. Solution: You create a new utterance for each phrase in the FindContact intent. Does this meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
Yes. Implementing each provided phrase as an utterance under the FindContact intent correctly trains the Conversational Language Understanding model. The goal is to use the given phrase list for training, and creating one utterance per phrase is a valid and supported way to achieve that goal. While other techniques (like entities or phrase lists) could improve the model, they are not required for this scenario, and the stated solution does meet the goal.

Question 137

DRAG DROP - You have a Docker host named Host1 that contains a container base image. You have an Azure subscription that contains a custom speech-to-text model named model1. You need to run model1 on Host1. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Illustration for AI-102 question 137
Show Answer
Correct Answer: Request approval to run the container. Export model1 to Host1. Run the container.
Explanation:
Custom Speech containers require Microsoft approval. For running a custom model locally, the model must be exported to the host (especially for offline/disconnected use) before starting the Docker container that hosts the speech-to-text service.

Question 138

HOTSPOT - You are building an Azure web app named App1 that will translate text from English to Spanish. You need to use the Text Translation REST API to perform the translation. The solution must ensure that you have data sovereignty in the United States. How should you complete the URI? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-102 question 138
Show Answer
Correct Answer: api-nam.cognitive.microsofttranslator.com translate
Explanation:
To ensure data sovereignty in the United States, the Text Translation REST API must use the North America (NAM) endpoint. The translate operation is required to convert text from English to Spanish using API version 3.0.

Question 139

HOTSPOT - You are developing a text processing solution. You have the function shown below. For the second argument, you call the function and specify the following string. Our tour of Paris included a visit to the Eiffel Tower For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Illustration for AI-102 question 139 Illustration for AI-102 question 139
Show Answer
Correct Answer: No Yes No
Explanation:
The code uses RecognizeEntities, which returns named entities only. Common words like "our" and "included" are not entities. "Paris" and the landmark "Eiffel Tower" are recognized entities (printed as entity.Text). The function does not extract key phrases; it only outputs recognized entities.

Question 141

HOTSPOT - You have an Azure subscription that has the following configurations: • Subscription ID: 8d3591aa-96b8-4737-ad09-00f9b1ed35ad • Tenant ID: 3edfe572-cb54-3ced-ae12-c5c177f39a12 You plan to create a resource that will perform sentiment analysis and optical character recognition (OCR). You need to use an HTTP request to create the resource in the subscription. The solution must use a single key and endpoint. How should you complete the request? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-102 question 141
Show Answer
Correct Answer: subscriptions/8d3591aa-96b8-4737-ad09-00f9b1ed35ad Microsoft.CognitiveServices
Explanation:
Sentiment analysis and OCR require Azure Cognitive Services with a single key and endpoint. The REST request must target the subscription scope using the subscription ID and the Microsoft.CognitiveServices resource provider.

Question 142

DRAG DROP - You are building an app that will scan confidential documents and use the Language service to analyze the contents. You provision an Azure Cognitive Services resource. You need to ensure that the app can make requests to the Language service endpoint. The solution must ensure that confidential documents remain on-premises. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Illustration for AI-102 question 142
Show Answer
Correct Answer: Provision an on-premises Kubernetes cluster that has internet connectivity. Pull an image from the Microsoft Container Registry (MCR). Run the container and specify an API key and the endpoint URL of the Cognitive Services resource.
Explanation:
Azure AI (Language) containers run on‑premises so documents stay local, but they must reach Azure to send metering/billing data. Therefore, the on‑premises Kubernetes cluster needs internet connectivity. The container image is pulled from MCR, and the container is configured with the Cognitive Services API key and endpoint for authentication and billing.

Question 143

You are building a solution that will detect anomalies in sensor data from the previous 24 hours. You need to ensure that the solution scans the entire dataset, at the same time, for anomalies. Which type of detection should you use?

A. batch
B. streaming
C. change points
Show Answer
Correct Answer: A
Explanation:
The requirement is to analyze the entire dataset from the previous 24 hours at the same time. Batch detection is designed to process a complete historical dataset in one run, unlike streaming (real-time incremental analysis) or change point detection (focused on detecting shifts rather than full anomaly scanning).

Question 145

You are building a chatbot for a travel agent. The bot will ask users for a destination and must repeat the question until a valid input is received, or the user closes the conversation. Which type of dialog should you use?

A. prompt
B. input
C. adaptive
D. QnA Maker
Show Answer
Correct Answer: A
Explanation:
A prompt dialog is designed to ask the user for input, validate it, and automatically reprompt until valid input is received or the conversation ends. This exactly matches the requirement to repeatedly ask for a destination until a valid response is provided.

Question 147

You have a Conversational Language Understanding model. You export the model as a JSON file. The following is a sample of the file. What represents the Weather.Historic entity in the sample utterance?

A. last year
B. by month
C. amount of
D. average
Show Answer
Correct Answer: B
Explanation:
In the exported CLU JSON, the Weather.Historic entity is annotated over the time-granularity phrase that specifies how historical data is grouped. In the utterance "average amount of rain by month in Chicago last year," the entity span corresponds to "by month," not the general time reference "last year."

Question 148

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 are building a chatbot that will use question answering in Azure Cognitive Service for Language. You have a PDF named Doc1.pdf that contains a product catalogue and a price list. You upload Doc1.pdf and train the model. During testing, users report that the chatbot responds correctly to the following question: What is the price of

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
In Azure Cognitive Service for Language question answering, if the chatbot answers a question correctly but needs to handle variations in how users ask it, the correct approach is to add alternate phrasings (alternate questions) to the existing question-and-answer pair and then retrain and republish the model. This improves recognition of semantically similar questions without changing the source document.

$19

Get all 278 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.