Free AI-102 Sample Questions — Designing and Implementing a Microsoft Azure AI Solution

Free AI-102 sample questions for the Designing and Implementing a Microsoft Azure AI Solution exam. No account required: study at your own pace.

Want an interactive quiz? Take the full AI-102 practice test

Looking for more? Click here to get the full PDF with 137+ practice questions for $10 for offline study and deeper preparation.

Question 1

You have an Azure OpenAI model named AI1. You are building a web app named App1 by using the Azure OpenAI SDK. You need to configure App1 to connect to AI1. What information must you provide?

  • A. the endpoint, key, and model name
  • B. the deployment name, key, and model name
  • C. the deployment name, endpoint, and key
  • D. the endpoint, key, and model type
Show Answer
Correct Answer:
C. the deployment name, endpoint, and key
Question 2

You are building a social media extension that will convert text to speech. The solution must meet the following requirements: • Support messages of up to 400 characters. • Provide users with multiple voice options. • Minimize costs. You create an Azure Cognitive Services resource. Which Speech API endpoint provides users with the available voice options?

  • A. https://uksouth.api.cognitive.microsoft.com/speechtotext/v3.0/models/base
  • B. https://uksouth.customvoice.api.speech.microsoft.com/api/texttospeech/v3.0/longaudiosynthesis/voices
  • C. https://uksouth.tts.speech.microsoft.com/cognitiveservices/voices/list
  • D. https://uksouth.voice.speech.microsoft.com/cognitiveservices/v1?deploymentId={deploymentId}
Show Answer
Correct Answer:
C. https://uksouth.tts.speech.microsoft.com/cognitiveservices/voices/list
Question 3

You use the Custom Vision service to build a classifier. After training is complete, you need to evaluate the classifier. Which two metrics are available for review? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • A. recall
  • B. F-score
  • C. weighted accuracy
  • D. precision
  • E. area under the curve (AUC)
Show Answer
Correct Answer:
  • A. recall
  • D. precision
Question 4

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
Show Answer
Correct Answer:
C. Regenerate the secondary admin key, change the app to use the secondary admin key, and then regenerate the primary key
Question 5

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. Provide grounding content
  • C. Add sample request/response pairs
Question 6

You have an app named App1 that uses a custom Azure AI Document Intelligence model to recognize contract documents. You need to ensure that the model supports an additional contract format. The solution must minimize development effort. What should you do?

  • A. Lower the confidence score threshold of App1
  • B. Create a new training set and add the additional contract format to the new training set. Create and train a new custom model
  • C. Add the additional contract format to the existing training set. Retrain the model
  • D. Lower the accuracy threshold of App1
Show Answer
Correct Answer:
C. Add the additional contract format to the existing training set. Retrain the model
Question 7

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. Azure AI Document Intelligence
Question 8

You build a bot. You create an Azure Bot resource. You need to deploy the bot to Azure. What else should you create?

  • A. only an app registration in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra, an Azure App Service instance, and an App Service plan
  • B. only an app registration in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra, an Azure Kubernetes Service (AKS) instance, and a container image
  • C. only an Azure App Service instance, and an App Service plan
  • D. only an Azure Machine Learning workspace and an app registration in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra
Show Answer
Correct Answer:
A. only an app registration in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra, an Azure App Service instance, and an App Service plan
Question 9

You have an Azure subscription that contains an Anomaly Detector resource. You deploy a Docker host server named Server1 to the on-premises network. You need to host an instance of the Anomaly Detector service on Server1. Which parameter should you include in the docker run command?

  • A. Fluentd
  • B. Billing
  • C. Http Proxy
  • D. Mounts
Show Answer
Correct Answer:
B. Billing
Question 10

You are building a conversational language understanding model. You need to enable active learning. What should you do?

  • A. Add show-all-intents=true to the prediction endpoint query
  • B. Enable speech priming
  • C. Add log=true to the prediction endpoint query
  • D. Enable sentiment analysis
Show Answer
Correct Answer:
C. Add log=true to the prediction endpoint query
Question 11

You need to measure the public perception of your brand on social media by using natural language processing. Which Azure service should you use?

  • A. Language service
  • B. Content Moderator
  • C. Computer Vision
  • D. Form Recognizer
