AI-102 Practice Test Free – 50 Real Exam Questions to Boost Your Confidence
Preparing for the AI-102 exam? Start with our AI-102 Practice Test Free – a set of 50 high-quality, exam-style questions crafted to help you assess your knowledge and improve your chances of passing on the first try.
Taking a AI-102 practice test free is one of the smartest ways to:
- Get familiar with the real exam format and question types
- Evaluate your strengths and spot knowledge gaps
- Gain the confidence you need to succeed on exam day
Below, you will find 50 free AI-102 practice questions to help you prepare for the exam. These questions are designed to reflect the real exam structure and difficulty level. You can click on each Question to explore the details.
You are developing an app that will use the Decision and Language APIs. You need to provision resources for the app. The solution must ensure that each service is accessed by using a single endpoint and credential. Which type of resource should you create?
A. Language
B. Speech
C. Azure Cognitive Services
D. Content Moderator
You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements: • Return numeric vectors that represent the tokens of each document. • Minimize development effort. Which Azure OpenAI model should you use?
A. GPT-3.5
B. GPT-4
C. embeddings
D. DALL-E
HOTSPOT - You are developing an application that will use the Azure AI Vision client library. The application has the following code.For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
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
HOTSPOT - You are developing a streaming Speech to Text solution that will use the Speech SDK and MP3 encoding. You need to develop a method to convert speech to text for streaming MP3 data. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You are building a retail kiosk system that will use a custom neural voice. You acquire audio samples and consent from the voice talent. You need to create a voice talent profile. What should you upload to the profile?
A. a .zip file that contains 10-second .wav files and the associated transcripts as .txt files
B. a five-minute .flac audio file and the associated transcript as a .txt file
C. a .wav or .mp3 file of the voice talent consenting to the creation of a synthetic version of their voice
D. a five-minute .wav or .mp3 file of the voice talent describing the kiosk system
HOTSPOT - In Azure OpenAI Studio, you are prototyping a chatbot by using Chat playground. You need to configure the chatbot to meet the following requirements: • Reduce the repetition of words in conversations. • Reduce the randomness of each response. Which two parameters should you modify? To answer, select the appropriate parameters in the answer area. NOTE: Each correct answer is worth one point.
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. Solution: You deploy service1 and a public endpoint, and you configure a network security group (NSG) for vnet1. Does this meet the goal?
A. Yes
B. No
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.
You are developing a method that uses the Computer Vision client library. The method will perform optical character recognition (OCR) in images. The method has the following code.During testing, you discover that the call to the GetReadResultAsync method occurs before the read operation is complete. You need to prevent the GetReadResultAsync method from proceeding until the read operation is complete. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Remove the operation_id parameter.
B. Add code to verify the read_results.status value.
C. Add code to verify the status of the read_operation_location value.
D. Wrap the call to get_read_result within a loop that contains a delay.
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}
DRAG DROP - You develop an app in C# named App1 that performs speech-to-speech translation. You need to configure App1 to translate English to German. How should you complete the SpeechTranslationConfig object? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
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
HOTSPOT - You are developing the shopping on-the-go project. You need to build the Adaptive Card for the chatbot. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
HOTSPOT - You are building a text-to-speech app that will use a custom neural voice. You need to create an SSML file for the app. The solution must ensure that the voice profile meets the following requirements: • Expresses a calm tone • Imitates the voice of a young adult female How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You have an Azure subscription that contains an AI enrichment pipeline in Azure Cognitive Search and an Azure Storage account that has 10 GB of scanned documents and images. You need to index the documents and images in the storage account. The solution must minimize how long it takes to build the index. What should you do?
A. From the Azure portal, configure parallel indexing.
B. From the Azure portal, configure scheduled indexing.
C. Configure field mappings by using the REST API.
D. Create a text-based indexer by using the REST API.
You need to develop an extract solution for the receipt images. The solution must meet the document processing requirements and the technical requirements. You upload the receipt images to the Form Recognizer API for analysis, and the API returns the following JSON.Which expression should you use to trigger a manual review of the extracted information by a member of the Consultant-Bookkeeper group?
A. documentResults.docType == “prebuilt:receipt”
B. documentResults.fields.*.confidence 0.7
D. documentResults.fields.MerchantName.confidence < 0.7
HOTSPOT - You plan to deploy an Azure OpenAI resource by using an Azure Resource Manager (ARM) template. You need to ensure that the resource can respond to 600 requests per minute. How should you complete the template? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
DRAG DROP - You have a web app that uses Azure Cognitive Search. When reviewing billing for the app, you discover much higher than expected charges. You suspect that the query key is compromised. You need to prevent unauthorized access to the search endpoint and ensure that users only have read only access to the documents collection. The solution must minimize app downtime. 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. Select and Place:
You plan create an index for an Azure Cognitive Search service by using the Azure portal. The Cognitive Search service will connect to an Azure SQL database. The Azure SQL database contains a table named UserMessages. Each row in UserMessages has a field named MessageCopy that contains the text of social media messages sent by a user. Users will perform full text searches against the MessageCopy field, and the values of the field will be shown to the users. You need to configure the properties of the index for the MessageCopy field to support the solution. Which attributes should you enable for the field?
A. Sortable and Retrievable
B. Filterable and Retrievable
C. Searchable and Facetable
D. Searchable and Retrievable
You have a 20-GB video file named File1.avi that is stored on a local drive. You need to index File1.avi by using the Azure Video Indexer website. What should you do first?
A. Upload File1.avi to an Azure Storage queue.
B. Upload File1.avi to the Azure Video Indexer website.
C. Upload File1.avi to Microsoft OneDrive.
D. Upload File1.avi to the www.youtube.com webpage.
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
HOTSPOT - You are developing an application that includes language translation. The application will translate text retrieved by using a function named get_text_to_be_translated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography. You need to develop code to translate the text to a single language. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
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.
HOTSPOT - You are developing an application to recognize employees' faces by using the Face Recognition API. Images of the faces will be accessible from a URI endpoint. The application has the following code.For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
You develop a custom question answering project in Azure Cognitive Service for Language. The project will be used by a chatbot. You need to configure the project to engage in multi-turn conversations. What should you do?
A. Add follow-up prompts.
B. Enable active learning.
C. Add alternate questions.
D. Enable chit-chat.
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.
DRAG DROP - You are developing a photo application that will find photos of a person based on a sample image by using the Face API. You need to create a POST request to find the photos. How should you complete the request? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Select and Place:
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.
You are developing a system that will monitor temperature data from a data stream. The system must generate an alert in response to atypical values. The solution must minimize development effort. What should you include in the solution?
A. Multivariate Anomaly Detection
B. Azure Stream Analytics
C. metric alerts in Azure Monitor
D. Univariate Anomaly Detection
You have a chatbot that was built by using the Microsoft Bot Framework. You need to debug the chatbot endpoint remotely. Which two tools should you install on a local computer? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Fiddler
B. Bot Framework Composer
C. Bot Framework Emulator
D. Bot Framework CLI
E. ngrok
F. nginx
HOTSPOT - You develop a test method to verify the results retrieved from a call to the Computer Vision API. The call is used to analyze the existence of company logos in images. The call returns a collection of brands named brands. You have the following code segment.For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
HOTSPOT - You have a Computer Vision resource named contoso1 that is hosted in the West US Azure region. You need to use contoso1 to make a different size of a product photo by using the smart cropping feature. How should you complete the API URL? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
You are designing a content management system. You need to ensure that the reading experience is optimized for users who have reduced comprehension and learning differences, such as dyslexia. The solution must minimize development effort. Which Azure service should you include in the solution?
A. Azure AI Immersive Reader
B. Azure AI Translator
C. Azure AI Document Intelligence
D. Azure AI Language
You have the following Python function for creating Azure Cognitive Services resources programmatically. def create_resource (resource_name, kind, account_tier, location) : parameters = CognitiveServicesAccount(sku=Sku(name=account_tier), kind=kind, location=location, properties={}) result = client.accounts.create(resource_group_name, resource_name, parameters) You need to call the function 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(“res1”, “ComputerVision”, “F0”, “westus”)
B. create_resource(“res1”, “CustomVision.Prediction”, “F0”, “westus”)
C. create_resource(“res1”, “ComputerVision”, “S0”, “westus”)
D. create_resource(“res1”, “CustomVision.Prediction”, “S0”, “westus”)
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
You have an Azure subscription that contains a Language service resource named ta1 and a virtual network named vnet1. You need to ensure that only resources in vnet1 can access ta1. What should you configure?
A. a network security group (NSG) for vnet1
B. Azure Firewall for vnet1
C. the virtual network settings for ta1
D. a Language service container for ta1
SIMULATION - You need to create a search service named search12345678 that will index a sample Azure Cosmos DB database named hotels-sample. The solution must ensure that only English language fields are retrievable. To complete this task, sign in to the Azure portal.
DRAG DROP - You need to analyze video content to identify any mentions of specific company names. 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.
You are building an app that will use the Azure AI Video Indexer service. You plan to train a language model to recognize industry-specific terms. You need to upload a file that contains the industry-specific terms. Which file format should you use?
A. XML
B. TXT
C. XLS
D. PDF
HOTSPOT - You are developing a service that records lectures given in English (United Kingdom). You have a method named AppendToTranscriptFile that takes translated text and a language identifier. You need to develop code that will provide transcripts of the lectures to attendees in their respective language. The supported languages are English, French, Spanish, and German. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
DRAG DROP - You are developing the smart e-commerce project. You need to design the skillset to include the contents of PDFs in searches. How should you complete the skillset design diagram? To answer, drag the appropriate services to the correct stages. Each service may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Select and Place:
You are developing the document processing workflow. You need to identify which API endpoints to use to extract text from the financial documents. The solution must meet the document processing requirements. Which two API endpoints should you identify? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. /vision/v3.1/read/analyzeResults
B. /formrecognizer/v2.0/custom/models/{modelId}/analyze
C. /formrecognizer/v2.0/prebuilt/receipt/analyze
D. /vision/v3.1/describe
E. /vision/v3.1/read/analyze
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 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. Solution: You add replicas. Does this meet the goal?
A. Yes
B. No
HOTSPOT - You build a QnA Maker resource to meet the chatbot requirements. Which RBAC role should you assign to each group? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
You are developing a monitoring system that will analyze engine sensor data, such as rotation speed, angle, temperature, and pressure. The system must generate an alert in response to atypical values. What should you include in the solution?
A. Application Insights in Azure Monitor
B. metric alerts in Azure Monitor
C. Multivariate Anomaly Detection
D. Univariate Anomaly Detection
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.
You have an app named App1 that uses an Azure Cognitive Services model to identify anomalies in a time series data stream. You need to run App1 in a location that has limited connectivity. The solution must minimize costs. What should you use to host the model?
A. Azure Kubernetes Service (AKS)
B. Azure Container Instances
C. a Kubernetes cluster hosted in an Azure Stack Hub integrated system
D. the Docker Engine
You need to implement a table projection to generate a physical expression of an Azure Cognitive Search index. Which three properties should you specify in the skillset definition JSON configuration table node? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. tableName
B. generatedKeyName
C. dataSource
D. dataSourceConnection
E. source
DRAG DROP - You develop a Python app named App1 that performs speech-to-speech translation. You need to configure App1 to translate English to German. How should you complete the SpeechTranslationConfig object? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
Free Access Full AI-102 Practice Test Free Questions
If you’re looking for more AI-102 practice test free questions, click here to access the full AI-102 practice test.
We regularly update this page with new practice questions, so be sure to check back frequently.
Good luck with your AI-102 certification journey!