00:20:00

Microsoft Azure AI Engineer Associate Practice Test (AI-102)

Use the form below to configure your Microsoft Azure AI Engineer Associate Practice Test (AI-102). The practice test can be configured to only include certain exam objectives and domains. You can choose between 5-100 questions and set a time limit.

Logo for Microsoft Azure AI Engineer Associate AI-102
Questions
Number of questions in the practice test
Free users are limited to 20 questions, upgrade to unlimited
Seconds Per Question
Determines how long you have to finish the practice test
Exam Objectives
Which exam objectives should be included in the practice test

Microsoft Azure AI Engineer Associate AI-102 Information

The Microsoft Certified: Azure AI Engineer Associate certification, earned by passing the AI‑102: Designing and Implementing a Microsoft Azure AI Solution exam, is designed for people who build, deploy, and manage AI solutions using Microsoft Azure. According to Microsoft the role of an Azure AI Engineer involves working across all phases: requirements definition, development, deployment, integration, maintenance, and tuning of AI solutions. To succeed you should have experience with programming (for example Python or C#), using REST APIs/SDKs, and working with Azure’s AI services.

Domains on Azure AI Engineer Exam

The AI-102 exam tests several key areas: planning and managing an Azure AI solution (about 15-20 % of the exam), implementing computer vision solutions (15-20 %), natural language processing solutions (30-35 %), knowledge mining/document intelligence (10-15 %), generative AI solutions (10-15 %), and content-moderation/decision-support solutions (10-15 %). It is important to review each area and gain hands-on practice with Azure AI services such as Azure AI Vision, Azure AI Language, Azure AI Search and Azure OpenAI.

Azure AI Engineer Practice Tests

One of the best ways to prepare for this exam is through practice tests. Practice tests let you experience sample questions that mimic the real exam style and format. They help you determine which topics you are strong in and which ones need more study. After taking a practice test you can review your incorrect answers and go back to the learning material or labs to fill those gaps. Many study guides recommend using practice exams multiple times as a key part of your preparation for AI-102.

Microsoft Azure AI Engineer Associate AI-102 Logo
  • Free Microsoft Azure AI Engineer Associate AI-102 Practice Test

  • 20 Questions
  • Unlimited
  • Plan and manage an Azure AI solution
    Implement generative AI solutions
    Implement an agentic solution
    Implement computer vision solutions
    Implement natural language processing solutions
    Implement knowledge mining and information extraction solutions
Question 1 of 20

You need to translate several hundred .docx and .pptx files stored in an Azure Blob Storage container from French to German. You will call the Azure AI Translator Document Translation REST API from an Azure Function and must minimize data transferred between your function and the translation service. What should you include in the request payload to identify the documents to be translated?

  • Upload the documents to the Translator endpoint using multipart/form-data in the POST request.

  • Embed each document's binary content as a base64 string inside the JSON request body.

  • Include a SAS URL for the source blob container and a SAS URL for an empty target container.

  • Open a persistent WebSocket connection and stream every document to the service.

Question 2 of 20

You call the Azure AI Vision "analyze" endpoint with features=objects to process a photo. The service returns a JSON payload similar to the following (simplified):

{ "objects": [ { "object": "person", "confidence": 0.92, ... } ], "tags": [...], "metadata": }

Your application must raise an alert only when a person is detected with at least 0.8 probability. Which property in the response should your code evaluate?

  • objects[i].score

  • objects[i].confidence

  • categories.score

  • tags.confidence

Question 3 of 20

You administer a multiservice Azure AI resource named contoso-ai. Developers report occasional 5xx responses when calling the resource's REST endpoint, but the Azure portal Metrics chart shows no obvious pattern. You must collect per-request data (operation name, response status, subscription key) for the last 24 hours and query it in your existing Log Analytics workspace. What should you do first?

  • Create a diagnostic setting on contoso-ai that streams the RequestLogs category to the Log Analytics workspace.

  • Configure a Network Watcher connection monitor test that targets the contoso-ai endpoint.

  • Enable export of the Azure activity log for the contoso-ai resource group to the Log Analytics workspace.

  • Enable Application Insights HTTP dependency tracking in each calling application.

Question 4 of 20

You are configuring a prompt flow in Azure AI Foundry that calls the Azure OpenAI gpt-4o model to generate an ARM template snippet. The responses sometimes include explanatory sentences before the code block, which breaks downstream parsing. Which prompt change is most likely to make the model return only the template code and nothing else?

  • Raise the temperature parameter to 1.2 to make the model focus on code generation.

  • Modify the user message to read "Explain each step and then provide the ARM template."

  • Insert a system message such as "You are an assistant that returns only the requested ARM template JSON inside one markdown code block-no extra text."

  • Send the prompt as a function call message with a name like "return_template" without changing the system instructions.

Question 5 of 20

You create an Azure Video Indexer account and generate an API key. You are writing a script that calls the Get Account Access Token endpoint before uploading a video. Aside from specifying the location and account identifier in the URL, which HTTP header must the script include for the request to succeed?

  • Accept: application/json;odata=nometadata

  • x-ms-client-request-id

  • Content-Type: application/json

  • Ocp-Apim-Subscription-Key

Question 6 of 20

Your team plans to create a custom question answering project in Language Studio that will ingest PDF documents stored on-premises. You have already provisioned an Azure AI Language resource in the East US region. Before you can create the project, which additional Azure resource must exist in the same subscription and region?

  • An Azure Cognitive Search service

  • An Azure Container Registry instance

  • An Azure Storage account with hierarchical namespace enabled

  • An Azure Bot Service resource

Question 7 of 20

You are calling the Azure AI Vision Analyze Image (v3.2) REST API from a .NET application. The requirement is to (1) block images that contain adult or racy content and (2) return a list of searchable tags for approved images. The request must avoid any unnecessary processing such as text extraction, face detection, or object localization. Which combination of VisualFeatures values should you include in the request?

  • Categories and Description

  • Adult, Tags, and Objects

  • Adult and Tags

  • Tags, Faces, and Read

Question 8 of 20

You need to configure an Azure AI Search indexer that ingests data from an Azure SQL Database table every hour. During each run the indexer must transmit only rows that were added or updated after the previous crawl; unchanged rows must be ignored to reduce load on the database. Which configuration change should you make when you create the indexer?

  • Configure the indexer schedule with an interval of 1 hour and no start time.

  • Run the indexer with the reset flag set to true before each scheduled execution.

  • Enable a high-water-mark change detection policy on the indexer and map it to a LastModified column.

  • Add a dataChangeDetectionPolicy with an @odata.type of #Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy.

Question 9 of 20

You are building a multi-step conversational assistant by using Azure AI Foundry Agent Service. The agent must:

  • keep track of facts that the user gives in earlier turns so they can be reused later;
  • persist that state even if the conversation is resumed days later from a different device.

Which Azure resource must you provision and reference in the agent's configuration file to meet these requirements?

  • An Azure Cosmos DB for NoSQL account

  • An Azure Service Bus namespace to hold conversation events

  • An Azure Storage account that exposes a blob container for transcripts

  • An Azure Cache for Redis instance used as session state

Question 10 of 20

Your company needs to build a web application that turns short bullet-point briefs into full product descriptions and social-media posts. The design team wants to call a pretrained large language model through a simple REST API and rely on built-in content filtering for responsible AI. Which Azure AI Foundry service best meets these requirements?

  • Azure AI Language Service

  • Azure Machine Learning managed online endpoint

  • Azure OpenAI Service

  • Azure Cognitive Search semantic ranker

Question 11 of 20

You send a Recognize PII Entities REST request to Azure AI Language. Besides returning the array of detected entities, the response must contain a copy of the submitted text in which every PII substring is masked with asterisks. Which request property must you set so the service includes this redacted version of the text in its response?

  • Set stringIndexType to UnicodeCodePoint.

  • Set domain to "PII" in the request body.

  • Add disableServiceLogs set to true in the request header.

  • Set the redactionPolicy in the request parameters and choose a masking policy, such as characterMask.

Question 12 of 20

You deployed an Azure AI Foundry (Azure OpenAI) resource that serves a GPT-4 model to multiple internal applications. To avoid unexpected service interruptions, you must receive an alert when token usage for the resource reaches 80 percent of its configured monthly quota. Without collecting custom logs or modifying any client code, which monitoring action should you take?

  • Enable an Azure Advisor recommendation alert for the Cognitive Services category.

  • Create an Azure Monitor metric alert rule on the built-in TotalTokens metric for the Azure AI resource and set the condition to fire at 80 percent of quota.

  • Send diagnostic logs to Log Analytics and build a query-based alert that counts token usage.

  • Configure an activity-log alert that triggers when any Microsoft.CognitiveServices/accounts/write event occurs.

Question 13 of 20

You create an Azure OpenAI resource named contoso-opai in the East US region. During application development, you must configure the HTTP client so that all REST API calls are sent to the resource's default endpoint. Which base URI should you use?

Question 14 of 20

When preparing Azure AI Video Indexer to analyze new training videos, you must enable automatic identification of employees who appear on camera. The videos are stored in Azure Blob Storage and will be uploaded programmatically for indexing. Which one-time configuration must you complete in Video Indexer before uploading the first video to achieve this goal?

  • Add the company domain as an allowed origin in the Video Indexer CORS settings.

  • Configure a custom brand detection model that includes company logos and products.

  • Enable automatic speaker name generation in the Video Indexer account settings.

  • Create and train a custom person model by uploading reference images of each employee.

Question 15 of 20

You are designing a web application that processes thousands of customer product reviews in real time. The solution must automatically detect the language of each review, return a sentiment score, extract key phrases, identify named entities, and redact personally identifiable information without requiring you to train or host custom models. Which Azure service should you select?

  • Azure AI Content Safety

  • Azure OpenAI Service (GPT-3.5 Turbo)

  • Azure AI Document Intelligence

  • Azure AI Language

Question 16 of 20

An Azure OpenAI deployment named "chat-gpt-35" currently references model version gpt-35-turbo-0613 and is called by several production micro-services. A newer version (gpt-35-turbo-1106) has been released that offers lower latency. You must move all traffic to the new version with no client-side code changes and still be able to revert quickly if necessary. Which action should you take?

  • Provision a new Azure OpenAI resource in the same region with gpt-35-turbo-1106 and update DNS records to point clients to it.

  • Delete the existing deployment, then recreate it with the same name and the gpt-35-turbo-1106 model.

  • Create a second deployment that uses gpt-35-turbo-1106 and ask developers to switch to the new deployment name.

  • Edit the "chat-gpt-35" deployment and change its model version to gpt-35-turbo-1106.

Question 17 of 20

You are creating a project in Azure AI Foundry. The project must 1) expose an existing private Azure OpenAI gpt-35-turbo deployment, 2) hold a refreshable, managed vector index of the product catalog, and 3) let prompt-flow authors use both services without coding secrets. Which resources should you add?

  • Use Azure App Configuration to store both the OpenAI endpoint and the product catalog embeddings connection.

  • Add the existing Azure OpenAI resource and create a new Vector Index resource in the project.

  • Create new Azure Cosmos DB for NoSQL and store the embeddings there, then reference it from prompt flow.

  • Add the existing Azure OpenAI resource and link an Azure Key Vault that stores the vector index connection string.

