CertSafari

    Free Microsoft Certified: Azure AI Apps and Agents Developer Associate (AI-103) Sample Questions

    35 free sample questions from our bank of 356+, covering every exam domain, with answers and detailed explanations. Updated August 2026.

    Domain 1: Plan and manage an Azure AI solution

    Subdomain 1.4: Implement responsible AI across generative AI and agentic systems

    1.Users can upload PDF documents to your generative AI chat application. You need to detect if a user has embedded malicious instructions within the text of the uploaded PDF to manipulate the AI's behavior. Which feature should you implement?

    1. A.Indirect Prompt Injection detection
    2. B.Groundedness evaluator
    3. C.Provenance metadata
    4. D.Tool-access controls
    Show answer & explanation

    Correct answer: AIndirect Prompt Injection detection

    • A. Indirect prompt injection detection is specifically designed to identify and mitigate attempts to manipulate an AI's behavior through malicious instructions hidden in external content like uploaded documents, webpages, or emails. This feature is the primary defense against the scenario where a user embeds hidden prompts within a PDF.
    • B. Groundedness evaluators assess how well the AI's responses are supported by the provided source data (answer faithfulness). While they ensure the AI isn't hallucinating facts, they do not scan for or detect malicious security instructions embedded in the source documents.
    • C. Provenance metadata tracks the origin, history, and ownership of data to support traceability and auditing. It provides context about where a file came from but does not analyze the content of the file for hidden malicious instructions.
    • D. Tool-access controls manage permissions and restrict which tools or APIs an AI agent can execute. While this can limit the damage an injection might cause by restricting capabilities, it does not detect the presence of malicious instructions within the uploaded text itself.

    Subdomain 1.4: Implement responsible AI across generative AI and agentic systems

    2.You are configuring Azure AI Content Safety for a customer-facing application. Which two features can be used to detect risks and malicious intent in user inputs?(Select 2)

    1. A.Text moderation
    2. B.Network security groups
    3. C.Prompt Shields
    4. D.Role-based access control
    5. E.Azure Firewall
    Show answer & explanation

    Correct answers: A, CText moderation; Prompt Shields

    • A. Text moderation is a core feature of Azure AI Content Safety used to detect unsafe, harmful, or policy-violating content in text inputs, including categories like hate, sexual content, violence, and self-harm.
    • B. Network security groups (NSGs) filter inbound and outbound network traffic for Azure resources at the transport layer. They do not analyze application-level user content or detect malicious intent in text prompts.
    • C. Prompt Shields is a specialized feature within Azure AI Content Safety designed to detect and mitigate adversarial attacks such as prompt injection and jailbreaks, which represent specific malicious intents in user inputs to generative AI.
    • D. Role-based access control (RBAC) manages identity and access permissions for Azure resources. It does not inspect user text for harmful content or security risks within a conversation.
    • E. Azure Firewall is a network-level security service used to monitor and filter traffic. It does not provide the natural language processing capabilities required for content moderation or prompt-injection detection.

    Subdomain 1.2: Set up AI solutions in Foundry

    3.You are configuring a model deployment in Azure AI Foundry for a healthcare application. You need to ensure that the model strictly blocks any outputs containing specific proprietary drug names that are currently in confidential trials. What should you configure?

    1. A.Jailbreak risk detection
    2. B.Custom blocklists in a content filter
    3. C.Protected material detection
    4. D.Prompt shields
    Show answer & explanation

    Correct answer: BCustom blocklists in a content filter

    • A. Jailbreak risk detection is designed to identify and mitigate attempts to bypass the model's safety guardrails or system instructions through prompt engineering. It does not provide the capability to block a specific list of proprietary names or terms in the output.
    • B. Custom blocklists are a feature of Azure AI Content Safety that allow you to define a specific set of words or phrases that should be blocked if they appear in either the prompt or the model's completion. This is the most direct and appropriate method to ensure specific proprietary drug names are not included in the model's responses.
    • C. Protected material detection (for text or code) is used to detect and block the generation of existing copyrighted content. It is a pre-configured filter for public materials and does not support custom, bespoke entries like proprietary trial drug names.
    • D. Prompt shields (including User Prompt Shields and Document Shields) are security features designed to detect and block prompt injection attacks. They focus on identifying malicious intent in inputs rather than enforcing a prohibited vocabulary list for model outputs.

    Subdomain 1.2: Set up AI solutions in Foundry

    4.You are setting up an Azure AI Foundry Hub for a government agency with strict network security requirements. The environment must have absolutely no public internet access. Which three configurations are necessary to achieve this?(Select 3)

    1. A.Disable public network access on the Azure AI Hub.
    2. B.Create a Private Endpoint for the Azure AI Hub.
    3. C.Configure Private DNS zones for the private endpoints.
    4. D.Enable Cross-Origin Resource Sharing (CORS) on the Hub.
    5. E.Open port 80 on the Network Security Group (NSG).
    6. F.Assign a public IP address to the Hub's managed compute.
    Show answer & explanation

    Correct answers: A, B, CDisable public network access on the Azure AI Hub.; Create a Private Endpoint for the Azure AI Hub.; Configure Private DNS zones for the private endpoints.

    • A. Correct. Disabling public network access is a fundamental step to block all ingress from the internet to the AI Hub resource, ensuring the service is not reachable via its public IP.
    • B. Correct. A Private Endpoint uses a private IP address from your VNet, enabling private connectivity to the Azure AI Hub via Azure Private Link and keeping traffic within the Microsoft backbone network.
    • C. Correct. Private DNS zones are essential to ensure that the Fully Qualified Domain Name (FQDN) of the AI Hub resolves to the internal Private Endpoint IP address rather than a public IP.
    • D. Incorrect. CORS is an application-level security mechanism used by browsers to manage cross-domain requests; it does not provide network isolation or disable public internet access.
    • E. Incorrect. Opening port 80 (HTTP) on an NSG is insecure and typically increases public exposure rather than restricting it for a private environment.
    • F. Incorrect. Assigning a public IP address to managed compute resources directly contradicts the requirement for no public internet access and would expose the environment to the internet.

    Subdomain 1.3: Manage, monitor, and secure AI systems

    5.You are configuring an Azure OpenAI service that needs to query an Azure AI Search index to retrieve context for user prompts. Security policies mandate the use of keyless credentials. How should you configure the authentication?

    1. A.Store the Azure AI Search admin key in Azure Key Vault and reference it in Azure OpenAI.
    2. B.Enable a system-assigned managed identity on the Azure OpenAI resource and assign it the 'Search Index Data Reader' role on the Search service.
    3. C.Generate a Shared Access Signature (SAS) token for the Search index and configure Azure OpenAI to use it.
    4. D.Enable a system-assigned managed identity on the Azure AI Search resource and assign it the 'Cognitive Services User' role on Azure OpenAI.
    Show answer & explanation

    Correct answer: BEnable a system-assigned managed identity on the Azure OpenAI resource and assign it the 'Search Index Data Reader' role on the Search service.

    • A. Incorrect. While Azure Key Vault improves secret management by centralizing storage, it still relies on a secret-based authentication model (using the key itself). This does not meet the requirement for keyless authentication (RBAC).
    • B. Correct. Enabling a system-assigned managed identity on the Azure OpenAI resource allows it to authenticate to Azure AI Search using Microsoft Entra ID. Assigning the 'Search Index Data Reader' role provides the necessary permissions to read and query index data without the need for API keys or stored secrets.
    • C. Incorrect. Shared Access Signature (SAS) tokens are credentials derived from shared secrets. They are not considered a keyless authentication mechanism and are not the recommended method for service-to-service authentication in this context.
    • D. Incorrect. This configuration is reversed. The identity must be enabled on the service initiating the request (Azure OpenAI), and the permissions must be granted on the target resource (Azure AI Search). Additionally, 'Cognitive Services User' is not a role used for querying an Azure AI Search index.

    Subdomain 1.3: Manage, monitor, and secure AI systems

    6.You have deployed a custom machine learning model to an Azure Machine Learning online endpoint. Over the past three months, the model's accuracy has degraded because the statistical properties of the live input data have changed compared to the training data. Which feature should you configure to automatically detect this issue in the future?

    1. A.Azure AI Content Safety
    2. B.Azure Machine Learning Data Drift monitor
    3. C.Azure AI Studio Groundedness evaluation
    4. D.Application Insights Profiler
    Show answer & explanation

    Correct answer: BAzure Machine Learning Data Drift monitor

    • A. Azure AI Content Safety is designed to detect and manage harmful or unsafe content (such as hate speech, violence, or sexual content) in AI-generated or user-provided text and images. It does not monitor statistical changes in input data distributions or detect model drift.
    • B. Azure Machine Learning Data Drift monitor is the specific tool designed to detect changes in the statistical properties of input data over time by comparing inference data with the original training dataset. Detecting these shifts is critical for identifying why a model's accuracy may be degrading in production.
    • C. Azure AI Studio Groundedness evaluation is used primarily for generative AI and Large Language Models (LLMs) to verify if the model's responses are supported by the source data provided. It is not intended for monitoring feature distribution changes in traditional machine learning models.
    • D. Application Insights Profiler is a performance diagnostic tool used to identify execution bottlenecks and capture traces in live applications. It tracks application responsiveness and resource usage but lacks the capability to analyze machine learning data distributions.

    Subdomain 1.3: Manage, monitor, and secure AI systems

    7.To analyze detailed telemetry about which specific content safety categories blocked a request in Azure OpenAI, you should query the __________ table in Log Analytics.

    1. A.AzureDiagnostics
    2. B.AppTraces
    3. C.AzureMetrics
    Show answer & explanation

    Correct answer: AAzureDiagnostics

    • A. Correct. When diagnostic logging is enabled for Azure OpenAI, the platform-level resource logs—specifically the 'RequestResponse' category—are stored in the AzureDiagnostics table. This table contains the 'Properties' column which holds the JSON payload for content filtering results, detailing which specific categories (such as Hate, Violence, or Sexual) were flagged or triggered a block.
    • B. Incorrect. AppTraces is a table associated with Azure Application Insights, used primarily for application-level trace data and telemetry captured via an SDK. While it can store content safety data if an application is manually instrumented to send it there, it is not the default table for the automated diagnostic logs generated by the Azure OpenAI Service.
    • C. Incorrect. The AzureMetrics table stores aggregated, numeric performance data and usage statistics, such as token counts or latency. It does not provide the granular, trace-level metadata or JSON properties required to identify specific content safety category triggers for individual requests.

    Subdomain 1.1: Choose the appropriate Foundry services for generative AI and agents

    8.You are developing a generative AI solution to answer employee questions based on internal HR policies stored in PDF manuals. Which approach is the most efficient and appropriate for this task?

    1. A.Fine-tune GPT-4 on the PDF manuals.
    2. B.Use Azure AI Search with a Retrieval-Augmented Generation (RAG) pattern.
    3. C.Use the Bing Grounding tool to search for HR policies.
    4. D.Train a custom Small Language Model (SLM) from scratch.
    Show answer & explanation

    Correct answer: BUse Azure AI Search with a Retrieval-Augmented Generation (RAG) pattern.

    • A. Fine-tuning GPT-4 on PDF manuals is computationally expensive and inefficient for knowledge retrieval. Fine-tuning is typically used to adapt a model to a specific tone, style, or task performance rather than for injecting specific factual knowledge from a document set.
    • B. Azure AI Search with a Retrieval-Augmented Generation (RAG) pattern is the standard and most efficient approach for question answering over internal document collections. It allows the system to retrieve the most relevant passages from the PDF manuals and provide them as context to the model, ensuring grounded and accurate responses with the ability to cite sources.
    • C. The Bing Grounding tool is designed for grounding responses in public web search results. Since HR policies are internal and private documents, they should be indexed securely in your own data source like Azure AI Search rather than queried through a public web tool.
    • D. Training a custom Small Language Model (SLM) from scratch is extremely resource-intensive and unnecessary. Pre-trained models combined with a RAG pattern can handle this task much more effectively without the need for the massive compute required for foundational training.

    Subdomain 1.1: Choose the appropriate Foundry services for generative AI and agents

    9.You are designing a generative AI solution that requires a single multimodal model capable of processing text, audio, and images to support an interactive agent within Azure AI Foundry. Which model should you select?

    1. A.GPT-4o
    2. B.Whisper
    3. C.Azure AI Search with vector support
    4. D.DALL-E 3
    5. E.Text-Embedding-3-small
    Show answer & explanation

    Correct answer: AGPT-4o

    • A. GPT-4o is a state-of-the-art multimodal large language model capable of processing and generating text, images, and audio. It is the primary choice for complex generative AI applications and agentic workflows that require integrated reasoning across different media types within a single model.
    • B. Whisper is a specialized automatic speech recognition (ASR) model designed for speech-to-text transcription. While it is excellent for converting audio into written text, it is not a general-purpose multimodal generative model used for building complex agents.
    • C. Azure AI Search with vector support is a retrieval and indexing service. It is used to support Retrieval-Augmented Generation (RAG) by providing grounded data to models, but it is not a generative model or an agent itself.
    • D. DALL-E 3 is a specialized model for generating high-quality images from text prompts. It is not suitable for general-purpose natural language reasoning, audio processing, or conversational agent tasks.
    • E. Text-Embedding-3-small is an embedding model that converts text into numerical vectors for similarity search and classification. It is a utility model used for retrieval and is not capable of generating natural language responses.

    Domain 2: Implement generative AI and agentic solutions

    Subdomain 2.1: Build generative applications by using Foundry

    10.A web app hosted on Azure App Service needs to connect to an Azure AI Foundry project. The company's security policy strictly forbids storing any secrets or API keys in the code repository or Key Vault. How should you authenticate the application?

    1. A.Use a connection string stored in the App Service configuration settings.
    2. B.Use a System-Assigned Managed Identity and assign appropriate RBAC roles.
    3. C.Use an API key stored as an environment variable in the Dockerfile.
    4. D.Use a Shared Access Signature (SAS) token with a short expiration time.
    Show answer & explanation

    Correct answer: BUse a System-Assigned Managed Identity and assign appropriate RBAC roles.

    • A. Incorrect. A connection string is a secret that would need to be stored in configuration settings. This violates the security policy of not storing secrets and is not the most secure modern authentication method compared to managed identity.
    • B. Correct. A system-assigned managed identity allows the Azure App Service to authenticate to Azure AI Foundry using Microsoft Entra ID. This eliminates the need to store any credentials, secrets, or keys in the code, configuration, or Key Vault. Access is governed via Role-Based Access Control (RBAC) roles assigned directly to the identity.
    • C. Incorrect. Storing an API key in a Dockerfile as an environment variable embeds a static secret into the application artifact or container image, which is insecure and explicitly forbidden by the company policy.
    • D. Incorrect. A Shared Access Signature (SAS) token is a signed credential that must be generated, distributed, and refreshed. It still functions as a secret, which violates the requirement to avoid storing secrets or API keys altogether.

    Subdomain 2.1: Build generative applications by using Foundry

    11.You are evaluating a text summarization application. You need to measure if the generated summary is easy to read grammatically and if it logically flows from one sentence to the next. Which two metrics should you select?(Select 2)

    1. A.Fluency
    2. B.Coherence
    3. C.Groundedness
    4. D.F1 Score
    5. E.Exact Match
    Show answer & explanation

    Correct answers: A, BFluency; Coherence

    • A. Fluency evaluates whether the generated text is grammatically correct, natural, and easy to read. It specifically addresses the requirement to measure grammatical ease.
    • B. Coherence measures how logically the summary flows from one sentence to the next and whether the overall content is internally consistent and well-structured.
    • C. Groundedness measures whether the generated summary is supported by the source content (factuality). It does not assess the readability, grammar, or logical flow of the text.
    • D. F1 Score is a statistical metric used to evaluate token overlap between a reference and generated text. It is not designed to measure stylistic qualities like grammatical correctness or logical flow.
    • E. Exact Match is a strict metric that checks if the generated output is identical to a reference string. It is not an appropriate tool for evaluating the nuances of grammar or the logical connection between sentences.

    Subdomain 2.1: Build generative applications by using Foundry

    12.In Azure AI Foundry evaluations, the 'Groundedness' metric measures how well the model's generated answers align with information from the provided input source.

    1. A.True
    2. B.False
    Show answer & explanation

    Correct answer: ATrue

    • A. The statement is true because the Groundedness metric specifically assesses whether the model's response is supported by the provided source context, ensuring that the answer remains factually aligned with the input and avoids generating hallucinated or unsupported claims.
    • B. The statement is false because Groundedness is precisely the metric used to evaluate the alignment between the generated output and the source information, rather than general answer quality, style, or fluency.

    Subdomain 2.3: Optimize and operationalize generative AI systems

    13.You are tuning the generation behavior of an Azure OpenAI model. You want the model to only consider the tokens comprising the top 50% of the probability mass when generating the next word. Which parameter should you adjust?

    1. A.Set Temperature to 0.5
    2. B.Set Top-p to 0.5
    3. C.Set Frequency penalty to 0.5
    4. D.Set Presence penalty to 0.5
    Show answer & explanation

    Correct answer: BSet Top-p to 0.5

    • A. Incorrect. Temperature controls the randomness or determinism of the output by scaling the logits before the softmax layer. While a lower temperature makes the output more focused on high-probability tokens, it does not explicitly limit the selection to a specific cumulative probability threshold like Top-p does.
    • B. Correct. Top-p (also known as nucleus sampling) restricts the model to only consider tokens whose cumulative probability mass adds up to the specified threshold. Setting Top-p to 0.5 ensures that only the smallest set of tokens comprising the top 50% of the probability mass are considered for the next word generation.
    • C. Incorrect. The Frequency penalty reduces the likelihood of repeating the same word or phrase based on its current frequency in the generated text. It is used to reduce verbatim repetition but does not control the probability mass threshold for token selection.
    • D. Incorrect. The Presence penalty penalizes tokens based on whether they have appeared in the text at all, which encourages the model to introduce new topics or vocabulary. It does not control the cumulative probability mass filter for initial token selection.

    Subdomain 2.3: Optimize and operationalize generative AI systems

    14.When analyzing latency breakdowns for a streaming generative AI application, which metric specifically measures the average time it takes for the model to generate each subsequent token after the first one?

    1. A.Time to First Token (TTFT)
    2. B.Time Between Tokens (TBT)
    3. C.Total Generation Time
    4. D.Round Trip Time (RTT)
    Show answer & explanation

    Correct answer: BTime Between Tokens (TBT)

    • A. Time to First Token (TTFT) measures the latency from the moment a user sends a request until the model produces the very first output token. It highlights initial responsiveness and system prompt processing but does not track the generation speed of subsequent tokens.
    • B. Time Between Tokens (TBT) specifically measures the average time elapsed between generating consecutive tokens following the first token. This metric is essential for evaluating the perceived smoothness and throughput of a streaming response for the end user.
    • C. Total Generation Time represents the cumulative duration from the start of the request until the final token is generated. It includes TTFT and the time for all subsequent tokens, making it a measure of the overall request lifecycle rather than the specific speed between tokens.
    • D. Round Trip Time (RTT) is a network-level metric that measures the total time taken for a request to travel from the client to the server and for the response to return. It focuses on network latency rather than the model's internal token generation performance.

    Subdomain 2.3: Optimize and operationalize generative AI systems

    15.Which two tools/standards are natively supported for setting up tracing and observability in Azure AI Studio?(Select 2)

    1. A.OpenTelemetry
    2. B.Azure Application Insights
    3. C.AWS CloudWatch
    4. D.Google Cloud Operations Suite
    5. E.Apache Kafka
    Show answer & explanation

    Correct answers: A, BOpenTelemetry; Azure Application Insights

    • A. OpenTelemetry is a widely supported open-source standard for generating, collecting, and exporting telemetry data (traces, metrics, and logs). Azure AI Studio natively supports OpenTelemetry for distributed tracing, allowing developers to monitor and debug complex AI application flows and prompt execution.
    • B. Azure Application Insights is an extension of Azure Monitor that provides application performance management (APM) and observability. It is the primary native Azure tool for collecting, storing, and analyzing telemetry and logs generated by Azure AI Studio and Prompt flow.
    • C. AWS CloudWatch is a monitoring and observability service specific to Amazon Web Services. It is not a natively supported integration for Azure AI Studio's observability framework.
    • D. Google Cloud Operations Suite is the monitoring and logging solution for Google Cloud Platform. It is not natively supported in Azure AI Studio, which focuses on Azure-native and industry-standard integrations like OpenTelemetry.
    • E. Apache Kafka is a distributed event streaming platform used for building real-time data pipelines. While it can transport data, it is not a tracing standard or an observability tool natively used by Azure AI Studio for system monitoring.

    Subdomain 2.2: Build agents by using Foundry

    16.Scenario: You have deployed an agentic solution to production. You need to monitor the latency of the external API calls made by the agent's custom functions and set up alerts if the latency exceeds 2 seconds. Which service should you integrate for this monitoring requirement?

    1. A.Azure AI Content Safety
    2. B.Azure Monitor Application Insights
    3. C.Azure Cost Management
    4. D.Azure Policy
    Show answer & explanation

    Correct answer: BAzure Monitor Application Insights

    • A. Incorrect. Azure AI Content Safety is used for detecting and filtering harmful or unsafe content within AI applications. It does not provide the telemetry or performance monitoring capabilities required to track API latency or trigger operational alerts.
    • B. Correct. Azure Monitor Application Insights is an Application Performance Management (APM) service designed to collect telemetry such as request duration, dependency latency (including external API calls), and custom events. It allows you to configure alerts when specific performance thresholds, such as a 2-second latency, are exceeded.
    • C. Incorrect. Azure Cost Management is dedicated to analyzing, tracking, and optimizing cloud spending and budgets. It cannot monitor runtime application performance metrics like API latency.
    • D. Incorrect. Azure Policy is a governance and compliance tool used to enforce organizational standards across Azure resources (e.g., ensuring resources are in specific regions). It is not designed for monitoring runtime telemetry or alerting on application performance.

    Subdomain 2.2: Build agents by using Foundry

    17.Scenario: You are building an autonomous agent that manages cloud infrastructure. It can read logs and restart virtual machines. You want to ensure it never restarts a production database VM. Which two flow controls or safeguards should you implement?(Select 2)

    1. A.Hardcode a rule in the custom function's backend API to reject restart requests for production database VMs.
    2. B.Add explicit instructions in the system prompt to never restart production database VMs.
    3. C.Use Azure AI Content Safety to filter out the word 'database'.
    4. D.Disable the function calling feature entirely.
    5. E.Set the model's top_p parameter to 0.1.
    Show answer & explanation

    Correct answers: A, BHardcode a rule in the custom function's backend API to reject restart requests for production database VMs.; Add explicit instructions in the system prompt to never restart production database VMs.

    • A. Enforcing safety-critical rules in the backend API is the most reliable safeguard. It ensures that even if the model attempts to call the function for a protected asset, the integration layer explicitly rejects the action. This 'server-side' validation is a core requirement for secure agentic systems.
    • B. Adding explicit instructions in the system prompt serves as the primary steering mechanism for the agent's reasoning. It defines the constraints and behavioral boundaries the model should follow during planning. While prompts are not foolproof on their own, they are a necessary layer of guidance.
    • C. Azure AI Content Safety is designed to detect and mitigate harmful content like hate speech, violence, or self-harm. It is not a tool for infrastructure policy enforcement or logic-based filtering of specific technical terms like 'database'.
    • D. Disabling function calling would prevent the agent from performing any actions at all, including the necessary log reading and VM restarts it is intended to do. This is an overly restrictive measure that breaks the agent's core functionality.
    • E. The top_p (nucleus sampling) parameter controls the diversity and randomness of the model's output. While a lower value makes the model more deterministic, it does not provide any logical or security-based safeguard against specific unauthorized tool calls.

    Subdomain 2.2: Build agents by using Foundry

    18.Scenario: You are defining a custom tool for your agent to query a product catalog. Statement: To ensure the LLM understands the required parameters, you must define the tool's schema using ________.

    1. A.XML
    2. B.JSON Schema
    3. C.YAML
    Show answer & explanation

    Correct answer: BJSON Schema

    • A. Incorrect. XML is a markup language used for data storage and transmission, but it is not the standard format for defining function parameters or tool schemas in modern LLM integrations like Azure AI Foundry. It lacks the specific typing validation support typically expected by model inference engines for tool calling.
    • B. Correct. JSON Schema is the industry-standard format for defining the structure, data types, and required fields of tool parameters. In Azure AI Foundry and OpenAI-compatible agent frameworks, this schema allows the LLM to understand how to correctly format arguments when calling a custom tool.
    • C. Incorrect. While YAML is frequently used for configuration files and serializing data, the formal specification for defining the actual parameter types and constraints in tool contracts for agentic workflows is JSON Schema.

    Domain 3: Implement computer vision solutions

    Subdomain 3.3: Implement responsible AI for multimodal content

    19.Scenario: Your company has a strict visual policy that prohibits the display of a specific competitor's logo in any user-generated content. You need to flag images containing this specific prohibited symbol, which is not caught by standard safety filters. What is the most appropriate way to enforce this visual policy rule?

    1. A.Train an Azure Custom Vision object detection model on the prohibited symbol.
    2. B.Use the Azure AI Content Safety Hate category.
    3. C.Enable Prompt Shields for images.
    4. D.Use Azure AI Vision OCR to read the logo.
    Show answer & explanation

    Correct answer: ATrain an Azure Custom Vision object detection model on the prohibited symbol.

    • A. Correct. Training an Azure Custom Vision object detection model is the most effective way to identify specific visual patterns or symbols, such as a unique logo, that are not included in standard pre-trained safety categories. This approach allows for tailored fine-tuning to recognize the specific visual elements of the logo that generic models might miss.
    • B. Incorrect. The Azure AI Content Safety Hate category is designed to detect hateful or offensive symbols and speech associated with hate groups. It is not intended to recognize commercial brand logos or specific proprietary visual symbols.
    • C. Incorrect. Prompt Shields for images are intended to protect generative AI models from prompt injection attacks or malicious instructions in multimodal inputs. They do not provide the functionality to detect specific visual brand assets or custom symbols for policy enforcement.
    • D. Incorrect. Azure AI Vision OCR (Optical Character Recognition) is used to extract text from images. While it might read text contained within a logo, it cannot identify the logo as a visual symbol or graphic, making it an unreliable tool for enforcing a strictly visual brand policy.

    Subdomain 3.3: Implement responsible AI for multimodal content

    20.Scenario: You are generating images using Azure OpenAI DALL-E 3. To uphold brand usage requirements and visual policy rules, you must ensure that all generated images can be cryptographically identified as AI-generated by external platforms. Which feature should you utilize?

    1. A.Apply a visible text overlay using Azure AI Vision.
    2. B.Enable Content Credentials (C2PA) provenance watermarking.
    3. C.Use Prompt Shields to inject a watermark prompt.
    4. D.Configure Azure AI Content Safety to append a digital signature.
    Show answer & explanation

    Correct answer: BEnable Content Credentials (C2PA) provenance watermarking.

    • A. Incorrect. Applying a visible text overlay is not a cryptographic method and can be easily removed or altered. Azure AI Vision is primarily used for image analysis and processing, not for embedding verifiable provenance metadata.
    • B. Correct. Content Credentials based on the C2PA (Coalition for Content Provenance and Authenticity) standard provide a cryptographic way to sign images. This allows external platforms to verify the origin and provenance of the image, identifying it as AI-generated.
    • C. Incorrect. Prompt Shields are a security feature within Azure AI meant to protect against prompt injection and jailbreak attacks. They do not provide cryptographic watermarking or identity verification for generated images.
    • D. Incorrect. Azure AI Content Safety is used for content moderation (detecting harmful content like hate speech or violence). It does not append digital signatures for provenance or cryptographic identification of AI-generated assets.

    Subdomain 3.3: Implement responsible AI for multimodal content

    21.Scenario: When enforcing visual policy rules, you can use the Azure AI Vision ________ feature to extract embedded text from an image before analyzing it against a custom text blocklist.

    1. A.Read API (OCR)
    2. B.Face API
    3. C.Spatial Analysis
    Show answer & explanation

    Correct answer: ARead API (OCR)

    • A. The Azure AI Vision Read API (OCR) is the standard tool for extracting both printed and handwritten text from images and documents. In a multimodal moderation workflow, this feature is essential for identifying embedded text that needs to be checked against a custom blocklist or content safety policy.
    • B. The Face API is specifically designed for facial detection, recognition, and analysis of human attributes. It lacks the Optical Character Recognition (OCR) capabilities required to extract text from an image.
    • C. Spatial Analysis is used to analyze real-time video streams to monitor the movement and presence of people in physical locations (such as counting people or measuring social distancing). It is not designed for document or image text extraction.

    Subdomain 3.1: Design and implement image- and video-generation solutions

    22.When using prompt-driven image editing APIs where no explicit mask is provided, how does the model determine which parts of the image to alter?

    1. A.It requires a secondary API call to generate a mask first.
    2. B.It relies on the semantic understanding of the text prompt to identify and modify the relevant regions of the source image.
    3. C.It applies a uniform filter over the entire image regardless of the prompt.
    4. D.It only modifies the center 50% of the image by default.
    Show answer & explanation

    Correct answer: BIt relies on the semantic understanding of the text prompt to identify and modify the relevant regions of the source image.

    • A. Incorrect. Prompt-driven image editing APIs are designed to interpret text instructions directly. They do not typically require a secondary API call to generate a mask first, as the model handles region identification and image manipulation within the same inference process.
    • B. Correct. Modern generative AI models use semantic understanding to align the text prompt with specific features in the source image. By mapping the linguistic context to the visual data (often through mechanisms like cross-attention), the model identifies which regions are relevant to the edit and modifies them while attempting to preserve the rest of the image.
    • C. Incorrect. These APIs aim for targeted, prompt-guided edits rather than applying a global, uniform filter. The goal is localized modification based on the prompt's intent rather than a universal transformation across all pixels.
    • D. Incorrect. There is no fixed spatial heuristic, such as modifying only the center 50% of the image. The edit area is determined dynamically based on the model's interpretation of the text prompt and the visual content of the source image.

    Subdomain 3.1: Design and implement image- and video-generation solutions

    23.When you submit a short text prompt to the Azure OpenAI DALL-E 3 API, the model automatically expands and enriches the prompt to generate a better image. If you want to see the exact text that was used to generate the final image, you should inspect the ________ field in the API response.

    1. A.`revised_prompt`
    2. B.`content_filter_results`
    3. C.`system_fingerprint`
    Show answer & explanation

    Correct answer: A`revised_prompt`

    • A. The `revised_prompt` field in the Azure OpenAI DALL-E 3 API response contains the expanded and enriched version of the original user prompt. DALL-E 3 automatically rewrites prompts to provide more descriptive detail for higher-quality image generation; this field allows users to see exactly what the model processed.
    • B. The `content_filter_results` field contains metadata regarding safety and content moderation. It indicates whether the input or output triggered filters for categories such as violence or hate speech, but it does not store the modified prompt text.
    • C. The `system_fingerprint` field identifies the specific backend configuration or version of the model serving the request. It is primarily used for tracking reproducibility and configuration changes, not for viewing prompt modifications.

    Subdomain 3.2: Design and implement multimodal understanding workflows

    24.A retail company needs to generate extended image descriptions for complex product charts to meet WCAG accessibility guidelines. They require a solution that can reason over the chart data and provide a detailed, multi-paragraph explanation. Which Azure AI service is most appropriate for this scenario?

    1. A.Azure AI Vision Image Analysis 4.0 with features=caption
    2. B.Azure OpenAI GPT-4o
    3. C.Azure Custom Vision Object Detection
    4. D.Azure Content Understanding single-task pipeline
    Show answer & explanation

    Correct answer: BAzure OpenAI GPT-4o

    • A. Incorrect. Azure AI Vision Image Analysis 4.0 with the caption feature is designed for generating short, concise captions (typically a single sentence). It does not provide the deep reasoning or the ability to generate the multi-paragraph, detailed descriptions required for complex charts.
    • B. Correct. Azure OpenAI GPT-4o is a multimodal large language model (LLM) that can process images and reason over complex data like charts. It is capable of generating detailed, context-aware, multi-paragraph narratives, making it the most suitable service for meeting advanced WCAG accessibility requirements for complex visual data.
    • C. Incorrect. Azure Custom Vision Object Detection is used to train models to identify and locate specific objects within images. It lacks the natural language generation and semantic reasoning capabilities needed to explain data trends or produce descriptive text.
    • D. Incorrect. Azure Content Understanding pipelines are primarily focused on extracting structured metadata and information from content. While useful for data extraction, they are not optimized for generating extended human-readable narratives and reasoning over chart content in the way a multimodal LLM like GPT-4o is.

    Subdomain 3.2: Design and implement multimodal understanding workflows

    25.You are implementing visual understanding by configuring Azure Content Understanding in Foundry Tools. You need to extract visual characteristics from a complex document that includes both text and embedded charts. Which two features are supported by the pro-mode pipeline for this scenario?(Select 2)

    1. A.Defining a custom schema to extract specific data points from the charts.
    2. B.Automatically generating a 3D model of the document.
    3. C.Combining OCR text extraction with visual object detection in a single workflow.
    4. D.Translating the extracted text into 50 languages simultaneously without additional API calls.
    5. E.Real-time video streaming analysis.
    Show answer & explanation

    Correct answers: A, CDefining a custom schema to extract specific data points from the charts.; Combining OCR text extraction with visual object detection in a single workflow.

    • A. Correct. Pro-mode in Azure Content Understanding supports custom schema design, allowing you to define exactly which fields or data points to extract from complex content such as charts and tables, ensuring structured output tailored to specific document types.
    • B. Incorrect. Azure Content Understanding is designed to analyze and extract structured information from documents and images; it does not possess the functionality to generate 3D models.
    • C. Correct. The pro-mode pipeline is specifically designed for multimodal understanding, which integrates OCR-based text extraction with visual analysis (such as object detection or layout analysis) in a single workflow. This is ideal for documents containing both text and embedded charts.
    • D. Incorrect. Azure Content Understanding does not offer built-in simultaneous translation into 50 languages. Translation is a separate capability handled by the Azure AI Translator service and would require additional API calls.
    • E. Incorrect. While Azure offers video analysis services, the pro-mode pipeline in Content Understanding for documents is focused on processing static images or document files rather than real-time video streaming analysis.

    Domain 4: Implement text analysis solutions

    Subdomain 4.2: Implement speech solutions

    26.Your customer support agent struggles to accurately transcribe audio from users with heavy regional accents who are speaking about specific, proprietary product names. You decide to train a Custom Speech model. Which two types of datasets should you upload to address both issues?(Select 2)

    1. A.Plain text sentences containing the proprietary product names.
    2. B.Audio files with matching human-labeled transcripts of users speaking with the regional accents.
    3. C.Viseme datasets mapping phonemes to facial expressions.
    4. D.SSML files with pronunciation tags.
    5. E.Verbal consent audio files from the users.
    Show answer & explanation

    Correct answers: A, BPlain text sentences containing the proprietary product names.; Audio files with matching human-labeled transcripts of users speaking with the regional accents.

    • A. Correct. Plain text sentences (Related Text) that include proprietary product names help the Custom Speech service learn domain-specific vocabulary and improve recognition of terms that are not part of the standard language model.
    • B. Correct. Audio files paired with human-labeled transcripts are essential for acoustic adaptation. This training data helps the model learn the specific acoustic patterns and phonetic variations associated with heavy regional accents.
    • C. Incorrect. Viseme datasets map phonemes to facial expressions for lip-syncing and speech animation; they do not improve audio transcription accuracy or recognize product names.
    • D. Incorrect. Speech Synthesis Markup Language (SSML) files are used to control how text is converted to speech (TTS). They are not used for training Custom Speech-to-Text (STT) recognition models.
    • E. Incorrect. While verbal consent may be a legal requirement for data collection, these files do not provide the aligned transcript or domain vocabulary necessary to improve the model's transcription accuracy.

    Subdomain 4.2: Implement speech solutions

    27.You are integrating speech modalities into a text-based Semantic Kernel agent. The agent must be able to listen to user queries and speak its responses aloud. Which two actions should you take to enable this bidirectional speech capability?(Select 2)

    1. A.Add a Speech-to-Text plugin/service to convert user audio to text before the kernel processes the prompt.
    2. B.Add a Text-to-Speech plugin/service to convert the kernel's text response into audio.
    3. C.Replace the underlying LLM with a Custom Speech acoustic model.
    4. D.Use Keyword Recognition to generate the agent's text responses.
    5. E.Use Visemes to translate the agent's responses into other languages.
    Show answer & explanation

    Correct answers: A, BAdd a Speech-to-Text plugin/service to convert user audio to text before the kernel processes the prompt.; Add a Text-to-Speech plugin/service to convert the kernel's text response into audio.

    • A. Correct. Speech-to-Text (STT) is required to transcribe the user's spoken audio into text so that the Semantic Kernel can process it as a text-based prompt. This enables the agent to 'listen' to queries.
    • B. Correct. Text-to-Speech (TTS) is necessary to convert the agent's generated text output back into synthesized audio. This allows the agent to 'speak' its responses to the user, completing the bidirectional flow.
    • C. Incorrect. A Custom Speech acoustic model is used to improve recognition accuracy for specific environments or accents; it does not replace the Large Language Model (LLM) which is responsible for reasoning and text generation.
    • D. Incorrect. Keyword Recognition is used for wake-word detection (e.g., 'Hey Siri') to trigger an action, but it is not used to generate conversational text responses.
    • E. Incorrect. Visemes are visual representations of mouth and facial positions used for lip-syncing animations (avatars). They do not provide language translation or speech-to-text functionality.

    Subdomain 4.2: Implement speech solutions

    28.You are building an agent that needs to understand the emotional tone of a user's voice (e.g., detecting if the user is crying or shouting). You decide to use Azure OpenAI Whisper to transcribe the audio to text, and then send the text to GPT-4 for analysis. Statement: This approach preserves the acoustic emotional nuances of the original audio for the LLM to analyze.

    1. A.True
    2. B.False
    Show answer & explanation

    Correct answer: BFalse

    • A. The statement is false because transcribing audio to text using a model like Whisper transforms acoustic signals into alphanumeric characters, which does not encode paralinguistic features such as pitch, volume, or non-verbal sounds. While the resulting text may convey semantic sentiment, the raw acoustic emotional nuances are lost during the transcription process.
    • B. The statement is false because the transcription process strips away the audio characteristics that convey emotion through voice. Since GPT-4 only receives the linguistic content as a text string, it has no access to the original audio waveform's prosody, meaning it cannot directly analyze nuances like the sound of shouting or crying.

    Subdomain 4.1: Apply language model text analysis

    29.You are developing a solution to classify the tone of customer service chat transcripts. Which prompting technique is most effective for accurately detecting a nuanced tone such as passive-aggression?

    1. A.Zero-shot prompting with a detailed system message.
    2. B.Few-shot prompting providing examples of passive-aggressive transcripts and their labels.
    3. C.Chain-of-thought prompting asking the model to translate the text first.
    4. D.Map-reduce prompting to summarize the transcript before tone detection.
    Show answer & explanation

    Correct answer: BFew-shot prompting providing examples of passive-aggressive transcripts and their labels.

    • A. Zero-shot prompting relies on the model's pre-existing knowledge without specific context. While a detailed system message helps define the task, detecting nuanced linguistic styles like passive-aggression often requires specific patterns that zero-shot might miss compared to provided examples.
    • B. Few-shot prompting (providing labeled examples) is the most effective method for complex sentiment or tone analysis. By providing specific examples of passive-aggressive language, the model learns the subtle linguistic markers and contextual cues required for accurate classification.
    • C. Chain-of-thought prompting is designed for tasks requiring logical reasoning or multi-step processing. Asking the model to translate the text first does not assist in identifying emotional subtext and may even lose the nuances of the original language's tone.
    • D. Map-reduce prompting is typically used for summarizing long documents that exceed token limits. Summarizing a transcript before tone detection is counterproductive, as the subtle phrasing and indirect cues necessary to identify passive-aggression are often stripped away during the summarization process.

    Subdomain 4.1: Apply language model text analysis

    30.You are building a prompt flow in Azure AI Studio to extract specific product codes from customer support tickets. You observe that the Large Language Model (LLM) node occasionally fails to extract some codes or provides inconsistent results. Which action should you take to ensure the most reliable extraction of the codes?

    1. A.Increase the temperature of the LLM node to encourage more creative extraction
    2. B.Add a Python tool node that uses regular expressions to extract the codes directly from the text
    3. C.Enable the Jailbreak detection feature to prevent the LLM from ignoring the prompt
    4. D.Use the Azure AI Translator tool to normalize the text before extraction
    Show answer & explanation

    Correct answer: BAdd a Python tool node that uses regular expressions to extract the codes directly from the text

    • A. Incorrect. Increasing the temperature makes the model's output more random and creative. For structured extraction tasks, deterministic behavior is required, and a temperature of 0 is typically preferred. Increasing it would likely decrease consistency and reliability.
    • B. Correct. Using a Python tool node with regular expressions (regex) allows for the reliable extraction of fixed patterns like codes or IDs. This programmatic approach is deterministic and avoids the probabilistic inconsistencies or hallucinations that can occur when using an LLM for exact pattern matching.
    • C. Incorrect. Jailbreak detection is a security feature within Azure AI Content Safety designed to identify malicious prompt injection attacks. It does not improve the data extraction capabilities or logic of the model.
    • D. Incorrect. Azure AI Translator is designed for translating text between different languages. It is not intended for data normalization or pattern extraction and would not resolve the issue of missing or inconsistent code extraction.

    Subdomain 4.1: Apply language model text analysis

    31.You are using the Azure OpenAI Service's Chat Completions API to extract structured data from unstructured text. You need to enforce a specific JSON schema in the model's response to ensure consistent, machine-readable output. Which approach is the most reliable?

    1. A.Set the `response_format` parameter to `{ 'type': 'json_object' }` and describe the desired JSON schema in the user prompt.
    2. B.Use the `tools` parameter to define a function with a JSON schema for its arguments, and set `tool_choice` to require the model to call that function.
    3. C.Use a pre-built feature of Azure AI Language, such as Named Entity Recognition.
    4. D.Add a post-processing step after the API call to parse the model's text response using regular expressions.
    Show answer & explanation

    Correct answer: BUse the `tools` parameter to define a function with a JSON schema for its arguments, and set `tool_choice` to require the model to call that function.

    • A. Incorrect. While setting `response_format` to `json_object` ensures the output is a syntactically valid JSON, it does not enforce a specific schema. The model will attempt to follow the schema described in the prompt, but this is not guaranteed, making this method less reliable for ensuring consistent structure.
    • B. Correct. This is the most robust method for enforcing a specific JSON schema. By defining a tool (or function) with parameters described by a JSON schema and forcing the model to use it via `tool_choice`, you compel the model to generate a JSON object that strictly adheres to that schema. This is the recommended approach for reliable structured data extraction, as mentioned in best practices for using Azure OpenAI.
    • C. Incorrect. While Azure AI Language services are effective for specific extraction tasks, the question is about configuring the Azure OpenAI Chat Completions API for a custom task. This option proposes using a different, more specialized service rather than configuring the generative model itself.
    • D. Incorrect. This approach does not configure the model's output; it attempts to structure the data after generation. Relying on regular expressions to parse natural language output from a large language model is brittle and prone to errors if the model's phrasing or format changes slightly.

    Domain 5: Implement information extraction solutions

    Subdomain 5.1: Build retrieval and grounding pipelines

    32.Scenario: You are connecting a retrieval pipeline to an agentic workflow using Semantic Kernel. The agent needs to retrieve documents from Azure AI Search and use them to answer user questions. Which two components are necessary to implement this integration in Semantic Kernel?(Select 2)

    1. A.A memory connector for Azure AI Search
    2. B.A text completion or chat completion model
    3. C.An Azure Logic App trigger
    4. D.A Custom Web API skill
    5. E.An Azure Machine Learning compute instance
    Show answer & explanation

    Correct answers: A, BA memory connector for Azure AI Search; A text completion or chat completion model

    • A. Correct. A memory connector (or vector store connector) for Azure AI Search is necessary to integrate search-backed retrieval into Semantic Kernel. This component allows the kernel to interface with the search index to fetch relevant documents or chunks required for grounding.
    • B. Correct. A text completion or chat completion model (LLM) is required to process the retrieved context and generate a natural language response. In Semantic Kernel, the model acts as the reasoning engine that consumes the grounded data to answer the user's question.
    • C. Incorrect. An Azure Logic App trigger is used for external workflow automation and is not a core component required for integrating Azure AI Search retrieval within a Semantic Kernel agentic workflow.
    • D. Incorrect. While a Custom Web API skill can extend an agent's functionality, it is not an essential component for the specific task of connecting Azure AI Search to Semantic Kernel for document retrieval and question answering.
    • E. Incorrect. An Azure Machine Learning compute instance is typically used for training models or hosting managed endpoints; it is not a required orchestration component for a Semantic Kernel retrieval pipeline.

    Subdomain 5.1: Build retrieval and grounding pipelines

    33.Scenario: You want to automate a RAG ingestion flow where new PDFs uploaded to Azure Blob Storage are automatically cracked, chunked, vectorized, and indexed into Azure AI Search without writing custom code for the orchestration. Which three Azure AI Search resources must you configure?(Select 3)

    1. A.An Indexer
    2. B.A Data Source
    3. C.A Skillset with an AzureOpenAIEmbedding skill
    4. D.A Semantic Ranker
    5. E.A Synonym Map
    6. F.An Azure Function
    Show answer & explanation

    Correct answers: A, B, CAn Indexer; A Data Source; A Skillset with an AzureOpenAIEmbedding skill

    • A. An Indexer is the central orchestration engine in Azure AI Search. It automates the ingestion process by pulling data from the source, running the enrichment skillset, and writing the final results into the search index.
    • B. A Data Source provides the connection details to the Azure Blob Storage container. It allows the indexer to monitor the container for new or updated PDFs to begin the ingestion process.
    • C. A Skillset defines the processing pipeline. To handle RAG ingestion without custom code, you use built-in skills like the Split skill (for chunking) and the AzureOpenAIEmbedding skill (for vectorization) to transform the raw PDF content into searchable vectors.
    • D. The Semantic Ranker is a feature used during the search/retrieval phase to improve result relevance using language models. It is not used during the data ingestion or indexing phase.
    • E. Synonym maps are used to expand queries with equivalent terms at search time. They do not contribute to the automated cracking, chunking, or vectorization of source documents.
    • F. While Azure Functions can be used as custom skills, the scenario specifically asks for a solution that does not require writing custom code for orchestration. Azure AI Search's native indexer and skillset features provide this functionality out-of-the-box.

    Subdomain 5.2: Extract content from documents

    34.When using Azure AI Document Intelligence to generate markdown output for a RAG pipeline, the bounding box coordinates for every extracted word are automatically embedded inline within the generated markdown text.

    1. A.True
    2. B.False
    Show answer & explanation

    Correct answer: BFalse

    • A. The statement is false because the markdown output feature in Azure AI Document Intelligence is designed to enhance document readability and structure (such as headings and tables) for LLMs; embedding per-word geometry or bounding box coordinates inline would clutter the text and significantly increase token consumption.
    • B. The statement is true because Azure AI Document Intelligence maintains a clear separation between content and metadata; while spatial data and bounding box coordinates are available in the structured JSON response payload under the pages and words collections, they are not automatically inserted into the markdown string.

    Subdomain 5.2: Extract content from documents

    35.You need to extract specific fields (e.g., 'Patient Name', 'Diagnosis', 'Medications') from highly unstructured clinical notes. The output must strictly adhere to a predefined JSON schema for insertion into a downstream database. Which two Azure AI services should you combine to build this analyzer?(Select 2)

    1. A.Azure AI Document Intelligence Read API to extract the raw text.
    2. B.Azure AI Document Intelligence Prebuilt Invoice model.
    3. C.Azure OpenAI Service using Structured Outputs to map the text to the JSON schema.
    4. D.Azure AI Vision Image Analysis to detect medical objects.
    5. E.Azure AI Search to index the raw images.
    Show answer & explanation

    Correct answers: A, CAzure AI Document Intelligence Read API to extract the raw text.; Azure OpenAI Service using Structured Outputs to map the text to the JSON schema.

    • A. Correct. The Azure AI Document Intelligence Read API is the standard tool for OCR, used to extract raw text and layout information from scanned or digital clinical notes. This serves as the necessary first step in providing the text content to a secondary processing layer.
    • B. Incorrect. The Prebuilt Invoice model is specifically trained for financial documents with set fields like vendor name and total amount. It is not designed to handle the variable and domain-specific terminology found in unstructured clinical notes.
    • C. Correct. Azure OpenAI Service with Structured Outputs (or JSON mode) is the ideal tool for processing unstructured text and enforcing a strict, predefined JSON schema. It can interpret complex medical contexts and map them into the required fields for a database.
    • D. Incorrect. Azure AI Vision Image Analysis focuses on general visual features, object detection (e.g., detecting a stethoscope), and tagging in images. It does not provide the robust document text extraction or schema-based formatting needed here.
    • E. Incorrect. Azure AI Search is a retrieval-augmented generation (RAG) and indexing service. While it can store information, it is not used to extract fields from documents or map them into a specific JSON schema.

    Want the full experience?

    These are just samples. Practice the full Microsoft Certified: Azure AI Apps and Agents Developer Associate (AI-103) question bank in quiz mode — free, no signup, with domain practice and exam simulation.