Courseiva

Microsoft Certified: Azure AI Apps and Agents Developer Associate (AI-103) (AI-103) (AI-103) — Questions 151–225

455 questions total · 7 pages · All types, answers revealed

Page 2

Page 3 of 7

Page 4
151
MCQhard

Your enterprise organization provisions multiple Azure AI Services accounts across different subscriptions. Security mandates that all API keys must be automatically rotated every 30 days without human intervention. Which Azure service configuration should you implement?

A.Microsoft Defender for Cloud JIT access policies
B.Azure Key Vault automated secret rotation using an Azure Function
C.Azure AI Services built-in automatic key rotation policy
D.Azure Monitor alert rules tied to Microsoft Entra ID
AnswerB

Azure Key Vault automated rotation uses an Azure Function to regenerate and update secrets on a schedule, eliminating manual intervention. This satisfies the mandate that all API keys rotate every 30 days automatically across the provisioned Azure AI Services accounts.

Why this answer

Azure Key Vault automated secret rotation using an Azure Function is correct because Key Vault supports rotation policies that can trigger an Azure Function to generate new keys and update the AI Services account automatically. This enables fully automated, scheduled rotation without human intervention. The Azure Function can call the Azure AI Services management API to regenerate keys and store the new keys back in Key Vault.

Exam trap

AI-103 often tests the misconception that Azure AI Services includes built-in automatic key rotation, when in fact rotation must be orchestrated externally via Key Vault and Azure Functions.

How to eliminate wrong answers

Option A is wrong because Microsoft Defender for Cloud JIT access policies manage just-in-time VM access, not API key rotation. Option C is wrong because Azure AI Services does not have a built-in automatic key rotation policy; key regeneration must be triggered externally. Option D is wrong because Azure Monitor alert rules tied to Microsoft Entra ID are for monitoring and alerting, not for rotating keys.

152
MCQeasy

You are configuring an Azure AI Language resource in the Azure portal. You need to ensure that the text analysis solution supports custom text classification and named entity recognition. Which pricing tier should you select?

A.Premium (P1)
B.Standard (S)
C.Basic (B)
D.Free (F0)
AnswerB

The Standard (S) pricing tier is required because custom text classification and named entity recognition are only available on S, not the Free (F0) tier. Selecting Standard satisfies the requirement that the Language resource support both custom text classification and NER capabilities.

Why this answer

The Standard (S) pricing tier for Azure AI Language supports custom text classification and custom named entity recognition (NER). The Free (F0) tier does not support these custom features. Therefore, you must select Standard (S).

Exam trap

AI-103 often tests the limitation that custom features require the Standard tier, and candidates may incorrectly assume the Free tier supports them.

How to eliminate wrong answers

Option A (Premium (P1)) is wrong because there is no Premium tier for Azure AI Language; the tiers are Free (F0) and Standard (S). Option C (Basic (B)) is wrong because Basic is not a valid tier for this service. Option D (Free (F0)) is wrong because the Free tier does not support custom text classification or custom NER; it only supports prebuilt features with limited usage.

153
MCQmedium

Your organization has strict compliance policies requiring all Azure AI Services endpoints to reject connections that do not use Transport Layer Security (TLS) version 1.3. Where can you enforce this minimum TLS version setting?

A.Within the Data residency tab of the Overview blade
B.In the Access control (IAM) settings under role assignments
C.In the Configuration blade of the Azure AI resource in the Azure Portal
D.In Application Insights under the Availability blade
AnswerC

The Azure AI resource's Configuration blade exposes the minimum TLS version setting, where selecting TLS 1.3 rejects connections using earlier versions. This enforces the compliance policy at the endpoint itself rather than at a client or gateway.

Why this answer

The minimum TLS version for an Azure AI Services resource is configured in the Configuration blade of the resource in the Azure Portal, where you can set the minimum inbound TLS version (e.g., 1.2 or 1.3). This setting enforces that connections using older TLS versions are rejected. It is a resource-level network security control, not an IAM or monitoring setting.

Exam trap

AI-103 often tests where security settings live across Azure blades, so candidates who associate 'access' or 'compliance' with IAM or Data residency pick A or B instead of the Configuration blade.

How to eliminate wrong answers

Option A is wrong because the Data residency tab shows where data is stored and processed, not transport security settings. Option B is wrong because Access control (IAM) manages role assignments and identity permissions, not TLS protocol enforcement. Option D is wrong because Application Insights Availability tests monitor endpoint uptime and responsiveness, not TLS version enforcement.

154
Multi-Selecthard

You are deploying Custom Vision containers on-premises using Docker. Which THREE prerequisites and configuration steps are required? (Choose three.)

Select 3 answers
A.Ensure internet connectivity or periodic connection to Azure for billing metering.
B.Provide the Billing Endpoint URI and API Key via environment variables.
C.Accept the End-User License Agreement (EULA) by setting the EULA=accept environment variable.
D.Install the full Azure CLI inside every prediction container.
E.Grant root access to the Azure subscription billing portal from inside the container.
AnswersA, B, C

Custom Vision containers run locally but still require connectivity to Azure for billing metering, since usage is tracked against your Azure resource. Without this periodic connection, the container cannot report consumption and will not run, satisfying the deployment prerequisite.

Why this answer