Show Answer
Correct Answer:
A. Language service
Question 12

You have a Speech resource and a bot that was built by using the Microsoft Bot Framework Composer. You need to add support for speech-based channels to the bot. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • A. Configure the language and voice settings for the Speech resource
  • B. Add the endpoint and key of the Speech resource to the bot
  • C. Add language understanding to dialogs
  • D. Add Orchestrator to the bot
  • E. Add Speech to the bot responses
  • F. Remove the setSpeak configuration
Show Answer
Correct Answer:
  • A. Configure the language and voice settings for the Speech resource
  • B. Add the endpoint and key of the Speech resource to the bot
  • E. Add Speech to the bot responses
Question 13

You are developing the smart e-commerce project. You need to implement autocompletion as part of the Cognitive Search solution. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • A. Make API queries to the autocomplete endpoint and include suggesterName in the body
  • B. Add a suggester that has the three product name fields as source fields
  • C. Make API queries to the search endpoint and include the product name fields in the searchFields query parameter
  • D. Add a suggester for each of the three product name fields
  • E. Set the searchAnalyzer property for the three product name variants
  • F. Set the analyzer property for the three product name variants
Show Answer
Correct Answer:
  • A. Make API queries to the autocomplete endpoint and include suggesterName in the body
  • B. Add a suggester that has the three product name fields as source fields
  • F. Set the analyzer property for the three product name variants
Question 14

You create a bot by using the Microsoft Bot Framework SDK. You need to configure the bot to respond to events by using custom text responses. What should you use?

  • A. a dialog
  • B. an activity handler
  • C. an adaptive card
  • D. a skill
Show Answer
Correct Answer:
B. an activity handler
Question 15

You have an Azure Cognitive Search solution and a collection of blog posts that include a category field. You need to index the posts. The solution must meet the following requirements: * Include the category field in the search results. * Ensure that users can search for words in the category field. * Ensure that users can perform drill down filtering based on category. Which index attributes should you configure for the category field?

  • A. searchable, sortable, and retrievable
  • B. searchable, facetable, and retrievable
  • C. retrievable, filterable, and sortable
  • D. retrievable, facetable, and key
Show Answer
Correct Answer:
B. searchable, facetable, and retrievable
Question 16

You have a mobile app that manages printed forms. You need the app to send images of the forms directly to Forms Recognizer to extract relevant information. For compliance reasons, the image files must not be stored in the cloud. In which format should you send the images to the Form Recognizer API endpoint?

  • A. raw image binary
  • B. form URL encoded
  • C. JSON
Show Answer
Correct Answer:
A. raw image binary
Question 17

You have an app that analyzes images by using the Computer Vision API. You need to configure the app to provide an output for users who are vision impaired. The solution must provide the output in complete sentences. Which API call should you perform?

  • A. readInStreamAsync
  • B. analyzeImagesByDomainInStreamAsync
  • C. tagImageInStreamAsync
  • D. describeImageInStreamAsync
Show Answer
Correct Answer:
D. describeImageInStreamAsync
Question 18

You are developing a solution to generate a word cloud based on the reviews of a company's products. Which Text Analytics REST API endpoint should you use?

  • A. keyPhrases
  • B. sentiment
  • C. languages
  • D. entities/recognition/general
Show Answer
Correct Answer:
A. keyPhrases
Question 19

You develop a Conversational Language Understanding model by using Language Studio. During testing, users receive incorrect responses to requests that do NOT relate to the capabilities of the model. You need to ensure that the model identifies spurious requests. What should you do?

  • A. Enable active learning
  • B. Add entities
  • C. Add examples to the None intent
  • D. Add examples to the custom intents
Show Answer
Correct Answer:
C. Add examples to the None intent
Question 20

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? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • A. Language Understanding
  • B. Azure SQL Database
  • C. Azure Storage
  • D. Azure Cognitive Search
  • E. Azure App Service
Show Answer
Correct Answer:
  • D. Azure Cognitive Search
  • E. Azure App Service

Aced these? Get the Full Exam

Download the complete AI-102 study bundle with 137+ questions in a single printable PDF.