Microsoft

AI-102 Free Practice Questions — Page 9

Question 85

DRAG DROP - You plan to implement an Azure AI Search resource that will use custom skill based on sentiment analysis. You need to create a custom model and configure Azure AI Search use the model. Which five 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 85
Show Answer
Correct Answer: Create an Azure Machine Learning workspace. Create and train the model in the Azure Machine Learning studio. Create an endpoint for the model. Connect the custom skill to the endpoint. Rerun the indexer to enrich the index.
Explanation:
A custom skill based on sentiment analysis is implemented by first setting up Azure Machine Learning, training and deploying the model as an endpoint, then configuring Azure AI Search to call that endpoint as a custom skill. Finally, the indexer must be rerun so the index is enriched using the new skill.

Question 86

You build a chatbot that uses the Azure OpenAI GPT 3.5 model. You need to improve the quality of the responses from the chatbot. The solution must minimize development effort. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct answer is worth one point.

A. Fine-tune the model.
B. Provide grounding content.
C. Add sample request/response pairs.
D. Retrain the language model by using your own data.
E. Train a custom large language model (LLM).
Show Answer
Correct Answer: B, C
Explanation:
The goal is to improve chatbot response quality while minimizing development effort. Providing grounding content supplies relevant context at runtime (e.g., documents or knowledge bases) without retraining. Adding sample request/response pairs improves prompt quality and guides the model’s behavior with minimal setup. Fine-tuning, retraining, or building a custom LLM require significantly more effort and resources.

Question 87

You have an Azure AI service model named Model1 that identifies the intent of text input. You develop a Python app named App1. You need to configure App1 to use Model1. Which package should you add to App1?

A. azure-cognitiveservices-language-textanalytics
B. azure-ai-language-conversations
C. azure-mgmt-cognitiveservices
D. azure-cognitiveservices-speech
Show Answer
Correct Answer: B
Explanation:
Model1 is described as identifying the intent of text input, which corresponds to Conversational Language Understanding (CLU) in Azure AI Language services. The Python SDK designed for intent and entity extraction in conversational scenarios is **azure-ai-language-conversations**. The Text Analytics package focuses on sentiment, key phrases, and language detection, not intent recognition, while the other options are unrelated to intent modeling.

Question 88

HOTSPOT - You have an Azure OpenAI resource named AI1 that hosts three deployments of the GPT 3.5 model. Each deployment is optimized for a unique workload. You plan to deploy three apps. Each app will access AI1 by using the REST API and will use the deployment that was optimized for the app's intended workload. You need to provide each app with access to AI1 and the appropriate deployment. The solution must ensure that only the apps can access AI1. What should you use to provide access to AI1, and what should each app use to connect to its appropriate deployment? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-102 question 88
Show Answer
Correct Answer: An API key A deployment endpoint
Explanation:
Azure OpenAI REST API access to a resource is secured using an API key (or Azure AD, but that option isn’t listed). Each model deployment is accessed through its own deployment-specific REST endpoint, which uniquely routes requests to the deployment optimized for that app.

Question 89

You have a Microsoft OneDrive folder that contains a 20-GB video file named File1.avi. You need to index File1.avi by using the Azure Video Indexer website. What should you do?

A. Upload File1.avi to the www.youtube.com webpage, and then copy the URL of the video to the Azure AI Video Indexer website.
B. Download File1.avi to a local computer, and then upload the file to the Azure AI Video Indexer website.
C. From OneDrive, create a download link, and then copy the link to the Azure AI Video Indexer website.
D. From OneDrive, create a sharing link for File1.avi, and then copy the link to the Azure AI Video Indexer website.
Show Answer
Correct Answer: D
Explanation:
Azure Video Indexer can index videos from publicly accessible URLs. Creating a OneDrive sharing link makes the 20‑GB file accessible over HTTPS without downloading and re‑uploading it, which is the intended and efficient approach. Uploading locally is unnecessary for such a large file, YouTube URLs are unsupported, and OneDrive download links are not the standard method for providing persistent public access.

Question 90

HOTSPOT - You are building an app that will answer customer calls about the status of an order. The app will query a database for the order details and provide the customers with a spoken response. You need to identify which Azure AI service APIs to use. The solution must minimize development effort. Which object should you use for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-102 question 90
Show Answer
Correct Answer: Convert customer calls into text queries: SpeechRecognizer Provide customers with the order details: SpeechSynthesizer
Explanation:
SpeechRecognizer converts spoken audio from customer calls into text for querying order data. SpeechSynthesizer converts text responses into spoken audio, enabling the app to verbally provide order details with minimal development effort.

Question 92

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 92 Illustration for AI-102 question 92
Show Answer
Correct Answer: No Yes No
Explanation:
The code calls recognize_entities, not key phrase extraction, so it prints only recognized entities. Common words like "our" and "included" are not entities. "Paris" and "Eiffel Tower" are recognized entities (Eiffel Tower as a single entity). The function does not output all key phrases, only entities.

Question 93

DRAG DROP - You have an app that uses Azure AI and a custom trained classifier to identify products in images. You need to add new products to the classifier. The solution must meet the following requirements: • Minimize how long it takes to add the products. • Minimize development effort. Which five 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 93
Show Answer
Correct Answer: From the Custom Vision portal, open the project. Upload sample images of the new products. Label the sample images. Retrain the model. Publish the model.
Explanation:
To minimize time and development effort, use the Custom Vision portal UI. New products are added by uploading images, labeling them, retraining the existing classifier, and publishing the updated model for use.

Question 94

You have a file share that contains 5,000 images of scanned invoices. You need to analyze the images. The solution must extract the following data: • Invoice items • Sales amounts • Customer details What should you use?

A. Custom Vision
B. Azure AI Computer Vision
C. Azure AI Immersive Reader
D. Azure AI Document Intelligence
Show Answer
Correct Answer: D
Explanation:
Azure AI Document Intelligence is purpose-built for analyzing documents such as scanned invoices. Its prebuilt invoice models can extract structured data including line items, sales amounts, totals, and customer details, which fits the requirements better than generic OCR or vision services.

Question 95

HOTSPOT - You build a chatbot by using Azure OpenAI Studio. You need to ensure that the responses are more deterministic and less creative. Which two parameters should you configure? To answer, select the appropriate parameters in the answer area. NOTE: Each correct answer is worth one point.

Illustration for AI-102 question 95
Show Answer
Correct Answer: Temperature Top P
Explanation:
Lowering Temperature reduces randomness in token selection, making outputs more predictable. Lowering Top P (nucleus sampling) restricts token choices to the highest-probability mass, further reducing creativity and increasing determinism.

$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.