Option A is correct because Custom Vision containers must periodically connect to Azure (or maintain internet connectivity) to send usage/billing metering data; without this metering connection the container will not run. Option B is correct because the container requires the Billing Endpoint URI (e.g., https://<region>.api.cognitive.microsoft.com) and the associated API Key, supplied as environment variables such as Billing and ApiKey, so Azure can validate and meter the resource. Option C is correct because the container image requires explicit acceptance of the End-User License Agreement via the EULA=accept environment variable before it will start.

Option D is not required because the Azure CLI is not installed inside the prediction container; billing is handled through the endpoint and key. Option E is not required and is not a supported configuration; no root access to the Azure billing portal from inside the container is needed.

Exam trap

AI-103 often tests the three container prerequisites (metering connectivity, billing endpoint/key, EULA acceptance), and candidates add plausible-sounding but fictional steps like installing the Azure CLI inside the container.

155
MCQmedium

You are configuring model fine-tuning for an Azure OpenAI model in Azure AI Foundry. You have prepared a JSONL training dataset. Which evaluation approach is recommended to verify that fine-tuning successfully improved model performance without causing catastrophic forgetting?

A.Inspect Azure Key Vault access audit logs
B.Review Azure Cost Management invoices for training hours
C.Run an evaluation dataset comparing baseline and fine-tuned models using Azure AI Foundry evaluation metrics
D.Check Azure Monitor CPU utilization percentages of the hosting cluster
AnswerC

Comparing baseline and fine-tuned models on the same held-out evaluation dataset quantifies improvement while revealing regressions on previously learned tasks, which is how catastrophic forgetting is detected. This satisfies the stem's requirement to verify gains without degradation, unlike judging training loss alone.

Why this answer

To verify that fine-tuning improved model performance without catastrophic forgetting, you should run an evaluation dataset comparing the baseline (pre-fine-tuning) and fine-tuned models using Azure AI Foundry evaluation metrics. This approach measures improvements on the target task and checks for degradation on general capabilities, providing quantitative evidence of fine-tuning success and detecting catastrophic forgetting.

Exam trap

AI-103 often tests the confusion between operational metrics (cost, CPU) and model quality metrics, causing candidates to select monitoring or billing data instead of evaluation datasets for assessing fine-tuning success.

How to eliminate wrong answers

Option A is wrong because Azure Key Vault access audit logs track access to secrets and keys, not model performance or fine-tuning outcomes. Option B is wrong because Azure Cost Management invoices show training costs, not model quality or forgetting. Option C is correct.

Option D is wrong because Azure Monitor CPU utilization percentages reflect infrastructure resource usage, not model accuracy or catastrophic forgetting.

156
MCQmedium

You are migrating a custom extraction solution from a Custom Template model to a Custom Neural model in Azure AI Document Intelligence. What is a key advantage of choosing a Custom Neural model over a Custom Template model?

A.Custom Neural models can automatically generalize across documents with varying visual layouts and structures.
B.Custom Neural models only support English language documents.
C.Custom Neural models require zero training documents.
D.Custom Neural models do not support table extraction.
AnswerA

Custom Neural models learn layout-independent features from labelled samples, so they generalise across documents whose visual structure varies. Custom Template models instead rely on fixed positional anchors, which fail when layouts shift. This generalisation directly satisfies the migration scenario's need to handle varying layouts and structures.

Why this answer

Custom Neural models in Azure AI Document Intelligence use deep learning to learn the semantic and structural patterns of documents, enabling them to generalize across varying visual layouts, fonts, and formats. This is the key advantage over Custom Template models, which rely on fixed positional anchors and fail when layouts shift. Neural models are therefore preferred for documents with high variability.

Exam trap

AI-103 often tests the trade-off between Template and Neural models — candidates incorrectly assume Neural models need no training data or only work in English, when in fact they require labeled samples and support many languages.

How to eliminate wrong answers

Option B is wrong because Custom Neural models support multiple languages, not English only. Option C is wrong because Custom Neural models require a minimum of five labeled training documents (typically five samples per field), so they do not require zero training documents. Option D is wrong because Custom Neural models do support table extraction, including complex tables with merged cells.

157
MCQeasy

You are setting up Azure AI Language. You want to authenticate your client application using Microsoft Entra ID (formerly Azure Active Directory) instead of using API subscription keys. Which role must be assigned to your application's service principal to allow it to call text analysis APIs?

A.Reader
B.Cognitive Services User
C.Storage Blob Data Contributor
D.Contributor
AnswerB

Cognitive Services User grants the service principal data-plane access to call Azure AI Language text analysis APIs, satisfying the stem's requirement to authenticate via Microsoft Entra ID rather than subscription keys. It supplies the necessary role assignment at the resource scope, enabling token-based requests to the analyse endpoints without key credentials.

Why this answer

To authenticate a client application using Microsoft Entra ID for Azure AI Language, the service principal must be assigned the Cognitive Services User role. This role grants the necessary permissions to call the text analysis APIs, including sentiment analysis, entity recognition, and language detection, without requiring subscription keys. The role is scoped to the Azure AI Language resource and follows the principle of least privilege for API access.

Exam trap

AI-103 often tests the confusion between management-plane roles (Contributor, Reader) and data-plane roles (Cognitive Services User), causing candidates to select Contributor thinking it grants API access.

How to eliminate wrong answers

Option A is wrong because the Reader role only allows viewing of resources, not calling the Cognitive Services APIs; it lacks the Microsoft.CognitiveServices/*/read and action permissions needed for text analysis. Option C is wrong because Storage Blob Data Contributor is for accessing Azure Blob Storage data, not for calling Azure AI Language APIs. Option D is wrong because the Contributor role grants full management of resources but does not include the specific data-plane permissions required to call the Cognitive Services APIs; it is a management-plane role, not a data-plane role.

158
MCQeasy

Your application needs to scan user input for Personally Identifiable Information (PII) such as Social Security numbers, credit card numbers, and physical addresses before storing logs in a cloud database. Which Azure AI Language service feature should you invoke?

A.Sentiment analysis
B.Text summarization
C.Named Entity Recognition (NER) with PII detection
D.Key phrase extraction
AnswerC

Named Entity Recognition with PII detection identifies and categorises entities such as Social Security numbers, credit card numbers and addresses, returning them for redaction. This directly satisfies scanning user input for PII before logs are stored.

Why this answer

NER with PII detection is the Azure AI Language capability that identifies and classifies sensitive entity types — SSNs, credit card numbers, addresses, names, emails — and returns their offsets so you can redact or block them before persisting logs. It is the only option that both detects and categorizes privacy-sensitive data at the entity level. The other features analyze tone, summarize, or extract topics, none of which identify PII.

Exam trap

AI-103 often tests whether candidates realize PII detection is a specialization of NER rather than a separate service, so the trap is choosing a generic text-analytics feature like key phrase extraction when the scenario explicitly names SSNs, credit cards, and addresses.

How to eliminate wrong answers

Option A is wrong because sentiment analysis returns positive/negative/neutral scores and opinion targets; it has no concept of PII categories and cannot flag an SSN. Option B is wrong because text summarization condenses content into abstractive or extractive summaries, which would actually propagate PII into the summary rather than detect it. Option D is wrong because key phrase extraction returns salient noun phrases for indexing, not privacy categories, and it would happily return 'Social Security number' as a key phrase without flagging the actual number.

159
MCQmedium

You are using Language Studio to build a custom named entity recognition (custom NER) project. You have tagged your training data and successfully trained your first model. You want to test the model interactively without writing code. Which tool in Language Studio should you use?

A.Deployment settings
B.Data labeling page
C.Test model pane
D.Model performance tab
AnswerC

The Test model pane runs the trained model against sample utterances interactively inside Language Studio, returning predicted entities without any code. It satisfies the requirement to test the custom NER model interactively after training, unlike the labelling or training panes.

Why this answer

In Language Studio, after training a custom NER model, you can test it interactively using the 'Test model' pane. This pane allows you to input text and see the model's predictions without writing any code. It is specifically designed for quick validation and debugging.

Exam trap

The trap is confusing the 'Test model' pane with the 'Model performance' tab; the latter shows metrics but does not allow interactive testing.

How to eliminate wrong answers

Option A (Deployment settings) is wrong because it is used to deploy a model to an endpoint, not for interactive testing. Option B (Data labeling page) is wrong because it is for tagging training data, not for testing a trained model. Option D (Model performance tab) is wrong because it displays evaluation metrics like precision and recall, but does not allow interactive testing with new text.

160
Multi-Selectmedium

Which THREE settings in the Azure AI Foundry playground can directly affect the 'creativity' of an agent's response?

Select 3 answers
A.Temperature.
B.The search index threshold.
C.Top-P (Nucleus sampling).
D.Frequency Penalty.
E.The system prompt length.
AnswersA, C, D

Temperature directly controls the sampling randomness applied to the model's next-token probability distribution, so raising it flattens that distribution and yields more varied, less deterministic agent responses. This satisfies the stem's creativity requirement, since creativity in the playground maps to sampling stochasticity rather than to prompt content or safety filtering.

Why this answer

Temperature (A) is correct because it scales the randomness of the model's token probability distribution—higher values like 1.0+ flatten the distribution and produce more varied, 'creative' outputs, while lower values sharpen it toward deterministic responses. Top-P (C), or nucleus sampling, is correct because it restricts sampling to the smallest set of tokens whose cumulative probability exceeds P; raising P (e.g., 0.9–1.0) admits more candidate tokens and increases output diversity. Frequency Penalty (D) is correct because it penalizes tokens proportionally to how often they have already appeared, discouraging repetition and thereby pushing the model toward more varied, novel phrasing.

The search index threshold (B) governs retrieval grounding—how many or how similar documents must be before they are surfaced—so it affects factual grounding, not generative creativity. The system prompt length (E) is not a creativity parameter; prompt content and length shape behavior and context, but they do not directly tune the sampling distribution the way temperature, top-P, and frequency penalty do.

Exam trap

The trap here is conflating retrieval-side settings (search index thresholds) or prompt-side settings (system prompt length) with generation-side sampling parameters — only the latter directly change creativity.

161
MCQeasy

You are configuring an agent in Azure AI Foundry that needs to perform mathematical calculations accurately. Large language models often make arithmetic errors. How should you equip the agent to handle calculations reliably?

A.Provide a code interpreter tool so the model can write and execute Python code for calculations.
B.Set the model temperature to 0.0 and ask it to guess the result.
C.Increase the presence penalty to force new tokens.
D.Instruct the model in the system prompt to double-check its arithmetic mentally.
AnswerA

A code interpreter executes generated Python in a sandboxed runtime, so arithmetic is performed deterministically by the interpreter rather than predicted token-by-token by the model. This removes the probabilistic error source and yields reliable, verifiable calculation results.

Why this answer

Large language models are probabilistic token predictors and frequently make arithmetic errors, especially with multi-digit operations. Providing a code interpreter tool lets the agent generate and execute Python code, delegating computation to a deterministic runtime that returns exact results. This is the reliable pattern for math in agentic workflows.

Exam trap

AI-103 often tests the misconception that prompt engineering or temperature settings can fix arithmetic unreliability, when the correct solution is to give the agent a deterministic tool like a code interpreter.

How to eliminate wrong answers

Option B is wrong because setting temperature to 0.0 only makes output more deterministic; it does not make arithmetic correct, and asking the model to 'guess' is fundamentally unreliable for calculations. Option C is wrong because presence penalty discourages repeating tokens and has no bearing on arithmetic accuracy; it would degrade output coherence. Option D is wrong because instructing the model to 'double-check mentally' relies on the same flawed probabilistic arithmetic and does not introduce a deterministic computation step.

162
MCQmedium

A user asks a question that triggers a 'Blocked' response from Azure AI Content Safety, even though the query seems harmless. What is the best step to investigate this?

A.Change the system prompt to ignore safety.
B.Increase the model temperature.
C.Disable Content Safety for the deployment.
D.Check the Content Safety logs in the Azure AI Foundry portal.
AnswerD

Content Safety logs in the Azure AI Foundry portal record the category and severity scores behind each verdict, revealing which filter or threshold triggered the block on a harmless-looking query. Reviewing them satisfies the stem's requirement to diagnose the unexpected 'Blocked' response.

Why this answer

When Azure AI Content Safety returns a 'Blocked' result for a seemingly benign prompt, the correct diagnostic step is to inspect the Content Safety logs and severity scores in the Azure AI Foundry portal. These logs show which category (hate, violence, sexual, self-harm) and which severity level triggered the block, letting you determine whether a threshold is misconfigured or a specific phrase is being flagged. This is a read-only investigation that preserves the safety posture.

Exam trap

AI-103 often tests whether candidates know that Content Safety is a separate, non-bypassable layer — the trap is choosing to disable or prompt-engineer around the filter instead of investigating the logs to understand the actual trigger.

How to eliminate wrong answers

Option A is wrong because instructing the system prompt to ignore safety does not bypass the Content Safety filter — it runs as a separate service layer outside the model prompt, so the block would persist while also violating responsible AI policy. Option B is wrong because temperature controls randomness/creativity of generation and has no effect on whether the safety classifier flags the input. Option C is wrong because disabling Content Safety removes a required safeguard and is a policy violation, not a diagnostic step.

163
MCQeasy

You are deploying an Azure AI service resource in the Azure portal. Which option specifies the geographic location where your data will be processed and stored?

A.Tenant
B.Domain
C.Region
D.Zone
AnswerC

The Region parameter determines the Azure datacentre geography where the AI service resource is deployed, and therefore where processing occurs and data is stored at rest. Selecting it satisfies the requirement to control the geographic location of data processing and storage.

Why this answer

In Azure, the region specifies the geographic location where your resource's data is processed and stored. When you create an Azure AI service resource, you select a region (e.g., East US, West Europe), and that choice determines data residency, latency, and which features are available. This is a core compliance and architecture decision.

Exam trap

AI-103 often tests the confusion between region (data residency), availability zone (redundancy), and tenant (identity boundary), with candidates incorrectly selecting zone for data location.

How to eliminate wrong answers

Option A is wrong because a tenant is a logical identity container in Microsoft Entra ID that holds users, groups, and subscriptions; it does not define data processing location. Option B is wrong because 'domain' is not an Azure resource placement concept—it may refer to a DNS domain or an Entra ID domain name, neither of which controls data residency. Option D is wrong because a zone (availability zone) is a physically separate datacenter within a region used for redundancy, not the geographic location for data processing and storage.

164
Multi-Selecteasy

Which THREE of the following are common Azure cost management tools that you should use to manage your AI solution budget?

Select 3 answers
A.Azure Budgets.
B.Azure Advisor cost recommendations.
C.Azure Cost Analysis.
D.Azure Active Directory.
E.Azure Container Registry.
AnswersA, B, C

Budgets allow you to set spending limits and receive notifications.

Why this answer

Azure Budgets (A) is correct because it lets you set spending thresholds on a scope such as a subscription, resource group, or resource and trigger alerts or actions when actual or forecasted costs approach or exceed the limit, which is essential for controlling an AI solution budget. Azure Advisor cost recommendations (B) is correct because it analyzes your resource usage and configuration and surfaces specific, actionable suggestions — such as right-sizing underutilized VMs or removing idle resources — that directly reduce AI workload spend. Azure Cost Analysis (C) is correct because it provides the reporting and visualization layer for cost management, allowing you to break down and filter actual costs by service, resource, tag, and time period so you can understand where AI-related spending is going.

Azure Active Directory (D) is an identity and access management service, not a cost management tool, and Azure Container Registry (E) is a private Docker/OCI image registry for storing and managing container images, so neither addresses budget monitoring or optimization.

Exam trap

AI-103 often tests whether candidates can distinguish cost governance tools (Budgets, Advisor, Cost Analysis) from unrelated services like identity (Entra ID) or container registries that appear plausible in an AI context.

165
Multi-Selecthard

You are configuring a function-calling agent in Microsoft Foundry. The agent must call an internal order-status REST API. Security review requires that the agent never receives the API key directly and that calls are auditable per user. You also need the agent to recover gracefully when the API returns a transient 503. (Choose two.)

Select 2 answers
A.Disable function calling and instead have the agent generate SQL queries against the order database.
B.Embed the API key as a parameter default in the function tool definition so the model can pass it automatically.
C.Define the retry policy on the function tool so that transient failures such as HTTP 503 are retried with backoff before the result is returned to the model.
D.Store the API key in Azure Key Vault and have the function tool retrieve it at runtime using the agent's managed identity.
E.Instruct the model in the system prompt to retry the function call up to three times whenever it receives an error.
AnswersC, D

Function tools support retry configuration, allowing transient errors like 503 responses to be retried with backoff inside the tool execution. Handling retries at the tool layer prevents the model from seeing a failed call and attempting to re-invoke the function itself, which would produce duplicate side effects and inconsistent conversation state.

Why this answer

Keeping the credential in Key Vault and retrieving it through the agent's managed identity ensures the key never enters the model context, while vault access logging supports auditing. Configuring retries with backoff on the function tool handles transient 503 responses deterministically, preventing the model from re-invoking the function and creating duplicate calls. Together these satisfy the security and resilience requirements.

Exam trap

The trap here is assuming the model should manage retries through prompt instructions, when transient HTTP failures belong in the deterministic retry policy of the function tool.

166
Multi-Selectmedium

Which TWO techniques are effective for improving the performance of an Azure AI application?

Select 2 answers
A.Increasing the number of subscription keys.
B.Disabling all logging to reduce overhead.
C.Switching to the 'Free' tier.
D.Implementing caching for common query results.
E.Deploying the AI resource in a region closer to the end-users.
AnswersD, E

Caching common query results reduces repeated calls to the underlying AI model, cutting latency and token consumption for identical requests. This directly satisfies the performance constraint by serving frequent responses from memory rather than recomputing them, improving throughput and responsiveness under load.

Why this answer

Option D is correct because implementing caching for common query results reduces the number of calls made to the Azure AI service, lowering latency and throttling risk while returning frequently requested data faster from a local or distributed cache such as Azure Cache for Redis. Option E is correct because deploying the AI resource in a region closer to end-users reduces network round-trip time (RTT) and thus improves perceived response latency for the application. Option A is not correct because adding subscription keys does not increase throughput or performance; keys are for authentication, and quota/rate limits are tied to the resource and pricing tier, not the number of keys.

Option B is not correct because disabling logging does not meaningfully improve AI inference performance and removes valuable diagnostics and monitoring. Option C is not correct because the Free tier has lower rate limits and quotas than paid tiers, so switching to it would degrade rather than improve performance.

Exam trap

AI-103 often tests the misconception that adding subscription keys or changing tiers increases throughput, when in fact Azure AI quotas are enforced per resource and per region, and only caching plus regional proximity genuinely reduce latency and load.

167
Multi-Selectmedium

You are deploying a generative AI chat application built on Azure OpenAI in Azure AI Foundry. The application must stream tokens to the browser, and you need to configure it so that responses begin appearing to users as quickly as possible while remaining correct. Which two actions should you take? (Choose two.)

Select 2 answers
A.Set stream to true on the chat completions request so tokens are delivered incrementally as they are generated.
B.Enable content filtering at the highest severity threshold to reduce the tokens the model must generate.
C.Use a lower-latency deployment such as GPT-4o mini for the chat path when quality requirements permit.
D.Increase the max_tokens value to the model's maximum so the response can be as long as possible.
E.Set temperature to 1.5 so the model explores more possibilities and returns answers faster.
AnswersA, C

Enabling streaming returns tokens as soon as the model produces them, so the user sees the first words without waiting for the full completion. This directly reduces perceived latency and is the supported mechanism for incremental delivery in Azure OpenAI chat completions, making it the correct action for a responsive chat experience.

Why this answer

Streaming delivers tokens incrementally so users see output immediately, and choosing a lower-latency model such as GPT-4o mini reduces the time to first token. Together these actions improve perceived responsiveness without compromising correctness, whereas token limits, temperature, and content filtering do not affect latency in the desired way.

Exam trap

The trap here is conflating settings that change output length or safety with settings that actually reduce time to first token, which are streaming and model choice.

168
MCQmedium

You are building an Azure Functions app that calls the Azure AI Language REST API to run sentiment analysis on batches of customer survey comments. The surveys are submitted in bursts of roughly 40 documents at a time, and each document is well under 5,000 characters. The function currently sends one HTTP request per document and is hitting throttling limits during peak hours. You want to reduce the number of requests while keeping the same model and results. What should you change?

A.Send all 40 documents in a single request to the /language/:analyze-text endpoint using one JSON body that contains a documents array.
B.Enable local caching in the function so identical comment text is not resubmitted to the service within the same execution window.
C.Switch the function to call the /language/:analyze-text/jobs endpoint and poll the operation-location header until the long-running job completes.
D.Increase the number of function instances so the per-document requests are spread across more concurrent workers.
AnswerA

The analyze-text endpoint accepts a batch request whose body contains a documents array, so 40 short comments can be submitted in one call instead of 40. This directly cuts request volume and reduces the chance of hitting per-minute throttling limits while preserving identical sentiment output for each document.

Why this answer

The analyze-text endpoint accepts a JSON body with a documents array, letting you submit multiple short documents in one synchronous call. Consolidating 40 per-document calls into one batch request lowers the request rate that triggers throttling and keeps the same prebuilt sentiment model and per-document results.

Exam trap

The trap here is assuming that scaling out the compute layer solves service-side throttling, when the limit is applied to the Language resource itself.

169
MCQmedium

You are developing a Python application that uses the Azure OpenAI SDK. You need to programmatically retrieve the endpoint and key for your Azure OpenAI resource so the application can authenticate. The application must not store secrets in code. What should you use?

A.Use Azure Key Vault to store the key, and retrieve it at runtime using the Azure Identity SDK.
B.Use the Azure OpenAI REST API with the key passed as a query string parameter in each request.
C.Store the key in an environment variable on the development machine and read it using os.getenv().
D.Embed the key in the application source code and obfuscate it with a simple encoding.
AnswerA

Azure Key Vault securely stores the key, and the Azure Identity SDK (e.g., DefaultAzureCredential) retrieves it at runtime without hardcoding secrets. This follows security best practices for secret management and is the recommended approach for production applications.

Why this answer

Storing secrets in Azure Key Vault and retrieving them at runtime with Azure Identity is the secure, recommended pattern. It avoids hardcoding secrets and provides centralized management and auditing. Environment variables, code embedding, and query string parameters are insecure and do not meet the requirement.

Exam trap

The trap here is assuming that environment variables are secure enough for production secrets, when they can be exposed and lack centralized management.

170
MCQhard

Your team runs a multilingual complaint-triage pipeline using the Azure AI Language service. Documents arrive with a language field already set to 'en', but a subset actually contains Spanish text because upstream systems mislabel them. Sentiment results for those documents come back with low confidence and occasionally fail. You want the service to determine the language itself for every document rather than trusting the supplied value. What should you configure in the request?

A.Call the Language Detection task (kind 'LanguageDetection') first, then pass the returned ISO 639-1 code into the language property of the sentiment request.
B.Set the model-version parameter to a multilingual model and continue sending the supplied 'en' value.
C.Set language to 'auto' in the documents array so the service performs language detection before analysis.
D.Remove the language property from each document object in the documents array.
AnswerA

Language Detection is a prebuilt task that returns the detected language and a confidence score for each document. Feeding that ISO 639-1 code into the subsequent sentiment request ensures the correct model is applied, which fixes the low-confidence and failing Spanish documents. This is the supported way to let the service determine language.

Why this answer

Language Detection is a distinct prebuilt task that returns each document's detected language and confidence. By running it first and feeding the resulting ISO 639-1 code into the language property of the sentiment request, the correct language-specific model is applied and the mislabeled Spanish documents are analyzed accurately.

Exam trap

The trap here is expecting a sentinel value like 'auto' to trigger detection inside another task, when detection is actually a separate prebuilt operation.

171
Multi-Selecteasy

You are exploring Azure AI Language features. Which TWO tasks can be accomplished using prebuilt named entity recognition (NER)? (Choose two.)

Select 2 answers
A.Detecting the written language of a document
B.Extracting person names from text
C.Identifying geographic locations
D.Redacting credit card numbers for security
E.Classifying entire documents into custom business categories
AnswersB, C

Prebuilt NER recognises a fixed set of entity categories, including Person, returning person names with offsets and confidence scores. This directly satisfies extracting person names from text without any custom model training or labelled data.

Why this answer

Prebuilt NER in Azure AI Language is designed to identify and categorize entities in text into general types such as Person, Location, Organization, DateTime, and Quantity. Option B is correct because extracting person names from text is a core prebuilt NER capability, returning entities of the Person category. Option C is correct because identifying geographic locations maps directly to the Location (and related GPE) entity categories that prebuilt NER recognizes.

Option A is not part of NER; language detection is a separate Azure AI Language feature that returns the detected language and confidence score. Option D is not NER; redacting credit card numbers is handled by PII detection/redaction, which identifies sensitive data and can mask it, rather than general named entity extraction. Option E is not NER; classifying entire documents into custom business categories is a custom text classification task that requires training a model, not the prebuilt NER model.

Exam trap

AI-103 often tests whether candidates conflate NER with PII detection or language detection, picking redaction or language tasks when the question asks specifically about prebuilt NER entity types.

172
Multi-Selectmedium

You are monitoring an Azure OpenAI model deployed in Azure AI Foundry. Which TWO Azure diagnostic metrics or logs should you analyze to track operational health and performance? (Choose TWO)

Select 2 answers
A.Request duration (latency) in milliseconds
B.Azure ExpressRoute circuit bandwidth saturation
C.Prompt tokens and completion tokens consumed per request
D.Azure SQL Database deadlock frequency
E.Virtual machine disk IOPS consumption
AnswersA, C

Request duration measures end-to-end latency of inference calls, exposing throttling, cold starts and capacity saturation. It is the primary operational-health signal for an Azure OpenAI deployment, letting you track performance against service-level expectations and trigger scaling or quota adjustments.

Why this answer

Option A, request duration (latency) in milliseconds, is correct because Azure OpenAI in Azure AI Foundry emits latency metrics that directly reflect the responsiveness and operational health of the deployed model endpoint, making it a primary signal for performance monitoring. Option C, prompt tokens and completion tokens consumed per request, is correct because token consumption metrics are emitted by Azure OpenAI and are essential for tracking throughput, capacity, quota usage, and cost/performance behavior of the model deployment. Options B, D, and E are incorrect because ExpressRoute circuit bandwidth saturation, Azure SQL Database deadlock frequency, and VM disk IOPS consumption are metrics for networking, database, and compute infrastructure respectively, not for an Azure OpenAI model deployment's operational health and performance.

Exam trap

AI-103 often tests whether candidates can distinguish AI-service metrics from generic Azure infrastructure metrics, so the trap is selecting a network, database, or VM metric that sounds operational but is unrelated to the model deployment.

173
Multi-Selectmedium

Which TWO of the following are valid ways to provide context to an agent in Prompt Flow?

Select 2 answers
A.Deploying the model in a different region
B.Passing conversation history as part of the messages list
C.Injecting retrieved documents into the prompt template
D.Increasing the model output length
E.Training a new model on the context
AnswersB, C

Conversation history supplied as a messages list gives the agent prior turns, so it can resolve follow-up references and maintain continuity. This satisfies the stem's requirement for a valid context mechanism in Prompt Flow, since the messages array is a supported input to the LLM node.

Why this answer

Option B is correct because Prompt Flow agents accept a messages list in which prior user/assistant turns are included, so passing conversation history as part of that messages list supplies the dialogue context the agent needs to resolve references and maintain continuity. Option C is correct because injecting retrieved documents into the prompt template (the retrieval-augmented generation pattern, e.g., via a vector index lookup node whose output is bound into the prompt) places relevant grounding text directly in the model's context window. Option A is wrong because region selection only affects data residency, latency, and model availability, not the contextual information given to the agent.

Option D is wrong because increasing the model output length (max_tokens) only changes how many tokens can be generated, not what context is provided. Option E is wrong because training a new model changes weights rather than supplying runtime context, and it is not a Prompt Flow context-injection mechanism.

Exam trap

AI-103 often tests the difference between runtime context injection (messages, retrieved documents) and model-level changes (fine-tuning, region, output length) — candidates pick training or region options that do not affect context.

174
MCQeasy

You are creating an Azure AI Services resource using Azure CLI. Which command parameter specifies the pricing tier of the resource?

A.--sku
B.--tier
C.--pricing
D.--kind
AnswerA

The --sku parameter sets the pricing tier when creating an Azure AI Services resource via Azure CLI, accepting values such as F0, S0, or Standard. It directly controls the billing and feature tier assigned to the resource.

Why this answer

The Azure CLI command 'az cognitiveservices account create' uses the --sku parameter to specify the pricing tier (e.g., S0, F0) of the Azure AI Services resource. This is the standard parameter name across Azure CLI resource creation commands for specifying the SKU.

Exam trap

The trap is confusing --kind (service type) with --sku (pricing tier), or assuming a --tier or --pricing parameter exists when the CLI standardizes on --sku.

How to eliminate wrong answers

Option B is wrong because --tier is not the parameter used by az cognitiveservices account create; the CLI uses --sku for pricing tier selection. Option C is wrong because --pricing is not a valid Azure CLI parameter for this command. Option D is wrong because --kind specifies the type of cognitive services account (e.g., OpenAI, ComputerVision, TextAnalytics), not the pricing tier.

175
MCQeasy

Your company is provisioning a new Azure AI Services multi-service resource. The security team mandates that all network traffic between the client applications and the Azure AI endpoint must remain entirely within the Microsoft backbone network without traversing the public internet. Which feature should you configure?

A.Cross-Origin Resource Sharing (CORS)
B.Service Principal Authentication
C.Azure Private Endpoint
D.Azure AI Custom Subdomain
AnswerC

Azure Private Endpoint assigns a private IP from your virtual network to the Azure AI resource, so client-to-endpoint traffic stays on the Microsoft backbone and never traverses the public internet. This directly satisfies the mandate that all network traffic remain internal, unlike service endpoints or firewall rules.

Why this answer

Azure Private Endpoint creates a private IP address for the Azure AI Services resource inside your virtual network, so traffic between clients and the endpoint stays on the Microsoft backbone and never traverses the public internet. This is the standard feature for meeting private-connectivity mandates.

Exam trap

AI-103 often tests whether candidates confuse identity features (service principals, custom subdomains) with network isolation features, tempting them to pick authentication options when the requirement is about traffic path.

How to eliminate wrong answers

Option A is wrong because CORS is a browser security mechanism controlling cross-origin HTTP requests, not a network isolation feature. Option B is wrong because service principal authentication is an identity mechanism for API access, not a way to keep traffic off the public internet. Option D is wrong because a custom subdomain changes the endpoint URL format (e.g., myresource.cognitiveservices.azure.com) but does not provide private network connectivity.

176
Multi-Selectmedium

You are managing cost allocation for multiple Azure AI services across different departments. Which TWO Azure tools or features can help you analyze and attribute these costs accurately? Each correct answer presents part of the solution.

Select 2 answers
A.Azure Bastion session logs
B.Azure Active Directory enterprise user group memberships
C.Microsoft Defender for Cloud security recommendations
D.Azure resource tags combined with Cost Management cost analysis grouping
E.Azure Cost Management budgets and exported CSV cost reports
AnswersD, E

Resource tags attach department metadata to each Azure AI service, and Cost Management grouping aggregates spend by those tag values. This directly satisfies the cost attribution constraint, since grouping by tag produces per-department breakdowns rather than undifferentiated subscription totals.

Why this answer

Option D is correct because Azure resource tags let you attach department or cost-center metadata to each Azure AI service resource, and Cost Management cost analysis can then group and filter costs by those tag keys, directly attributing spend to the right department. Option E is correct because Azure Cost Management budgets track spend against thresholds and its exported CSV cost reports provide the raw, granular usage and charge data needed for accurate offline analysis and chargeback. Option A is wrong because Azure Bastion session logs record RDP/SSH connectivity activity, not billing or cost data.

Option B is wrong because Entra ID (Azure AD) enterprise group memberships govern identity and access, not cost attribution. Option C is wrong because Microsoft Defender for Cloud security recommendations address security posture, not cost analysis or allocation.

Exam trap

AI-103 often tests whether candidates confuse governance/security tools (Defender for Cloud, Bastion, Entra groups) with FinOps tools, so picking anything that sounds like 'management' rather than 'cost' is the trap.

177
Multi-Selectmedium

You are troubleshooting a scenario where client applications are unable to connect to an Azure AI Language resource secured by a Private Endpoint. Which TWO troubleshooting steps should you perform? Each correct answer presents part of the solution.

Select 2 answers
A.Check that the client subnet can route to the private IP address assigned to the Private Endpoint.
B.Verify that the client application has been assigned the Storage Blob Data Contributor role.
C.Ensure that the Azure OpenAI model weights have been retrained.
D.Verify that the Private DNS zone is correctly linked to the client virtual network.
E.Check that public network access is set to enabled and unrestricted.
AnswersA, D

A Private Endpoint maps the service to a private IP inside the virtual network, so the client subnet must have a valid route to that address. Missing or misconfigured routing, such as an overriding UDR or peering gap, blocks connectivity regardless of DNS.

Why this answer

Option A is correct because a Private Endpoint exposes the Azure AI Language resource through a private IP address in the client's virtual network, so the client subnet must have valid routing (for example, via the default VNet routing or a configured route table) to reach that private IP; if routing is broken, connections fail even if DNS resolves correctly. Option D is correct because name resolution must map the Azure AI Language endpoint FQDN to the Private Endpoint's private IP, which requires the corresponding Private DNS zone (for example, privatelink.cognitiveservices.azure.com) to be linked to the client virtual network; without that link, clients resolve the public IP and cannot connect privately. Option B is not relevant because Storage Blob Data Contributor is an Azure Storage RBAC role and has no bearing on connecting to an Azure AI Language resource.

Option C is not relevant because retraining Azure OpenAI model weights is unrelated to Private Endpoint connectivity for Azure AI Language. Option E is incorrect because enabling unrestricted public network access would bypass the private-only access model rather than troubleshoot the Private Endpoint connection, and it may violate the intended security configuration.

Exam trap

AI-103 often tests Private Endpoint troubleshooting by presenting RBAC or public-access options as distractors, when the real issues are subnet routing and Private DNS zone linkage.

178
MCQeasy

You are reviewing the Azure Cost Management dashboard to analyze spending on Azure AI services. Which grouping option allows you to see costs broken down by specific resource names?

A.Resource type
B.Meter category
C.Resource
D.Location
AnswerC

Grouping by Resource breaks costs down to individual resource names, exactly matching the stem's requirement to see spending per specific resource. Other groupings, such as service or resource group, aggregate at coarser levels and cannot isolate named Azure AI resources.

Why this answer

In Azure Cost Management, the 'Resource' grouping dimension breaks down costs by individual resource name (e.g., a specific Azure OpenAI account, a specific AI Search service). This is the only grouping that surfaces per-resource granularity, which is what the question asks for. Resource type groups by category (e.g., 'Microsoft.CognitiveServices/accounts'), not by name.

Exam trap

AI-103 often tests whether candidates confuse 'Resource' (individual resource name) with 'Resource type' (category of resource) — the two sound similar but produce very different cost breakdowns.

How to eliminate wrong answers

Option A is wrong because 'Resource type' groups costs by the Azure resource provider/type category (e.g., all Cognitive Services accounts together), not by individual resource names. Option B is wrong because 'Meter category' groups by billing meter classification (e.g., 'Cognitive Services' or 'Storage'), which is a billing taxonomy, not a resource identifier. Option D is wrong because 'Location' groups by Azure region (e.g., East US, West Europe), which tells you where costs are incurred but not which specific resource.

179
MCQhard

You are designing an edge solution where a Custom Vision exported model runs inside a Linux container on an IoT Edge device without internet connectivity. How must you configure billing for the container?

A.Provide the container with a billing endpoint URL and API key, and ensure periodic connectivity to Azure to report billing metrics.
B.Use Custom Vision Training API keys for container runtime billing.
C.Purchase an Azure Storage account to store offline billing logs locally.
D.Deploy the container with no environment variables; billing is handled automatically by IoT Hub.
AnswerA

Exported Custom Vision containers still require billing telemetry, so you supply a billing endpoint URI and API key, and the device must periodically reach Azure to report usage. This satisfies the stem's constraint that the container runs offline yet remains correctly billed.

Why this answer

Custom Vision exported containers (Docker for Linux or Windows) require two environment variables at runtime: a billing endpoint URL and an API key from a Custom Vision resource, plus periodic connectivity to Azure to report billing metrics. The container can run offline for inference, but it must periodically reach the billing endpoint to validate the key and report usage; otherwise it stops serving predictions.

Exam trap

AI-103 often tests the misconception that exported containers can run fully offline without any Azure connectivity, when they actually require periodic billing endpoint connectivity and a Prediction key.

How to eliminate wrong answers

Option A is correct. Option B is wrong because Training API keys are for model training, not for container runtime billing; the container needs a Prediction key and the associated endpoint. Option C is wrong because billing is not stored locally in a Storage account; the container reports usage to the Azure billing endpoint.

Option D is wrong because IoT Hub does not handle Custom Vision container billing automatically; the container must be configured with the billing endpoint and key.

180
Multi-Selecthard

You are optimizing an application that calls Azure AI Vision Read API. Which THREE techniques help reduce latency and improve overall throughput? (Choose three.)

Select 3 answers
A.Send uncompressed RAW bitmap data to bypass image decoding overhead.
B.Disable SSL/TLS verification to speed up TCP handshakes.
C.Resize extremely large images to optimal dimensions while maintaining readability.
D.Implement proper polling intervals (e.g., waiting 1 second between checks) rather than aggressive busy-waiting.
E.Co-locate the application hosting and the Azure AI Vision resource in the same Azure region.
AnswersC, D, E

Resizing oversized images reduces the pixel payload transmitted and processed, cutting per-request processing time. Readability is preserved, so OCR accuracy holds while latency drops and throughput rises, satisfying the optimisation goal for the Read API workload.

Why this answer

Option C is correct because the Read API's OCR accuracy and speed depend on image resolution; downscaling extremely large images to dimensions that keep text legible reduces upload size and server-side processing time, lowering latency. Option D is correct because the Read API is asynchronous: you submit an image, receive an Operation-Location URL, and must poll the GET result endpoint; using a sensible interval such as 1 second avoids throttling (HTTP 429) and wasted requests that aggressive busy-waiting causes, improving effective throughput. Option E is correct because placing the calling application and the Azure AI Vision resource in the same Azure region minimizes network round-trip time for both the initial POST and the subsequent polling GETs, directly reducing latency.

Option A is not appropriate because the Read API accepts JPEG, PNG, BMP, PDF, and TIFF, and sending uncompressed RAW bitmap data would inflate payload size and transfer time rather than bypass meaningful decoding overhead. Option B is not appropriate because disabling SSL/TLS verification weakens security, does not meaningfully speed up TCP handshakes, and is not a supported optimization for the Azure AI Vision Read API.

Exam trap

AI-103 often tests the misconception that disabling TLS or sending raw uncompressed data improves performance, when both increase risk or payload size without real latency benefit.

181
MCQhard

You are using Document Intelligence Studio to build a custom extraction model. You need to verify the model quality before deploying. Which metric is most critical?

A.Recall only
B.F1 Score
C.Precision only
D.Model ID
AnswerB

F1 score combines precision and recall into a single harmonic mean, making it the critical metric for verifying custom extraction model quality before deployment. It penalises both missed fields and false extractions, directly satisfying the stem's requirement to assess overall model accuracy across all extracted key-value pairs.

Why this answer

F1 Score is the harmonic mean of precision and recall, so it captures both false positives and false negatives in a single number. For custom extraction models where missing a field and misreading a field are both costly, F1 gives the most balanced view of overall model quality before deployment.

Exam trap

AI-103 often tests the misconception that a single metric (precision or recall) is sufficient — the exam expects you to recognize F1 as the balanced metric when both error types matter.

How to eliminate wrong answers

Option A is wrong because recall alone ignores precision — a model that extracts every possible token as a field would have high recall but terrible precision, and recall-only evaluation would hide that. Option C is wrong because precision alone ignores recall — a model that extracts only one very confident field correctly would score high precision while missing most fields. Option D is wrong because Model ID is just an identifier assigned by the service; it carries no quality information whatsoever.

182
Multi-Selecthard

You are building an advanced agentic solution in Azure AI Foundry that integrates with external line-of-business systems. Which THREE architectural patterns or features should you incorporate to ensure robustness and safety? (Choose THREE)

Select 3 answers
A.Human-in-the-loop review for high-impact tool actions
B.Allowing the agent to execute any bash command directly on production servers without validation
C.Disabling all logging and monitoring to maximize execution speed
D.Exponential backoff and jitter retry logic for handling API rate limits (HTTP 429)
E.Structured Outputs with strict JSON Schema validation for tool payloads
AnswersA, D, E

Human-in-the-loop review inserts an approval checkpoint before the agent executes consequential tool calls against line-of-business systems. This satisfies the safety requirement, because irreversible or high-impact actions are validated by a person rather than executed autonomously on the model's judgement.

Why this answer

Option A (Human-in-the-loop review for high-impact tool actions) is correct because agentic solutions that call external line-of-business systems can perform destructive or financially significant operations, so gating high-impact tool invocations behind human approval provides a safety control that prevents irreversible mistakes. Option D (Exponential backoff and jitter retry logic for handling API rate limits (HTTP 429)) is correct because external LOB APIs commonly throttle callers and return HTTP 429, and retrying with exponentially increasing delays plus randomized jitter avoids thundering-herd retries and improves robustness against transient throttling. Option E (Structured Outputs with strict JSON Schema validation for tool payloads) is correct because enforcing a strict JSON Schema on tool inputs and outputs guarantees that the agent emits well-formed, type-safe arguments that the downstream LOB system can parse, reducing malformed calls and injection-style errors.

Option B is wrong because executing arbitrary bash commands on production servers without validation is a severe security and reliability risk, not a robustness pattern. Option C is wrong because disabling logging and monitoring removes observability, auditability, and the ability to detect failures or misuse, which directly undermines safety and robustness.

Exam trap

AI-103 often tests whether candidates recognize that agent robustness requires guardrails and observability, luring those who prioritize raw speed by disabling logging or validation.

183
MCQhard

You are troubleshooting a performance issue where requests to an Azure OpenAI model deployment experience intermittent HTTP 429 errors. You examine Azure Monitor metrics and see that the 'Processed Tokens' metric is well below your provisioned limit, but the 'Requests' metric spikes. What is the root cause of the error?

A.The model weights have become corrupted and require redeployment.
B.The request rate (Transactions Per Second) has exceeded the provisioned limit, even though token volume is within bounds.
C.The Azure subscription has run out of monthly financial budget.
D.The Private Endpoint DNS resolution has failed.
AnswerB

Azure OpenAI applies separate quotas for tokens and requests. A spike in the Requests metric with tokens below the provisioned limit indicates the requests-per-minute or transactions-per-second ceiling was breached, which returns HTTP 429 regardless of token headroom.

Why this answer

HTTP 429 (Too Many Requests) from Azure OpenAI is triggered when the request rate — measured in Transactions Per Second (TPS) or Requests Per Minute (RPM) — exceeds the deployment's provisioned throughput, independent of token consumption. Since the Processed Tokens metric is below the limit but Requests is spiking, the rate limit on call count is the cause.

Exam trap

The trap is assuming 429 errors only occur when token quotas are exhausted — candidates overlook that request-rate (RPM/TPS) limits are enforced independently of token consumption.

How to eliminate wrong answers

Option A is wrong because corrupted model weights would produce errors or degraded output quality, not intermittent 429 rate-limit responses. Option C is wrong because running out of budget would typically result in billing alerts or service suspension, not HTTP 429 errors. Option D is wrong because Private Endpoint DNS failures manifest as connection timeouts or name resolution errors, not 429 responses.

184
Multi-Selecthard

You are optimizing an agentic workflow in Azure AI Foundry. The agent needs to solve complex reasoning problems by breaking them down into distinct sub-tasks, executing them iteratively, and reflecting on intermediate results. Which THREE architectural frameworks or patterns support this behavior? (Choose three.)

Select 3 answers
A.Reflection pattern where the agent critiques its own intermediate outputs and refines them.
B.ReAct (Reason and Act) pattern combining thought generation with tool execution steps.
C.Static hardcoded IF-ELSE decision trees without model inference.
D.Single-turn stateless completion calls with temperature set to zero.
E.Plan-and-Solve prompt strategy where the agent creates a complete execution plan before stepping through tasks.
AnswersA, B, E

The Reflection pattern directly satisfies the iterative self-critique requirement: the agent generates an output, evaluates it against the sub-task goal, then refines it before proceeding. This produces the breakdown-and-reflect loop the scenario demands, rather than a single-pass generation.

Why this answer

Option A is correct because the Reflection pattern explicitly has the agent generate an initial output, critique it, and iteratively refine intermediate results, which directly supports the required self-evaluation and improvement loop. Option B is correct because ReAct interleaves reasoning traces (thoughts) with actions/tool calls and observations, enabling iterative sub-task execution and dynamic adjustment based on intermediate results. Option E is correct because Plan-and-Solve first decomposes the problem into a complete multi-step plan and then executes the steps, matching the need to break complex reasoning into distinct sub-tasks before iterating through them.

Option C is not appropriate because static hardcoded IF-ELSE trees do not use model inference and cannot adaptively reason or reflect on intermediate outputs. Option D is not appropriate because single-turn stateless completions with temperature 0 provide no iterative loop, no memory of prior steps, and no mechanism for reflection or tool execution.

Exam trap

AI-103 often tests the misconception that deterministic single-turn calls or hardcoded logic constitute agentic reasoning, causing candidates to select options that lack iterative planning and reflection.

185
Multi-Selecthard

You are deploying an enterprise RAG application in Azure AI Foundry. You need to ensure data security and compliance across all components. Which THREE security practices should you implement? (Choose THREE)

Select 3 answers
A.Use Managed Identities with Azure RBAC for service-to-service authentication
B.Grant anonymous public network access on all AI service firewalls
C.Configure Azure Private Endpoints for Azure OpenAI and Azure AI Search
D.Store API keys in plain text configuration files committed to public GitHub repositories
E.Implement Customer-Managed Keys (CMK) via Azure Key Vault for data encryption at rest
AnswersA, C, E

Managed Identities eliminate stored credentials by issuing Microsoft Entra ID tokens that Azure RBAC then authorises, so service-to-service calls between Foundry, Azure OpenAI and Azure AI Search avoid secrets in code or config — directly satisfying the compliance requirement for credential-free authentication.

Why this answer

Option A is correct because Managed Identities combined with Azure RBAC eliminate the need to embed credentials in code or configuration, allowing the RAG application's components (e.g., Azure OpenAI, Azure AI Search, Storage) to authenticate to each other through Microsoft Entra ID tokens with least-privilege role assignments. Option C is correct because Azure Private Endpoints place Azure OpenAI and Azure AI Search on a private IP within your virtual network, removing exposure to the public internet and satisfying network isolation and data-exfiltration compliance requirements. Option E is correct because Customer-Managed Keys stored in Azure Key Vault give you control over the encryption keys protecting data at rest in Azure OpenAI, Azure AI Search, and storage accounts, which is a common regulatory requirement for key ownership and revocation.

Option B is not correct because granting anonymous public network access on AI service firewalls exposes the services to unauthenticated internet traffic and violates the security and compliance goals of the scenario. Option D is not correct because storing API keys in plain text in public GitHub repositories leaks credentials and is a severe security anti-pattern that contradicts every stated requirement.

Exam trap

AI-103 often tests whether candidates can distinguish security controls that actually protect data (Managed Identity, Private Endpoints, CMK) from obviously insecure options (public access, plaintext keys) — the trap is overthinking and selecting a plausible-sounding but irrelevant control instead of the clearly correct trio.

186
MCQmedium

You are building a RAG solution and observe that the model retrieves the correct documents but fails to use the information accurately. What is the most effective approach to improve performance?

A.Refine the system prompt instructions
B.Increase the vector index size
C.Use a smaller base model
D.Disable streaming response
AnswerA

Retrieval is already correct, so the failure lies in generation: the model is not grounding its answer in the supplied context. Refining the system prompt to instruct the model to answer strictly from retrieved documents and cite them directly addresses this grounding gap.

Why this answer

When retrieval is already returning the correct documents but the model misuses the information, the problem is in generation, not retrieval. Refining the system prompt to explicitly instruct the model how to use the retrieved context — cite it, extract the relevant passage, and avoid extrapolation — is the most direct and effective fix. This targets the actual failure mode.

Exam trap

AI-103 often tests whether candidates can localize the failure — the trap is assuming any RAG problem is a retrieval problem and reaching for index or embedding changes when the retrieval step is already working.

How to eliminate wrong answers

Option B is wrong because increasing the vector index size does not change how the model consumes retrieved context; retrieval is already correct, so a larger index only adds noise and cost. Option C is wrong because using a smaller base model reduces reasoning capability and would likely worsen the model's ability to use the retrieved information accurately. Option D is wrong because disabling streaming response only changes how tokens are delivered to the client; it has no effect on the model's accuracy or grounding behavior.

187
Multi-Selecthard

Which TWO strategies are recommended to prevent 'Model Over-Reliance' or 'Automation Bias' in agents?

Select 2 answers
A.Include a clear disclaimer that the agent is an AI and may provide incorrect information.
B.Disable the ability for the agent to say 'I don't know'.
C.Provide citations and links back to original source documents.
D.Remove all human oversight from the process.
E.Use the highest available model temperature.
AnswersA, C

A clear AI disclaimer sets appropriate expectations that output may be incorrect, directly countering automation bias by prompting users to scrutinise responses rather than accept them uncritically. This satisfies the stem's requirement to reduce over-reliance.

Why this answer

Option A is correct because a clear disclaimer that the agent is an AI and may provide incorrect information sets appropriate user expectations and prompts critical evaluation of the agent's output, directly countering automation bias (the tendency to over-trust automated systems). Option C is correct because providing citations and links back to original source documents lets users verify claims against authoritative sources, which reduces blind reliance on the model and supports grounded, evidence-based decision-making. Options B, D, and E do not belong: disabling 'I don't know' responses encourages the agent to fabricate answers instead of expressing uncertainty, removing human oversight eliminates the human-in-the-loop check that mitigates over-reliance, and using the highest available model temperature increases randomness and hallucination risk rather than improving trustworthiness.

Exam trap

AI-103 often tests responsible-AI mitigations — the trap is choosing options that increase model confidence or remove oversight, which sound like they improve the agent but actually worsen automation bias.

188
Multi-Selectmedium

When designing an evaluation pipeline in Azure AI Foundry for generative AI applications, which TWO metrics are commonly used to assess safety and risk? (Choose TWO)

Select 2 answers
A.Database transaction log growth rate
B.Storage account geo-replication latency
C.Sexual content and violence safety metrics
D.Network bandwidth throughput in megabits per second
E.Hate speech and unfairness detection
AnswersC, E

Azure AI Foundry's safety evaluators include a sexual content and violence category, scoring outputs for harmful material. This directly satisfies the requirement to assess safety and risk, unlike relevance or fluency metrics, which measure quality rather than harm.

Why this answer

Option C is correct because Azure AI Foundry's safety evaluation metrics specifically include sexual content and violence severity scores, which quantify harmful content categories in generated outputs and are part of the built-in risk and safety evaluators. Option E is correct because hate speech and unfairness detection are also standard safety metrics in Azure AI Foundry, covering hateful or discriminatory language and bias/unfairness assessments of model responses. These metrics align with the Azure AI Content Safety categories (hate, violence, sexual, self-harm) plus fairness evaluations used to assess generative AI risk.

Options A and B are incorrect because database transaction log growth rate and storage account geo-replication latency are infrastructure/storage performance measures, not safety or risk metrics for generative AI. Option D is incorrect because network bandwidth throughput in megabits per second is a networking performance metric, unrelated to evaluating content safety or fairness risks.

Exam trap

AI-103 often tests the confusion between operational metrics (e.g., latency, throughput) and safety/risk metrics, where candidates may pick infrastructure metrics instead of content safety metrics.

189
MCQmedium

Your company uses Azure Policy to enforce governance across all subscriptions. A developer attempts to deploy an Azure OpenAI resource in a region that is prohibited by corporate policy. What happens during the deployment?

A.Azure automatically moves the resource to an allowed region.
B.The resource is deployed successfully, but an email alert is sent to the administrator.
C.The deployment succeeds and automatically applies a remediation task.
D.The deployment is blocked and returns an error explaining the policy violation.
AnswerD

Azure Policy uses a deny effect that evaluates at resource-provider request time, so the deployment fails validation before any resource is created. The error names the violated policy assignment, giving the developer immediate feedback rather than allowing an out-of-region Azure OpenAI resource to provision.

Why this answer

Azure Policy operates as a guardrail at the control plane: when a deployment violates a Deny-effect policy, the Resource Manager blocks the request and returns an error describing the policy violation. The resource is never created, and the developer must remediate the request to comply.

Exam trap

The trap is assuming Azure Policy auto-remediates or auto-relocates non-compliant deployments; in reality, Deny policies hard-block the request and return an error.

How to eliminate wrong answers

Option A is wrong because Azure Policy does not silently relocate resources to allowed regions; it blocks non-compliant deployments rather than auto-correcting them. Option B is wrong because a Deny policy prevents deployment entirely — it does not allow the resource and merely send an alert. Option C is wrong because remediation tasks apply to existing non-compliant resources under DeployIfNotExists or Modify effects, not to a Deny-blocked deployment.

190
MCQmedium

You are building a document processing pipeline that reads printed English text from scanned invoices. The invoices often contain noisy backgrounds and low-contrast text. You need to extract the text as accurately as possible using the Azure AI Vision Image Analysis 4.0 Read capability. Which approach should you take?

A.Call the Read operation on the raw image without preprocessing, then post-process the returned text lines using custom regex.
B.Preprocess the image with contrast enhancement and denoising, then call the Read operation and use the returned words and lines.
C.Enable the OCR feature with a custom model trained on invoice fonts using Azure AI Vision Studio.
D.Use the Dense Captions feature to generate descriptions of the invoice text, then parse the descriptions for key fields.
AnswerB

Preprocessing improves the input quality for the Read operation, which is designed to extract printed and handwritten text from images. Enhancing contrast and reducing noise helps the OCR engine separate text from background, leading to more accurate word and line results. The returned words and lines can then be used directly, making this the most reliable approach for noisy scanned invoices.

Why this answer

The Read capability extracts text from images but performs best when the input is clear. For scanned invoices with noise and low contrast, preprocessing steps such as contrast enhancement and denoising significantly improve recognition accuracy. After preprocessing, calling Read and using the returned words and lines provides the most accurate text extraction, making this the correct approach.

Exam trap

The trap here is assuming the OCR service automatically corrects poor image quality, when in fact preprocessing is often required for noisy scans.

191
MCQmedium

You are building an agent in Azure AI Foundry that requires access to a private internal database. Which component should you configure to ensure the agent retrieves data securely without exposing the database endpoint publicly?

A.Azure Private Link and Managed Virtual Network
B.Public IP allowlisting
C.Entra ID Application Proxy
D.Shared Access Signatures (SAS)
AnswerA

Azure Private Link assigns the database a private endpoint inside your virtual network, so traffic never traverses the public internet. The managed virtual network isolates the agent's outbound calls, satisfying the requirement to retrieve data without exposing the database endpoint publicly.

Why this answer

Azure Private Link combined with a Managed Virtual Network ensures that the agent's traffic to the private internal database traverses the Azure backbone via a private endpoint, never exposing the database to the public internet. This is the standard secure pattern for private data access in Azure AI Foundry. It provides network-level isolation and prevents data exfiltration.

Exam trap

AI-103 often tests the misconception that IP allowlisting or SAS tokens provide sufficient security for private database access, when only Private Link with a Managed Virtual Network eliminates public endpoint exposure.

How to eliminate wrong answers

Option B (Public IP allowlisting) is wrong because it still exposes the database endpoint publicly and relies on IP filtering, which can be bypassed via spoofing or misconfiguration and does not prevent data exposure. Option C (Entra ID Application Proxy) is wrong because it is designed for publishing internal web applications to remote users, not for securing backend database access from an AI agent. Option D (Shared Access Signatures) is wrong because SAS tokens grant time-limited access to storage resources but do not provide network isolation or hide the database endpoint from the public internet.

192
MCQhard

You are migrating an existing solution from the legacy Text Analytics API v3.1 to the current Azure AI Language REST API. You notice changes in the JSON request body structure. Where should the document text array now be nested in the payload for a sentiment analysis request?

A.Inside the HTTP header as a base64 encoded string.
B.Directly under the root object as a 'documents' array.
C.Nested inside a 'parameters' object.
D.Nested inside an 'analysisInput' object under the root.
AnswerD

The current Azure AI Language REST API wraps documents in an 'analysisInput' object at the root, with the documents array nested inside it. The legacy v3.1 payload placed documents at the root, so this nesting change satisfies the migration requirement for sentiment analysis requests.

Why this answer

In the current Azure AI Language REST API (formerly Text Analytics), the request body for sentiment analysis nests the documents array inside an 'analysisInput' object at the root. The structure is: { "analysisInput": { "documents": [ { "id": "1", "text": "...", "language": "en" } ] }, "parameters": { ... } }. This change from the legacy v3.1 API, where documents were directly under the root, reflects a more organized payload with separate sections for input and parameters.

Exam trap

AI-103 often tests the API schema change from v3.1 to the current version, where candidates might incorrectly place the documents array at the root or inside 'parameters' instead of 'analysisInput'.

How to eliminate wrong answers

Option A is wrong because document text is not placed in the HTTP header; headers are for metadata like authentication and content type. Option B is wrong because directly under the root as a 'documents' array was the structure in the legacy v3.1 API, not the current API. Option C is wrong because the 'parameters' object contains settings like model version and opinion mining, not the documents array.

193
MCQmedium

You want to add a new tool to an agent. Which step is required to link the tool to the model?

A.Hardcode the tool logic in the system prompt.
B.Add the tool code to the global Python environment.
C.Register the tool in the agent configuration within Azure AI Foundry.
D.Update the content safety policy.
AnswerC

Tools must be declared in the agent's configuration within Azure AI Foundry so the model can invoke them during orchestration. Registration exposes the tool's schema and endpoint, satisfying the requirement to link it to the model.

Why this answer

In Azure AI Foundry, tools are exposed to an agent through the agent's configuration — you register the tool (function, Azure AI Search, Bing grounding, OpenAPI, etc.) as a tool definition so the orchestrator can pass its schema to the model and invoke it during a run. The model only knows about tools that are declared in the agent/run configuration; there is no implicit discovery from the environment. Registering the tool in the agent configuration is therefore the required linking step.

Exam trap

AI-103 often tests the misconception that simply writing tool code or mentioning it in the system prompt makes it available to the model, when the actual requirement is explicit tool registration in the agent configuration.

How to eliminate wrong answers

Option A is wrong because hardcoding tool logic in the system prompt does not create an invokable tool — the model has no callable schema, no function-calling contract, and no execution path, so it can only describe the tool in text. Option B is wrong because installing tool code in the global Python environment makes the code importable but does not expose it to the model; without a registered tool definition the agent runtime never advertises or invokes it. Option D is wrong because content safety policies govern filtering of harmful content in prompts/completions and have nothing to do with tool registration or function-calling wiring.

194
Multi-Selecthard

Your company's compliance mandate requires that all data processed by Azure AI Speech and Document Intelligence services remain encrypted using keys managed entirely by your organization. Which THREE configuration steps are required? Each correct answer presents part of the solution.

Select 3 answers
A.Assign appropriate permissions for the AI service managed identity to access the Key Vault key.
B.Store the private key as plain text in the application source code.
C.Create an Azure Key Vault and enable soft-delete and purge protection.
D.Configure the customer-managed key (CMK) identifier on the Azure AI services account properties.
E.Disable all diagnostic logging across all Azure subscriptions.
AnswersA, C, D

The AI service's managed identity must hold Key Vault permissions (such as get, wrapKey, unwrapKey) so the service can reach the customer-managed key. Without this role assignment, encryption with your own key fails authorisation, breaking the compliance mandate.

Why this answer

Option A is correct because when using customer-managed keys (CMK) with Azure AI services, the AI service's managed identity must be granted access to the Key Vault key via an access policy or RBAC role (e.g., Key Vault Crypto Service Encryption User) so the service can wrap/unwrap the data encryption key. Option C is correct because you must provision an Azure Key Vault to hold the CMK, and enabling soft-delete and purge protection is mandatory for CMK scenarios to prevent accidental or malicious key deletion that would render encrypted data unrecoverable. Option D is correct because the CMK must be bound to the Azure AI services account by setting the customer-managed key identifier (the Key Vault key URI) in the account's encryption properties, which is what actually switches encryption from Microsoft-managed keys to your organization's keys.

Option B is wrong because storing private keys in plain text in source code is a severe security anti-pattern and is never a valid configuration step. Option E is wrong because disabling diagnostic logging has no bearing on encryption key management and would actually undermine compliance and auditing requirements.

Exam trap

AI-103 often tests whether candidates know that CMK requires all three components — Key Vault with soft-delete/purge protection, managed identity permissions, and the CMK identifier on the resource — and baits them with security-theater options like hardcoding keys or disabling logging.

195
Multi-Selectmedium

Which TWO strategies are recommended for handling high-volume traffic to an Azure AI endpoint?

Select 2 answers
A.Enabling autoscaling on the endpoint.
B.Limiting access to a single user.
C.Hardcoding the IP address of the compute node.
D.Using only the 'Free' pricing tier.
E.Implementing a global load balancer (e.g., Front Door).
AnswersA, E

Autoscaling adjusts the endpoint's provisioned capacity dynamically as request volume rises, adding instances to absorb load and removing them when demand falls. This directly satisfies the high-volume traffic requirement while controlling cost during quiet periods.

Why this answer

Option A is correct because enabling autoscaling on the Azure AI endpoint dynamically adjusts the number of compute instances based on metrics such as CPU utilization, request rate, or token throughput, allowing the deployment to absorb high-volume traffic without manual intervention. Option E is correct because implementing a global load balancer such as Azure Front Door distributes incoming requests across multiple regional endpoints, provides layer-7 routing, TLS offload, caching, and failover, which collectively improve throughput and resilience under heavy load. Option B is incorrect because limiting access to a single user artificially restricts concurrency and does nothing to increase capacity for high-volume traffic.

Option C is incorrect because hardcoding the IP address of a compute node bypasses DNS-based load balancing and creates a single point of failure, preventing traffic from being spread across instances. Option D is incorrect because the Free pricing tier enforces strict rate and quota limits, making it unsuitable for high-volume production traffic.

Exam trap

AI-103 often tests the misconception that scaling can be achieved by limiting access or using free tiers, but high-volume traffic requires autoscaling and load balancing; candidates may also overlook the need for global distribution.

196
Multi-Selecthard

You are designing a disaster recovery and high availability strategy for an enterprise Azure OpenAI deployment. Which THREE architectural components or practices should you include? Each correct answer presents part of the solution.

Select 3 answers
A.Configure Azure Monitor metric alerts to detect latency spikes or availability drops.
B.Implement client-side retry and failover logic to handle transient errors and regional failovers.
C.Rely exclusively on Azure Backup to snapshot live model memory states.
D.Deploy secondary Azure OpenAI resources in a paired Azure region.
E.Store all model weights locally on client laptops for offline execution.
AnswersA, B, D

Azure Monitor metric alerts on latency spikes and availability drops give the detection layer a DR strategy requires, exposing regional degradation before users are affected. Without this telemetry, failover decisions lack the trigger data needed to act promptly.

Why this answer

Option A is correct because Azure Monitor metric alerts on latency and availability metrics provide the observability needed to detect degradation of an Azure OpenAI resource and trigger operational or automated responses before users are severely impacted. Option B is correct because Azure OpenAI returns transient errors such as HTTP 429 (rate limiting) and 5xx responses, so client-side retry with exponential backoff and failover to a secondary endpoint/region is essential for resilience and continuity. Option D is correct because deploying secondary Azure OpenAI resources in a paired Azure region enables regional redundancy and supports failover if the primary region becomes unavailable, which is a core HA/DR pattern.

Option C is not correct because Azure Backup does not snapshot live model memory states or the internal runtime state of an Azure OpenAI model; it is for supported Azure resource data, not model inference memory. Option E is not correct because Azure OpenAI models run as a managed cloud service and cannot be executed offline on client laptops, and storing model weights locally is neither supported nor part of an Azure HA/DR design.

Exam trap

AI-103 often tests the misconception that Azure Backup can protect PaaS model state — the exam expects you to recognize that Azure OpenAI DR is about regional redundancy, client failover logic, and monitoring, not VM-style backups.

197
MCQhard

You are implementing cross-domain document extraction where incoming PDFs contain complex nested tables with merged cells. You need to extract these tables accurately into structured JSON. Which capability of Azure AI Document Intelligence should you rely on?

A.The documents collection, which converts tables into Markdown format automatically.
B.The keyValuePairs collection, which automatically flattens table rows into key-value pairs.
C.The styles collection, which identifies table gridlines through computer vision edge detection.
D.The tables collection in the analyze result, which provides rowSpan, colSpan, and cell bounding regions.
AnswerD

The tables collection returns each cell with rowSpan, colSpan and bounding regions, which is exactly what merged and nested table structures require. Those span attributes let you reconstruct the grid accurately into structured JSON rather than flattening merged cells.

Why this answer

The tables collection in the Document Intelligence analyze result is the correct capability because it returns each detected table with its cells, and each cell includes rowIndex, columnIndex, rowSpan, colSpan, content, and boundingRegions/polygon coordinates. This is exactly what you need to reconstruct merged cells and nested table structure into JSON. The other collections do not preserve the grid geometry required for merged cells.

Exam trap

The trap here is confusing Markdown output (documents collection) with structured table extraction; candidates assume Markdown preserves merged cells, but it does not expose rowSpan/colSpan.

How to eliminate wrong answers

Option A is wrong because the documents collection provides Markdown output for layout/read models, but Markdown flattens merged cells and does not expose rowSpan/colSpan metadata needed for accurate reconstruction. Option B is wrong because keyValuePairs is a form-recognition construct that pairs labels with values; it does not model table grids and cannot represent merged cells. Option C is wrong because the styles collection describes font/style attributes (e.g., handwriting) detected in the document, not table gridlines or cell spans.

198
Multi-Selectmedium

You are implementing opinion mining in an application that analyzes hotel reviews. Which THREE pieces of information does opinion mining return for an evaluated sentence? (Choose three.)

Select 3 answers
A.Compiler error logs for client application code
B.Sentiment polarity (positive, negative, neutral) for the aspect
C.Target aspect (e.g., 'room', 'staff')
D.Assessment evaluation (e.g., 'clean', 'rude')
E.Network bandwidth utilization metrics
AnswersB, C, D

Opinion mining returns a polarity label per aspect, classifying each as positive, negative or neutral. This satisfies the stem's requirement by attaching sentiment to the specific target aspect rather than to the whole sentence, enabling aspect-level scoring of hotel reviews.

Why this answer

Opinion mining (aspect-based sentiment analysis) decomposes an evaluated sentence into its key components: option B is correct because it returns the sentiment polarity (positive, negative, or neutral) associated with a specific aspect, which is the core output of the analysis. Option C is correct because it identifies the target aspect, such as 'room' or 'staff', i.e., the entity or feature being evaluated in the sentence. Option D is correct because it extracts the assessment evaluation, such as 'clean' or 'rude', which is the descriptive term expressing the opinion about the aspect.

Options A and E are incorrect because compiler error logs and network bandwidth utilization metrics are unrelated to natural language opinion mining outputs; they belong to software development and network monitoring domains, respectively.

Exam trap

AI-103 often tests the misconception that opinion mining returns only overall sentiment, ignoring the aspect-based breakdown; candidates may overlook that it provides target aspect, assessment, and polarity as separate outputs.

199
Multi-Selecthard

Which THREE features are provided by the Azure AI Foundry evaluation service?

Select 3 answers
A.Visualization of evaluation results
B.Built-in metrics for RAG (e.g., coherence, fluency)
C.Automated model fine-tuning based on failures
D.Custom evaluation code integration
E.Automatic user interface generation
AnswersA, B, D

Evaluation runs surface results through portal charts and comparison views, letting teams inspect metric scores across runs and models. This satisfies the stem's requirement for native result presentation within the Azure AI Foundry evaluation experience.

Why this answer

Option A is correct because the Azure AI Foundry evaluation service provides a results dashboard/portal experience where you can visualize evaluation runs, compare metrics across models or datasets, and drill into per-row scores. Option B is correct because the service ships built-in evaluators for RAG and generative AI scenarios, including quality metrics such as coherence, fluency, groundedness, and relevance, which can be applied without writing custom scoring logic. Option D is correct because the evaluation service supports custom evaluators, allowing you to bring your own evaluation code (for example, Python-based custom metrics) and register it alongside built-in evaluators.

Option C is not part of the evaluation service: fine-tuning is a separate model customization capability, and evaluation does not automatically retrain or fine-tune models based on failures. Option E is not provided by the evaluation service: UI generation is unrelated to evaluation, which focuses on measuring and reporting model output quality rather than generating application interfaces.

Exam trap

AI-103 often tests whether candidates can distinguish evaluation capabilities from adjacent Foundry features — the trap is selecting 'automated fine-tuning' because it sounds like a natural follow-up to evaluation, but the evaluation service only measures, it does not retrain.

200
MCQhard

You need to implement token-based authentication using Azure AD (Microsoft Entra ID) for a Python application consuming an Azure OpenAI resource. Which authorization header format must your application use to authenticate successfully?

A.Authorization: API-Key <api_key_value>
B.X-MS-Token: <access_token>
C.Authorization: Bearer <access_token>
D.Ocp-Apim-Subscription-Key: <access_token>
AnswerC

Microsoft Entra ID issues OAuth 2.0 access tokens that are presented as bearer credentials; the Azure OpenAI data plane expects the token in the Authorization header prefixed with the literal scheme name Bearer, followed by a space and the raw token string, satisfying the stem's token-based authentication requirement.

Why this answer

Azure OpenAI and most Azure AD-protected REST APIs expect OAuth 2.0 bearer tokens in the `Authorization: Bearer <access_token>` header. When using Microsoft Entra ID (Azure AD) token-based authentication, the application acquires an access token via MSAL or the Azure Identity SDK and passes it in this standard header format. This is the RFC 6750-compliant way to present a bearer token.

Exam trap

AI-103 often tests header format confusion, tricking candidates who pick `api-key` or API Management headers instead of the RFC 6750 bearer token format for Entra ID auth.

How to eliminate wrong answers

Option A is wrong because `Authorization: API-Key <api_key_value>` is not a valid scheme — API key authentication for Azure OpenAI uses the `api-key` header (not Authorization), and it is not token-based Entra ID auth. Option B is wrong because `X-MS-Token` is not a recognized authentication header for Azure OpenAI or Entra ID-protected resources. Option D is wrong because `Ocp-Apim-Subscription-Key` is used by Azure API Management to identify a subscription, not for Entra ID bearer token authentication, and it expects a subscription key, not an access token.

201
Multi-Selectmedium

Which THREE types of tools can be integrated into an Azure AI Agent?

Select 3 answers
A.Azure AI Search indexes.
B.Custom Python functions.
C.Hard drive file systems (local).
D.External REST APIs.
E.Operating system kernel drivers.
AnswersA, B, D

Azure AI Search indexes plug in as a knowledge tool, letting the agent run vector and keyword queries over indexed content for retrieval-augmented grounding. This satisfies the integration requirement by supplying managed enterprise data retrieval without custom orchestration code.

Why this answer

Azure AI Agents support tool integration through several mechanisms, and Azure AI Search indexes (A) are correct because they can be attached as knowledge/retrieval tools, enabling the agent to ground responses in indexed enterprise data via the Azure AI Search service. Custom Python functions (B) are correct because agents can call user-defined functions (function calling/tool use) to execute custom logic, calculations, or data processing at runtime. External REST APIs (D) are correct because agents can invoke OpenAPI-specified or HTTP-based tools to reach external services and return results into the conversation.

Hard drive file systems (C) are not a supported agent tool type, since agents run as cloud services without direct access to a user's local disk, and operating system kernel drivers (E) are not integrable tools because agents operate at the application/service layer, not the OS kernel level.

Exam trap

The trap here is assuming agents can access local resources like hard drives or kernel drivers because they 'run code' — the exam tests that agent tools are limited to cloud-hosted, sandboxed integrations (Search, Python functions, REST APIs).

202
MCQeasy

You are creating a custom prompt template in Azure AI Foundry. You want to insert the user's input safely while preventing prompt injection vulnerabilities. How should you design the template structure?

A.Remove all spaces and punctuation from the user input
B.Concatenate user input directly into the middle of the system prompt string
C.Use explicit XML tags or markdown delimiters to separate system instructions from user inputs
D.Encode all user inputs using Base64 before sending to the model
AnswerC

Delimiting user input with XML tags or markdown fences gives the model an explicit boundary between system instructions and untrusted content, so injected text is treated as data rather than instructions. This satisfies the stem's prompt injection prevention requirement.

Why this answer

Wrapping user input in explicit XML tags or markdown delimiters (e.g., <user_input>...</user_input>) creates a clear structural boundary between trusted system instructions and untrusted user content. This lets the model distinguish instruction context from data context, which is the recommended mitigation for prompt injection in Azure AI Foundry prompt templates. It preserves the user's actual input while reducing the chance that injected text is interpreted as a system directive.

Exam trap

AI-103 often tests the misconception that encoding or sanitizing characters (Base64, stripping punctuation) secures prompts, when the real answer is structural separation of instructions from user data via delimiters.

How to eliminate wrong answers

Option A is wrong because stripping spaces and punctuation destroys the semantic meaning of user input and does not actually prevent injection — attackers can still craft payloads without punctuation. Option B is wrong because concatenating raw user input directly into the system prompt is the classic prompt injection vulnerability; the model cannot tell where instructions end and user data begins. Option D is wrong because Base64 encoding is reversible and the model can still decode and act on injected instructions; it adds no security boundary and degrades usability.

203
MCQmedium

You are analyzing survey responses. You want to categorize each response into one of three predefined business categories ('Billing', 'Technical Support', 'General Inquiry'). Which Azure AI Language feature should you use?

A.Key phrase extraction
B.Custom text classification
C.Extractive summarization
D.Prebuilt Named Entity Recognition
AnswerB

Custom text classification trains a model on your labelled examples to assign each response to one of the three predefined categories. It satisfies the single-label, fixed-category requirement, unlike sentiment analysis or key phrase extraction, which do not map text to custom business categories.

Why this answer

Custom text classification is designed to categorize text into predefined custom categories that you define and train with your own data. Since you have three specific business categories, you should use custom text classification to train a model that assigns each response to one of these categories.

Exam trap

AI-103 often tests the difference between classification and other NLP features like NER or key phrase extraction, and candidates may confuse categorization with entity recognition.

How to eliminate wrong answers

Option A (Key phrase extraction) is wrong because it extracts important phrases but does not categorize text into predefined classes. Option C (Extractive summarization) is wrong because it produces a summary by extracting key sentences, not classification. Option D (Prebuilt Named Entity Recognition) is wrong because it identifies entities like people, places, and organizations, but does not classify text into custom categories.

204
Multi-Selectmedium

You are reviewing the JSON response of a sentiment analysis API call from the Azure AI Language service. Which THREE properties or confidence scores are returned in the standard response payload for a given document?

Select 3 answers
A.Sentence-level sentiment and confidence scores
B.Confidence scores for positive, neutral, and negative sentiment classes
C.Exact translation of the text into English
D.Overall document sentiment (e.g., positive, negative, neutral, mixed)
E.Grammar and spelling correction suggestions
AnswersA, B, D

Sentence-level sentiment and confidence scores are returned because Azure AI Language evaluates each sentence independently, then aggregates them into document-level results. This satisfies the stem's requirement for a standard payload property: the JSON includes a sentences array, each entry carrying its own sentiment label and positive, neutral, and negative confidence scores.

Why this answer

Option A is correct because the Azure AI Language sentiment analysis response includes a 'sentences' array where each sentence carries its own 'sentiment' label and 'confidenceScores' (positive, neutral, negative), enabling sentence-level analysis. Option B is correct because every document and sentence in the payload contains a 'confidenceScores' object with numeric values for the positive, neutral, and negative classes. Option D is correct because the top-level document object returns an overall 'sentiment' value that can be positive, negative, neutral, or mixed (mixed applies when sentence sentiments conflict).

Option C is incorrect because sentiment analysis does not perform translation; that is a separate Azure AI Translator capability. Option E is incorrect because grammar and spelling correction is not part of the sentiment analysis response payload.

Exam trap

AI-103 often tests whether candidates confuse the outputs of different Azure AI Language features — the trap is selecting translation or grammar correction because they sound like plausible text analytics outputs, but sentiment analysis only returns sentiment and confidence scores.

205
MCQeasy

You are provisioning a multi-service Azure AI resource using an Azure Resource Manager (ARM) template. Which resource type should you specify in the template for a generic multi-service cognitive services account?

A.Microsoft.AI/cognitiveServices
B.Microsoft.CognitiveServices/projects
C.Microsoft.MachineLearningServices/workspaces
D.Microsoft.CognitiveServices/accounts
AnswerD

Microsoft.CognitiveServices/accounts is the ARM resource type that provisions a multi-service Azure AI account, letting one key and endpoint serve Vision, Language and other services. It directly satisfies the stem's requirement for a generic multi-service cognitive services account rather than a single-service resource type.

Why this answer

In Azure Resource Manager templates, a multi-service Azure AI (Cognitive Services) account is declared with the resource type 'Microsoft.CognitiveServices/accounts'. This resource type provisions a single account that exposes multiple AI service endpoints (such as Vision, Language, and Speech) under one key and endpoint, which is exactly what a generic multi-service resource requires.

Exam trap

AI-103 often tests the exact ARM resource type string, so candidates who guess 'Microsoft.AI/cognitiveServices' or confuse it with Machine Learning workspaces pick an invalid or wrong provider.

How to eliminate wrong answers

Option A is wrong because 'Microsoft.AI/cognitiveServices' is not a valid ARM resource provider namespace; the correct provider is 'Microsoft.CognitiveServices'. Option B is wrong because 'Microsoft.CognitiveServices/projects' is a child resource used for AI Foundry projects, not the top-level multi-service account. Option C is wrong because 'Microsoft.MachineLearningServices/workspaces' provisions an Azure Machine Learning workspace, which is a different service for ML model training and deployment, not a multi-service cognitive account.

206
MCQeasy

You are building a customer service agent in Azure AI Foundry. The agent needs to call an external inventory management REST API when customers ask about stock levels. Which feature of Azure AI Agent Service should you implement to allow the agent to interact with this external API?

A.Function calling (Tools)
B.Prompt shields
C.Azure AI Content Safety filters
D.Azure Cognitive Search index
AnswerA

Function calling lets the agent invoke declared tools, so you define the inventory REST API as a callable function with parameters. The agent then issues the call and incorporates the response, satisfying the requirement to interact with an external API.

Why this answer

Function calling (Tools) in Azure AI Agent Service allows the agent to invoke external APIs by defining tool schemas that describe the API's parameters and expected responses. When a customer asks about stock levels, the agent emits a structured function call that the runtime executes against the inventory REST API, then feeds the result back into the model to formulate a natural-language answer. This is the purpose-built mechanism for connecting agents to external systems.

Exam trap

AI-103 often tests whether candidates confuse safety/retrieval features (Prompt shields, Content Safety, Search indexes) with the actual tool-invocation mechanism, so pick the option that describes an outbound call capability.

How to eliminate wrong answers

Option B is wrong because Prompt shields are a safety feature that detects and blocks prompt-injection and jailbreak attempts in user input, not a mechanism for calling external APIs. Option C is wrong because Azure AI Content Safety filters classify and block harmful content categories (hate, violence, sexual, self-harm) and do not provide outbound API invocation. Option D is wrong because an Azure Cognitive Search index is a retrieval data store for grounding RAG responses, not an integration layer for calling a live REST endpoint.

207
Multi-Selectmedium

When implementing grounding in a RAG application using Azure AI Foundry, which TWO practices help minimize hallucinations in model outputs? (Choose TWO)

Select 2 answers
A.Adding explicit system prompt instructions telling the model to refuse answers not supported by context
B.Including source document chunk citations in the prompt context alongside the text
C.Disabling content safety filters to allow unrestricted generation
D.Setting the model temperature parameter to 2.0 to maximize creativity
E.Removing all source context documents from the prompt entirely
AnswersA, B

Explicit system prompt instructions constrain the model to answer only from retrieved context and refuse otherwise, directly satisfying the grounding requirement by preventing unsupported generation. This refusal behaviour reduces hallucination when retrieved documents lack the answer, forcing the model to acknowledge gaps rather than fabricate details.

Why this answer

Option A is correct because explicit system prompt instructions that tell the model to refuse or say it doesn't know when the retrieved context does not support an answer constrain the model to grounded responses and reduce fabricated content. Option B is correct because including source document chunk citations alongside the retrieved text in the prompt context gives the model verifiable references and encourages it to anchor its output to the supplied evidence rather than inventing facts. Option C is incorrect because disabling content safety filters removes guardrails and does nothing to improve grounding; it can actually increase harmful or unsupported output.

Option D is incorrect because setting temperature to 2.0 maximizes randomness and creativity, which increases hallucination risk rather than reducing it. Option E is incorrect because removing all source context documents eliminates the grounding data entirely, forcing the model to rely on parametric memory and making hallucinations far more likely.

Exam trap

AI-103 often tests the misconception that creativity settings or removing filters improve RAG quality, when grounding actually requires low temperature, retained context, and explicit refusal instructions.

208
Multi-Selecteasy

You need to extract key concepts from customer feedback. Which TWO characteristics describe key phrase extraction in Azure AI Language? (Choose two.)

Select 2 answers
A.It evaluates the emotional tone of sentences.
B.It requires a pre-defined taxonomy of thousands of categories.
C.It works well on unstructured text documents.
D.It returns a list of strings denoting the main talking points.
E.It automatically translates documents into English.
AnswersC, D

Key phrase extraction accepts raw, unstructured text such as free-form customer feedback, with no labelling or formatting required. This satisfies the scenario's need to mine concepts directly from feedback documents without preprocessing into structured schemas.

Why this answer

Option C is correct because Azure AI Language key phrase extraction is designed to process unstructured text documents, such as customer feedback, reviews, or free-form comments, without requiring any special formatting or pre-labeling. Option D is correct because the Key Phrase Extraction API returns a list of strings representing the main talking points or key phrases found in the input text, which is exactly what is needed to extract key concepts from customer feedback. Option A is incorrect because evaluating emotional tone is the job of sentiment analysis, not key phrase extraction.

Option B is incorrect because key phrase extraction does not rely on a pre-defined taxonomy of thousands of categories; that describes custom text classification or entity linking with a taxonomy. Option E is incorrect because automatic translation is a separate Azure AI service (Translator), not a feature of key phrase extraction.

Exam trap

AI-103 often tests the confusion between key phrase extraction and sentiment analysis or custom classification, so candidates must remember key phrase extraction returns main talking points as strings, not emotions or categories.

209
MCQhard

An agent is performing poorly on multi-hop reasoning tasks. What architectural pattern should you implement to improve performance?

A.Increase the temperature to 1.0.
B.Switch to a smaller model to increase speed.
C.Decrease the max_tokens parameter.
D.Use a Chain-of-Thought prompting strategy in the agent's system prompt.
AnswerD

Chain-of-Thought prompting makes the agent externalise intermediate reasoning steps, letting it chain facts across hops instead of jumping to an answer. This directly targets the multi-hop reasoning weakness the stem describes, improving accuracy on sequential inference tasks.

Why this answer

Chain-of-Thought (CoT) prompting instructs the model to reason step by step before producing a final answer, which is the standard architectural pattern for improving multi-hop reasoning in agents. Embedding CoT guidance in the agent's system prompt encourages intermediate reasoning steps that connect multiple facts or tool calls.

Exam trap

AI-103 often tests the misconception that tuning sampling parameters (temperature, max_tokens) or swapping model size improves reasoning, when the actual lever for multi-hop tasks is the prompting/architectural pattern.

How to eliminate wrong answers

Option A is wrong because raising temperature to 1.0 increases randomness and creativity, which degrades deterministic multi-hop reasoning rather than improving it. Option B is wrong because switching to a smaller model reduces reasoning capability — smaller models generally perform worse on complex multi-hop tasks. Option C is wrong because decreasing max_tokens truncates the model's output, cutting off the intermediate reasoning steps that multi-hop tasks require.

210
MCQhard

You are auditing an Azure AI Document Intelligence solution for data privacy compliance. Documents contain sensitive Personally Identifiable Information (PII). When using prebuilt models or custom models, how is data handled by Microsoft regarding model training?

A.Training data uploaded for custom models is made publicly available in the Azure AI gallery after 30 days.
B.Customer data and custom model training data are encrypted at rest and in transit, and are never used to train Microsoft foundation models.
C.Data privacy controls require you to deploy a local container, as cloud APIs store training documents indefinitely.
D.All submitted documents are automatically used to retrain the global prebuilt models overnight.
AnswerB

Microsoft guarantees that customer data and custom model training data remain encrypted at rest and in transit, and are never repurposed to train Microsoft foundation models. This directly satisfies the stem's PII privacy constraint, confirming that prebuilt and custom model processing does not leak sensitive data into shared Microsoft training corpora.

Why this answer

Microsoft's Azure AI Document Intelligence service treats customer data with strict privacy controls: all uploaded documents and custom model training data are encrypted at rest (AES-256) and in transit (TLS 1.2+), and Microsoft contractually commits that customer data is never used to train or improve Microsoft's foundation models. This aligns with Microsoft's Responsible AI and data privacy commitments, ensuring that sensitive PII remains isolated to the customer's resource.

Exam trap

AI-103 often tests the misconception that cloud AI services automatically use customer data for model training, when in fact Microsoft's default is to never use customer data for foundation model training without explicit consent.

How to eliminate wrong answers

Option A is wrong because Microsoft does not publish customer training data to any public gallery; custom models remain private to the Azure subscription. Option C is wrong because while Docker containers are available for on-premises deployment, cloud APIs do not store training documents indefinitely — they are retained only as needed for model training and can be deleted by the customer. Option D is wrong because prebuilt models are trained by Microsoft on its own datasets, not on customer-submitted documents, and no automatic overnight retraining with customer data occurs.

211
MCQeasy

What is the purpose of a 'Resource Group' in the context of Azure AI solutions?

A.To act as a logical container for managing related resources.
B.To provide high availability for the service.
C.To enforce network firewall rules.
D.To store the model weights.
AnswerA

A resource group is a logical container that groups related Azure resources so they share lifecycle, access control and deployment management. This satisfies the stem's requirement by providing that organisational boundary for Azure AI solution components.

Why this answer

A Resource Group in Azure is a logical container that holds related resources for an Azure solution, allowing you to manage, deploy, monitor, and track billing for resources as a group. It provides a way to organize resources by lifecycle, department, or project, and acts as the scope for RBAC and Azure Policy assignments. It does not inherently provide high availability, network security, or storage for model artifacts.

Exam trap

AI-103 often tests the misconception that a Resource Group provides operational features like high availability or security, when it is purely a logical management and governance boundary.

How to eliminate wrong answers

Option B is wrong because high availability is achieved through redundancy features like availability zones, paired regions, or load balancing, not through a Resource Group. Option C is wrong because network firewall rules are enforced by Azure Firewall, NSGs, or the resource's own firewall settings, not by the Resource Group. Option D is wrong because model weights are stored in storage accounts, container registries, or model registries, not in a Resource Group.

212
MCQeasy

You are creating a Language resource in the Azure portal. Which blade should you navigate to if you need to retrieve your endpoint URL and subscription keys for your application configuration?

A.Diagnostic settings
B.Pricing tier
C.Keys and Endpoint
D.Access control (IAM)
AnswerC

The Keys and Endpoint blade exposes the resource's endpoint URL, key1 and key2 subscription keys, and region, which are the exact values the stem requires for application configuration. This blade is the designated location for retrieving those credentials within the Azure portal.

Why this answer

The 'Keys and Endpoint' blade in an Azure AI Language resource provides the endpoint URL and the subscription keys (Key1 and Key2) required for authenticating client applications. These credentials are essential for configuring your application to call the Language service APIs. This blade is specifically designed to surface the connection information needed for development and integration.

Exam trap

AI-103 often tests the confusion between resource management blades (like IAM, Diagnostic settings) and the specific blade that provides authentication credentials, so candidates might incorrectly choose Access control (IAM) thinking it relates to keys.

How to eliminate wrong answers

Option A is wrong because Diagnostic settings are used to configure logging and metrics for monitoring the resource, not to retrieve authentication credentials. Option B is wrong because the Pricing tier blade allows you to view or change the service tier (e.g., Free, Standard), but does not display endpoint URLs or keys. Option D is wrong because Access control (IAM) is for managing role-based access control (RBAC) assignments to the resource, not for obtaining the service keys or endpoint.

213
MCQeasy

You are provisioning an Azure AI Language resource and want to ensure that all telemetry and activity logs are retained for compliance auditing over a 365-day period. Where should you configure this retention policy?

A.In the resource's Diagnostic settings by specifying a retention period on a storage account destination.
B.In the Microsoft Defender for Cloud security policy blade.
C.In the Azure AI Language service Studio configuration panel.
D.In the Azure Cost Management budget alert settings.
AnswerA

Diagnostic settings route resource logs to a storage account, where the retention period is set per log category. Specifying 365 days satisfies the compliance requirement, since Azure AI Language telemetry is only retained long-term through a diagnostic settings destination, not the resource's own transient logging.

Why this answer

Diagnostic settings in Azure allow you to configure the collection and retention of telemetry and activity logs. By specifying a retention period (e.g., 365 days) on a storage account destination, you ensure logs are retained for compliance auditing. This is the correct place to set retention policies for Azure AI Language resource logs.

Exam trap

AI-103 often tests the confusion between diagnostic settings and other security or cost features, where candidates might incorrectly choose Defender for Cloud or Cost Management for log retention instead of Diagnostic settings.

How to eliminate wrong answers

Option B is wrong because Microsoft Defender for Cloud security policy blade is for security posture management and threat protection, not for configuring log retention. Option C is wrong because the Azure AI Language service Studio configuration panel is for managing model training and deployment, not for telemetry retention. Option D is wrong because Azure Cost Management budget alert settings are for monitoring spending, not for log retention.

214
Multi-Selecthard

You are evaluating the performance of a custom text classification model in Language Studio. Which THREE evaluation metrics are provided to assess model quality? (Choose three.)

Select 3 answers
A.HTTP request latency in milliseconds
B.F1-score
C.Precision
D.CPU utilization percentage
E.Recall
AnswersB, C, E

F1-score is the harmonic mean of precision and recall, giving a single balanced quality figure per class. Language Studio reports it for custom text classification evaluation, satisfying the requirement to assess model quality where both false positives and false negatives matter.

Why this answer

In Azure AI Language custom text classification, the evaluation page in Language Studio reports standard classification quality metrics: F1-score (B), Precision (C), and Recall (E). Precision measures the proportion of predicted labels that are correct, Recall measures the proportion of actual labels that were correctly identified, and F1-score is the harmonic mean of Precision and Recall, giving a balanced single-number summary of model quality. These three metrics are computed per class and as overall/macro averages, which is exactly what Language Studio surfaces for assessing a custom text classification model.

HTTP request latency (A) and CPU utilization percentage (D) are operational/infrastructure performance measures, not model-quality evaluation metrics, so they are not provided for assessing classification accuracy.

Exam trap

AI-103 often tests the confusion between model evaluation metrics and operational metrics like latency or CPU, leading candidates to select irrelevant options.

215
MCQmedium

When using Prompt Flow, you notice that your flow is failing at the 'aggregate' node. What is the most likely cause?

A.The input data from the previous node does not match the expected schema of the aggregate node.
B.The system prompt is too long.
C.The search index is empty.
D.The model is too busy.
AnswerA

The aggregate node expects a specific input schema, typically a list of variant outputs. If the preceding node emits a mismatched structure or type, the flow fails at aggregation, making schema incompatibility the most likely cause.

Why this answer

The aggregate node in Prompt Flow is used to reduce or summarize outputs from a loop (e.g., computing an average or concatenating results). It expects a specific input schema—typically a list or a structured object produced by the preceding node. If the upstream node emits data that does not match that schema (wrong type, missing keys, or not a list), the aggregate node fails.

Exam trap

AI-103 often tests whether candidates attribute all flow failures to model or prompt issues, when the aggregate node failure is actually a data schema mismatch from the upstream node.

How to eliminate wrong answers

Option B is wrong because an overly long system prompt would cause model-side errors (e.g., context length exceeded) at an LLM node, not specifically at the aggregate node. Option C is wrong because an empty search index affects retrieval nodes and would produce empty results, not an aggregate schema failure. Option D is wrong because model busyness causes throttling (HTTP 429) at LLM nodes, which is unrelated to the aggregate node's input validation.

216
MCQhard

You are designing a RAG solution in Azure AI Foundry where sensitive enterprise documents must be retrieved. Users should only see search results corresponding to their security clearance level. How should you implement document-level access control in Azure AI Search?

A.Store user security groups in document metadata and apply OData filter expressions during search queries
B.Configure Microsoft Entra ID authentication on the Azure OpenAI endpoint
C.Encrypt the search index using customer-managed keys (CMK) in Azure Key Vault
D.Use Azure AI Content Safety to redact sensitive keywords before indexing
AnswerA

Storing group identifiers in document metadata and filtering with OData expressions lets Azure AI Search return only documents matching the caller's clearance. The filter is applied at query time, enforcing document-level access control within the RAG retrieval step.

Why this answer

Document-level access control in Azure AI Search is implemented by storing security identifiers (user or group IDs) in document metadata fields and applying OData filter expressions at query time to restrict results to documents the caller is authorized to see. The application passes the user's group memberships as filter parameters, and Azure AI Search returns only matching documents. This enforces security trimming at the retrieval layer, which is essential for RAG scenarios where the LLM must not receive unauthorized content.

Exam trap

AI-103 often tests whether candidates confuse authentication (who can call the service) with authorization (which documents a user can retrieve) — the trap is picking Entra ID or CMK when the requirement is per-user document filtering.

How to eliminate wrong answers

Option B is wrong because Entra ID authentication on the Azure OpenAI endpoint only controls who can call the model — it does not filter which documents are retrieved from the search index, so an authorized user could still retrieve documents above their clearance. Option C is wrong because CMK encryption protects data at rest but does not enforce per-user access control at query time; any caller with index permissions can read all documents. Option D is wrong because Content Safety redacts sensitive keywords based on content classification, not on the user's security clearance, and it operates before indexing rather than at query time.

217
MCQmedium

You are building an Azure AI Document Intelligence solution to process US W-2 tax forms. The forms are scanned at varying resolutions and contain tables with employee wage details. You need to extract specific fields such as wages, tips, and other compensation, and social security wages. You want to minimize development effort and ensure high accuracy. Which approach should you use?

A.Train a custom neural model using labeled samples of your W-2 forms.
B.Use the prebuilt tax model for US W-2 forms in Azure AI Document Intelligence.
C.Use the prebuilt invoice model and map the extracted fields to W-2 fields.
D.Use the general document model to extract all text and then parse the fields using custom code.
AnswerB

Azure AI Document Intelligence provides a prebuilt tax model specifically for US W-2 forms, designed to extract key fields like wages, tips, and social security wages with high accuracy. It eliminates the need for custom training and reduces development effort, directly addressing the requirement to minimize effort while ensuring accuracy for this standard form.

Why this answer

The prebuilt tax model for US W-2 forms is specifically trained to extract fields like wages, tips, and social security wages from W-2 documents. It provides high accuracy out of the box, eliminating the need for custom model training and reducing development effort. This aligns with the requirement to minimize effort while ensuring accurate extraction from standard tax forms.

Exam trap

The trap here is assuming that a custom model is always needed for high accuracy, overlooking that prebuilt models exist for common form types like W-2.

218
MCQmedium

Your enterprise customer service department receives thousands of support emails daily. Management wants a system that ingests long support tickets and automatically outputs a concise summary highlighting the most critical issues. Which Azure AI Language service feature should you implement?

A.Named Entity Recognition (NER)
B.Text summarization (Abstractive or Extractive)
C.Key phrase extraction
D.Opinion mining
AnswerB

Text summarization condenses long support tickets into concise output, satisfying the requirement to ingest lengthy emails and surface critical issues. Abstractive summarization generates new phrasing capturing key points, while extractive selects salient existing sentences, both meeting the daily high-volume summarisation need.

Why this answer

Text summarization in Azure AI Language is designed to condense long documents into concise summaries, exactly matching the requirement to ingest long support tickets and output a concise summary highlighting critical issues. Both abstractive (generates new sentences) and extractive (selects key sentences) modes are available, and the service can handle large volumes of text. The other features focus on extracting specific elements (entities, key phrases, opinions) rather than producing a coherent summary.

Exam trap

AI-103 often tests the distinction between summarization and other text analytics features, and candidates may confuse key phrase extraction with summarization because both identify important content; however, key phrase extraction returns a list of phrases, not a coherent summary.

How to eliminate wrong answers

Option A is wrong because Named Entity Recognition (NER) identifies and categorizes entities (e.g., people, organizations, dates) but does not generate a summary; it returns a list of entities with offsets. Option C is wrong because Key Phrase Extraction returns a list of important phrases but does not produce a coherent, readable summary that highlights critical issues. Option D is wrong because Opinion Mining (a feature of sentiment analysis) extracts subjective opinions and their targets, not a summary of the overall content.

219
MCQmedium

You are building an agent in Azure AI Foundry using a prompt flow. You need to ensure that the agent only uses company-approved documentation for its responses. Which feature should you implement to meet this requirement?

A.Enable prompt tuning
B.Implement system message constraints
C.Configure Grounding with data
D.Deploy a fine-tuned model
AnswerC

Grounding with data binds the model's responses to a specified index of company-approved documentation, retrieving passages at query time rather than relying on parametric knowledge. This directly satisfies the constraint that responses draw only from approved sources, since ungrounded generation could surface arbitrary content.

Why this answer

Grounding with data (e.g., Azure AI Search index, Azure Blob, or other approved data sources) constrains the model's responses to a curated knowledge base, ensuring the agent only answers from company-approved documentation. This is the standard RAG pattern in Azure AI Foundry and directly satisfies the 'only approved documentation' requirement.

Exam trap

AI-103 often tests the confusion between grounding (retrieval-based restriction to approved data) and fine-tuning (behavior/style adaptation) — candidates pick fine-tuning thinking it 'teaches' the model company data, but fine-tuning does not provide verifiable, updatable grounding.

How to eliminate wrong answers

Option A is wrong because prompt tuning adjusts the prompt template/parameters but does not restrict the model's knowledge source — the model can still hallucinate or use pretrained knowledge. Option B is wrong because system message constraints are soft instructions the model may ignore and do not enforce a data boundary. Option D is wrong because fine-tuning bakes in behavior/style but does not guarantee the model only cites approved documents, and it is expensive and slow to update when docs change.

220
MCQhard

You are deploying a Custom Vision object detection model as a Docker container on an Azure Kubernetes Service (AKS) cluster. During load testing, you notice high memory consumption and container restarts. Which configuration setting in the deployment manifest should you review to ensure stability?

A.Billing endpoint URL syntax.
B.Azure Blob Storage connection string persistence.
C.Custom Vision iteration publishing name environment variable.
D.Kubernetes resource requests and limits for memory and CPU.
AnswerD

Resource requests and limits govern how much memory and CPU Kubernetes reserves and caps for each container. Setting appropriate limits prevents a container from exhausting node memory, which causes the out-of-memory kills and restarts observed during load testing.

Why this answer

High memory consumption and container restarts in Kubernetes are classic symptoms of missing or misconfigured resource requests and limits. Setting appropriate memory and CPU requests/limits in the deployment manifest ensures the scheduler places the pod correctly and prevents OOMKills.

Exam trap

AI-103 often tests the confusion between application configuration (billing, model iteration) and Kubernetes resource management — candidates may overlook that container stability is governed by requests/limits, not app settings.

How to eliminate wrong answers

Option A is wrong because the billing endpoint URL is a configuration for the Custom Vision container to report usage, not a factor in memory stability. Option B is wrong because Blob Storage connection strings are for model/data persistence, not runtime resource management. Option C is wrong because the iteration publishing name is an environment variable that selects which model iteration to serve, not a resource control.

221
Multi-Selectmedium

Which TWO image file formats are natively supported by Azure AI Vision for image analysis? (Choose two.)

Select 2 answers
A.MP3
B.MKV
C.WAV
D.JPEG
E.PNG
AnswersD, E

JPEG is natively supported by Azure AI Vision for image analysis, satisfying the stem's requirement for a supported format. The service accepts JPEG, PNG, GIF and BMP, so JPEG qualifies without conversion. Its lossy compression keeps payloads small, which suits the synchronous Image Analysis API's size limits.

Why this answer

Azure AI Vision's Image Analysis API natively accepts JPEG (option D) and PNG (option E) as image payloads, since these are the standard raster formats the service decodes for feature extraction such as captioning, OCR, and object detection. JPEG is supported because it is the most common compressed photographic format, and PNG is supported because it preserves lossless detail and transparency for graphics and text-heavy images. The remaining options do not belong: MP3 (A) and WAV (C) are audio codecs, and MKV (B) is a video container format, none of which are image file formats accepted by the Image Analysis endpoint.

Exam trap

AI-103 often tests basic format support for Vision — the trap is selecting audio/video formats (MP3, MKV, WAV) that appear in the option list as distractors but are never valid image inputs.

222
Multi-Selecthard

You are configuring tool integration for an agent. Which THREE aspects must be clearly defined in the tool definition for the agent to correctly use it?

Select 3 answers
A.The tool's description, explaining what it does and when to call it.
B.The total number of requests allowed per hour.
C.The authentication credentials (hardcoded).
D.The tool's name.
E.The JSON schema for the function arguments.
AnswersA, D, E

The description tells the agent what the tool does and when to invoke it, enabling correct tool selection among available options. Without a clear description, the agent cannot reliably decide when calling the tool is appropriate.

Why this answer

Option A is correct because the tool's description tells the agent what the tool does and, critically, when it should be invoked, which guides the model's decision to call it. Option D is correct because the tool's name is the identifier the agent uses to reference and invoke the specific function in its tool-call output. Option E is correct because the JSON schema for the function arguments defines the exact parameter names, types, and required fields the agent must supply, ensuring valid, parseable arguments.

Option B is not required in the tool definition; rate limiting is an operational/policy concern handled outside the tool's schema. Option C is wrong because hardcoding authentication credentials in the tool definition is insecure and unnecessary—credentials should be managed via secure configuration, not embedded in the tool spec.

Exam trap

AI-103 often tests whether candidates include operational metadata (rate limits, credentials) in the tool definition; the trap is confusing runtime configuration with the model-facing contract of name, description, and argument schema.

223
MCQhard

You are designing a multimodal solution that combines Azure AI Vision dense captions with Azure OpenAI GPT-4 Vision. You want to extract precise bounding box coordinates for multiple objects in complex scenes and pass them as structured context. Which API feature should you invoke?

A.features=denseCaptions
B.features=objects
C.features=smartCrops
D.features=tags
AnswerA

The denseCaptions feature returns captions with bounding box coordinates for multiple objects, unlike standard captioning which gives one description per image. Passing features=denseCaptions yields the precise structured spatial context GPT-4 Vision needs for complex scenes.

Why this answer

The denseCaptions feature of Azure AI Vision returns a caption for each detected region along with bounding box coordinates, making it ideal for extracting precise object locations in complex scenes. It provides both a natural-language description and the bounding box for each caption, which can be passed as structured context to GPT-4 Vision. This is the only feature in the list that pairs captions with bounding boxes for multiple objects.

Exam trap

The trap is confusing features=objects (boxes only) with features=denseCaptions (boxes plus captions); candidates pick objects because they focus on bounding boxes and overlook the need for descriptive text.

How to eliminate wrong answers

Option B is wrong because features=objects returns bounding boxes for detected objects but does not provide descriptive captions, so it lacks the natural-language context needed for multimodal grounding. Option C is wrong because features=smartCrops returns suggested crop regions for thumbnails, not captions or object-level bounding boxes for reasoning. Option D is wrong because features=tags returns a flat list of content tags without bounding boxes or captions, so it cannot provide spatial coordinates.

224
MCQeasy

You are using Azure AI Vision to analyze an image. You want to receive the output in Spanish instead of English. Which query parameter should you add to your request?

A.language=es
B.translation=spanish
C.output-lang=es
D.locale=es-ES
AnswerA

Azure AI Vision's Analyze Image API accepts a language query parameter that sets the language of the returned captions and tags. Passing language=es makes the service return Spanish output, directly satisfying the requirement to receive results in Spanish rather than the default English.

Why this answer

Azure AI Vision's Analyze Image API accepts a `language` query parameter that specifies the language for the returned results, such as captions and tags. Setting `language=es` returns the output in Spanish.

Exam trap

The trap is guessing at parameter names like `translation`, `output-lang`, or `locale` — candidates must recall that Azure AI Vision uses the simple `language` parameter with ISO 639-1 codes, not locale strings or English language names.

How to eliminate wrong answers

Option B is wrong because `translation=spanish` is not a valid parameter — the API uses ISO 639-1 codes, not English language names. Option C is wrong because `output-lang` is not a recognized parameter name in the Vision API. Option D is wrong because `locale=es-ES` is not the parameter used; the API expects `language` with a two-letter code like `es`.

225
MCQmedium

You are building a Python application that uses the Azure AI Vision Image Analysis 4.0 SDK to read text from scanned invoices. The invoices are stored in an Azure Blob Storage container, and each blob has a public URL. You need to extract all visible text from each invoice with a single REST API call, without downloading the image bytes to your application. Which API call should you make?

A.POST to the Image Analysis 4.0 endpoint with the URL parameter set to the blob URL and the features query parameter set to read
B.POST to the Image Analysis 4.0 endpoint with the URL parameter set to the blob URL and the features query parameter set to caption
C.POST to the Image Analysis 4.0 endpoint with the URL parameter set to the blob URL and the features query parameter set to denseCaptions
D.POST to the Image Analysis 4.0 endpoint with the URL parameter set to the blob URL and the features query parameter set to tags
AnswerA

Image Analysis 4.0 accepts a remote image URL through the url query parameter and the read feature through features, so one POST returns OCR results without transferring image bytes. This matches the requirement to avoid downloading the image and to get all visible text in one call.

Why this answer

The read feature is the OCR capability of Image Analysis 4.0, and the url query parameter lets the service fetch the image directly from Blob Storage. Combining them satisfies both constraints: extracting all visible text and avoiding a local download. Caption, denseCaptions, and tags describe or classify the image rather than returning its textual content.

Exam trap

The trap here is assuming that any Image Analysis feature returns text, when only the read feature performs OCR.

Page 2

Page 3 of 7

Page 4

All pages