🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 14 hours remaining!
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 time
  • 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 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?

  • categories.score

  • tags.confidence

  • objects[i].confidence

  • objects[i].score

Question 2 of 20

You are creating a project inside Azure AI Foundry and must give your team access to GPT-4 Turbo for prompt flow experiments. The solution should avoid distributing secret keys and rely on role-based access that Foundry can automatically enforce across the project's resources. What is the most appropriate way to provision the capability?

  • Use the Foundry model catalog to add a GPT-4 Turbo deployment to the project; Foundry will create a managed Azure OpenAI connection that is secured with Entra ID and governed by RBAC.

  • Create a separate Azure OpenAI resource in the portal and send the generated access key to the development team.

  • Deploy the GPT-4 Turbo container image to Azure Container Instances and point Foundry to the public endpoint.

  • Register the Microsoft.CognitiveServices provider and submit an access request email; the GPT-4 Turbo model will then appear automatically in the project without further action.

Question 3 of 20

You are creating a custom agent with Azure AI Foundry Agent Service to automate a multi-step workflow. The agent must (1) call an internal REST API that returns the latest product catalog and (2) later schedule a Microsoft Teams meeting. You want the LLM to decide independently when to invoke each capability during the conversation. Which configuration step enables this behavior in the agent definition?

  • Implement a Semantic Kernel planner skill that calls the endpoints and add the skill to the agent.

  • Embed the endpoint URLs and usage examples directly in the agent's system prompt.

  • Register each REST endpoint as a tool by supplying its OpenAPI definition and allow automatic tool invocation.

  • Create a knowledge retrieval task and attach the REST endpoints as external data sources.

Question 4 of 20

You are designing a Retrieval-Augmented Generation (RAG) solution in Azure AI Foundry. Your project will ground GPT-35-Turbo responses on 30 000 PDF pages stored in Azure Blob Storage. You create a data connection, enable automatic chunking, and plan to build a vector index so the prompt flow can retrieve the most relevant passages at runtime. Which Foundry resource must you create to store the embeddings so they can be queried by the prompt flow retrieval node?

  • A semantic memory collection in Azure Cosmos DB for NoSQL

  • An Azure Cache for Redis instance with the Search and Query modules enabled

  • A vector index backed by Azure AI Search

  • A feature store table in Azure Machine Learning

Question 5 of 20

Your Azure AI Foundry project uses the DALL-E 3 model through the Azure OpenAI images/generations endpoint. You want to generate the largest landscape-oriented image the model currently supports so that more detail can be added later in your application. Which value should you assign to the size property in the request body to accomplish this?

  • 1792x1024

  • 512x512

  • 2048x1024

  • 1024x1792

Question 6 of 20

An Azure AI Content Understanding pipeline must enrich PDF, PNG, MP4, and WAV files dropped into an Azure Blob Storage container, then push extracted text, speech, and video thumbnails into an Azure AI Search index. Before a single skillset can ingest all four formats, which prerequisite must you satisfy?

  • Install the Azure Cognitive Search optional Blob Storage media extension on the search service.

  • Enable the Azure Blob Storage change-feed on the container that receives the files.

  • Create and associate an Azure AI Video Indexer (ARM-based) account with a valid API key and location.

  • Deploy a custom Form Recognizer model in the same resource group as the AI Search service.

Question 7 of 20

You are generating speech using the Azure AI Speech service. The spoken output must meet three requirements:

  1. Pronounce the text "SQL" as the word "sequel".
  2. Slow the speech rate for that word.
  3. Insert a 300-millisecond pause immediately after the word. When authoring an SSML fragment to satisfy all three requirements, which set of SSML elements should you use?
  • <say-as interpret-as="spell-out">, <emphasis level="strong">, and <break strength="weak"/>

  • <sub alias="…">, <prosody rate="…">, and <break time="…"/>

  • <phoneme ph="…">, <prosody pitch="…">, and <say-as interpret-as="time">

  • <mstts:express-as style="…">, <audio src="…">, and <break strength="x-strong"/>

Question 8 of 20

You are developing an Azure Function that calls the Azure AI Vision v3.2 Analyze Image REST API on user-uploaded photos. The function must meet the following requirements:

  1. Detect whether an image contains explicit or racy content.
  2. Identify well-known brand logos that appear in the image.
  3. Produce a short, human-readable caption that describes the image. To minimize payload size, which set of visual features should you request in a single Analyze Image call?
  • Description, Objects, Color

  • Adult, Objects, Tags

  • Brands, Objects, Categories

  • Adult, Brands, Description

Question 9 of 20

You have created a retrieval-augmented generation (RAG) prompt flow in Azure AI Studio. Before deploying the flow, you run an automatic evaluation run from the Evaluate pane and enable all built-in metrics. You want to determine whether the model is hallucinating or inventing facts that are not found in the documents returned by the retriever. Which metric should you focus on, and what does a consistently low score for that metric most likely indicate?

  • Groundedness - the answer contains content that is not supported by the retrieved passages.

  • Relevance - the answer does not correspond to the intent of the user question.

  • Fluency - the answer contains spelling or grammatical mistakes.

  • Semantic similarity - the answer's wording differs from a predefined reference answer.

Question 10 of 20

You use the gpt-3.5-turbo model through Azure OpenAI to generate promotional product descriptions. The model's output frequently has an inconsistent tone that is off-brand. You need to apply a prompt engineering technique to ensure the output consistently matches your company's specific style and voice. Which change should you make?

  • Reduce the temperature to 0.2 and lower the max_tokens value.

  • Increase the presence_penalty to 1.5 to encourage the model to use new words.

  • Configure a stop sequence consisting of two newline characters to force longer responses.

  • Add a system message containing style guide instructions and an example of the desired output.