Question 18 of 20

You are developing a new prompt flow in an Azure AI Foundry project. The flow must let GPT-35-Turbo answer user questions by grounding the model with several thousand PDF research papers that are stored in an Azure Storage container. According to the recommended RAG pattern in Foundry, what should you do before adding a retrieval step to the flow so that the model can be grounded in the papers?

  • Add an Azure AI Content Safety policy to the prompt flow and enable on-the-fly file parsing.

  • Configure the GPT-35-Turbo deployment with a higher temperature and a system message instructing it to cite the papers.

  • Upload the PDFs to the project's data assets and reference the asset path in the retrieval step.

  • Create a vector index in Azure AI Search that contains text chunks and their embeddings for every PDF.

Question 19 of 20

You created a Conversational Language Understanding (CLU) project in Language Studio. The project contains 15 labeled utterances for the "ScheduleAppointment" intent and 12 labeled utterances for the "CancelAppointment" intent. You accept the default 80/20 data-splitting option and train the model.

After training, you notice that precision and recall vary widely between runs and that the "CancelAppointment" intent sometimes shows 0 percent recall.

Which explanation best describes why the evaluation results are unstable?

  • Standard training mode produces random metrics; you must switch to advanced training to get deterministic results.

  • Too few labeled examples remain in the test set after the 80/20 split, so one or two misclassified utterances greatly change the precision and recall for CancelAppointment.

  • CLU uses k-fold cross-validation until the project has at least 100 utterances, causing the metrics to fluctuate.

  • Precision and recall remain zero until every utterance contains at least one labeled entity, so metrics will stabilize after entities are added.

Question 20 of 20

You are planning an Azure OpenAI-based virtual assistant. Corporate policy states that the assistant must never produce violent or sexual content, even if a user explicitly requests it, but it should continue to answer ordinary troubleshooting questions. According to Azure Responsible AI guidance, which design decision best meets this requirement?

  • Expose the model only through a private endpoint so that external users cannot call it directly.

  • Enable the Azure OpenAI content safety policy and set the Violence and Sexual categories to the block severity threshold for the deployment endpoint.

  • Route all traffic through Azure Front Door with a custom WAF rule that searches for banned keywords related to violence or sexuality.

  • Run Text Analytics for Profanity on every user prompt before sending it to the model.