Question 11 of 20

You are developing a Node.js single-page application that uses the Azure AI Speech SDK to read dynamic text back to users. To keep bandwidth low while still using a container that is natively supported by most modern browsers, the audio must be streamed in an Ogg container with Opus compression at 16 kHz, mono. Which SpeechSynthesisOutputFormat value should you set on the SpeechConfig object to meet the requirement?

  • Ogg16Khz16BitMonoOpus

  • Raw24Khz16BitMonoPcm

  • Webm24Khz16BitMonoOpus

  • Riff16Khz16BitMonoPcm

Question 12 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.

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

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

Question 13 of 20

You need to build a Python‐based OCR pipeline that extracts text from multipage PDF files stored in Azure Blob Storage. You have provisioned an Azure AI Vision resource and will use the Read 3.2 REST API. Which implementation sequence correctly completes the pipeline?

    1. Upload the PDF to an Azure AI Document Intelligence resource.
    2. Call the prebuilt Receipt model's analyze endpoint.
    3. Read the readResults array in the synchronous response to obtain text.
    1. Send a PUT request to /vision/v3.0/ocr with the PDF content.
    2. Await the synchronous response that contains a regions array with text lines.
    1. Send a POST request to /vision/v3.2/read/analyze with the SAS URL of the PDF.
    2. Read the Operation-Location header that is returned.
    3. Repeatedly issue a GET request to the URL in Operation-Location until the status field equals "succeeded".
    4. Parse the lines field in the JSON response to obtain the extracted text.
    1. Stream every page of the PDF to /vision/v2.0/recognizeText with mode=Printed.
    2. After a fixed 30-second delay, issue a single GET call to /recognizeTextResults to retrieve text in boundingRegions.
Question 14 of 20

You send several text strings to the Azure AI Language detectLanguage REST endpoint (API version 2023-04-01). After the service returns a JSON response, you must ignore any document whose detected language confidence is below 0.7. Which response property path contains the confidence score you should evaluate?

  • documents[<index>].detectedLanguage.confidenceScore

  • documents[<index>].detectedLanguages.confidenceScore

  • documents[<index>].statistics.confidenceScore

  • documents[<index>].detectedLanguage.confidence

Question 15 of 20

You are integrating Azure AI Document Intelligence by calling the RecognizeReceipts REST API (v2.1). The solution must later render an on-screen overlay that highlights every detected word in the source JPEG image. By default, the service response only contains high-level field values. Which request modification ensures the API also returns line- and word-level OCR results with bounding boxes?

  • Append the query parameter "includeTextDetails=true" to the analyze request URL.

  • Set the request header "Content-Type" to "image/jpeg" instead of "multipart/form-data".

  • Specify model-version=2023-07-31-preview in the request header.

  • Use the prebuilt Layout model instead of the prebuilt Receipt model.

Question 16 of 20

You build a solution that calls the Computer Vision Analyze Image REST API version 3.2. For each uploaded photo you must return the following in as few requests as possible:

  • a list of objects located in the image
  • image tags
  • all printed text that appears in the image What should you do?
  • Send one Analyze Image request with visualFeatures=Description, which returns tags, objects, and text.

  • Send a single Analyze Image request with visualFeatures set to Tags,Objects,Read.

  • Send an Analyze Image request with visualFeatures=Objects,Tags, then make a separate Read API request for the text.

  • Send one request with visualFeatures=Objects,Tags and include features=Read in the same request body.

Question 17 of 20

You are designing a multi-team generative AI environment in Azure AI Foundry. All teams must be able to pull the same set of approved foundation models, but each team needs isolated experiment tracking, its own prompt flows, and separate spending limits. According to the Foundry resource hierarchy, which action should you perform first to meet the requirements?

  • Deploy an Azure OpenAI model deployment in a shared resource group.

  • Set up a dedicated Azure AI workspace with per-team cost management tags.

  • Create an Azure AI Foundry hub in the subscription.

  • Provision a separate Azure AI Foundry project for each team.

Question 18 of 20

You plan to train a custom document intelligence model by selecting the "Unlabeled" option in Azure AI Document Intelligence Studio. All training files will be stored in a single Azure Blob Storage container named training-data. To make sure the training operation succeeds, which requirement must this container satisfy before you start the training job?

  • The container must include a model_data.json manifest file that lists the relative path of every training document.

  • Every file name in the container must correspond to a row in a pre-defined schema table.

  • Each document must reside in a separate subfolder together with a JSON label file generated by Document Intelligence Studio.

  • The container must contain at least five documents that have the same layout.

Question 19 of 20

You are designing an Azure-based solution that processes incoming customer support emails. The application must automatically detect the email's language, determine sentiment, extract named entities, generate an extractive summary, and route the message by using a custom multi-label text classification model. You prefer to accomplish all these natural language processing tasks with a single Azure service that exposes REST APIs and SDKs. Which Azure service should you choose?

  • Azure AI Language

  • Azure AI Document Intelligence

  • Azure OpenAI Service

  • Azure AI Speech

Question 20 of 20

You plan to fine-tune the gpt-35-turbo model in Azure OpenAI so a customer-support bot always answers in your organization's preferred style and vocabulary. You have prepared 5 000 example conversations that demonstrate the desired tone, and low-latency response time is more important than flexible retrieval. Before you can submit a fine-tuning job from Azure AI Studio, which format must the training data satisfy?

  • A UTF-8 encoded .jsonl file where every line is a messages array of role/content pairs and the total tokens per line do not exceed 16 385.

  • Two plain-text files-one containing prompts and another containing matching completions-uploaded together as a dataset.

  • A single compressed .json file that Azure AI Studio automatically splits into batches during upload.

  • An Excel workbook with separate sheets for prompts and completions imported through Azure Data Factory.