Courseiva

CCNA Implement Generative AI And Agentic Solutions Questions

75 of 156 questions · Page 1/3 · Implement Generative AI And Agentic Solutions · Answers revealed

1
MCQhard

You are designing an agentic workflow where an agent needs to maintain conversational context and remember user preferences across multiple disparate sessions over several weeks. Which architectural component should you implement?

A.Increasing the model context window to 1,000,000 tokens for every request.
B.A persistent semantic memory store integrated with the agent's context pipeline.
C.Using a stateless function with zero memory persistence.
D.Storing the entire conversation history in a local client-side cookie.
AnswerB

A persistent semantic memory store retains embeddings of user preferences and prior interactions beyond a single session, then retrieves relevant fragments into the context pipeline at each turn. This satisfies the stem's requirement for continuity across disparate sessions spanning weeks, which ephemeral in-context history alone cannot provide.

Why this answer

Maintaining conversational context and user preferences across disparate sessions over weeks requires a persistent memory layer that survives beyond a single session or context window. A persistent semantic memory store integrated with the agent's context pipeline allows the agent to retrieve relevant past interactions and preferences via embeddings, enabling long-term personalization. This is the standard architectural pattern for long-horizon agent memory.

Exam trap

AI-103 often tests the misconception that a larger context window replaces the need for persistent memory, when in fact cross-session memory requires an external store regardless of context size.

How to eliminate wrong answers

Option A is wrong because even a 1,000,000-token context window is bounded and would require resending all history every request, which is cost-prohibitive, slow, and still cannot span weeks of sessions without exceeding limits. Option C is wrong because a stateless function with zero memory persistence explicitly cannot remember anything across sessions, which is the opposite of the requirement. Option D is wrong because storing conversation history in a client-side cookie is insecure, size-limited (typically 4KB), and not accessible server-side for semantic retrieval, making it unsuitable for long-term memory.

2
MCQmedium

You are developing a customer support agent using Microsoft Foundry. The agent needs to call a custom weather API tool when a user asks about local conditions. How should you define this capability in the agent configuration?

A.Register a custom function tool by providing an OpenAPI schema definition that describes the weather API endpoints, parameters, and expected responses.
B.Upload the compiled C# library containing the API client code directly into the agent code interpreter workspace.
C.Add the weather API endpoint URL as a grounding data source under the vector store settings.
D.Configure a managed data connection pointing to the weather API URL within Azure AI Search.
AnswerA

Registering a custom function tool with an OpenAPI schema gives the model a machine-readable contract for the weather API's endpoints, parameters and responses, letting it invoke the tool when users ask about local conditions. This satisfies the stem's requirement to define custom tool-calling capability.

Why this answer

Custom function tools in Microsoft Foundry agents are declared using an OpenAPI schema that describes the endpoint, HTTP methods, parameters, and response shape, allowing the model to invoke the weather API through tool calling. The schema acts as the contract the orchestrator uses to generate valid function calls and parse results back into the conversation. This is the standard, supported mechanism for exposing external REST APIs to an agent.

Exam trap

AI-103 often tests the confusion between grounding data sources (retrieval) and function tools (action), causing candidates to pick vector store or Azure AI Search options for what is really a tool-calling requirement.

How to eliminate wrong answers

Option B is wrong because uploading a compiled C# library into the code interpreter workspace does not register a callable tool for the agent's orchestration layer — code interpreter executes Python for data/code tasks, not arbitrary compiled .NET assemblies as agent tools. Option C is wrong because adding an API URL as a grounding data source under vector store settings treats it as retrieval content, not as an invocable action; vector stores index documents for semantic search, they do not execute live API calls. Option D is wrong because a managed data connection in Azure AI Search is used for indexing and querying data sources, not for defining agent tool invocations against a live weather endpoint.

3
MCQhard

You are using Azure AI Foundry to evaluate a generative AI assistant that summarizes customer call transcripts. Reviewers complain that some summaries include details never present in the transcript. You need an automated metric that quantifies this specific defect during evaluation runs. Which metric should you use?

A.Groundedness
B.Relevance
C.Fluency
D.F1 score
AnswerA

Groundedness measures whether the generated response is supported by the provided source context, which is exactly the defect reviewers reported when summaries contain details absent from the transcript. Using it as an automated evaluation metric will surface and quantify those unsupported statements across the test set.

Why this answer

Groundedness is designed to detect whether statements in a generated response are supported by the supplied source content. Because the reported defect is fabricated details absent from the transcript, this metric directly quantifies the problem and is the right choice for the evaluation run.

Exam trap

The trap here is selecting a general quality metric like relevance or fluency when the specific defect is unsupported content, which only groundedness measures.

4
MCQeasy

You are configuring a Microsoft Foundry project to deploy a multimodal model. You need to ensure that the model deployment scales automatically based on request volume while minimizing management overhead. Which deployment type should you select?

A.Standard deployment
B.Local container deployment
C.Provisioned Throughput deployment
D.Batch deployment
AnswerA

Standard deployment supports autoscaling based on request volume, adjusting capacity automatically without manual intervention. It minimises management overhead while meeting the scaling requirement, unlike provisioned or serverless options that demand capacity planning or lack the needed flexibility.

Why this answer

A Standard deployment in Microsoft Foundry (Azure AI Foundry) for a multimodal model provides automatic scaling based on request volume while minimizing management overhead. It is a pay-as-you-go deployment type that dynamically allocates compute resources to handle traffic, making it ideal for variable workloads without the need for manual provisioning or capacity planning.

Exam trap

AI-103 often tests the confusion between deployment types that scale automatically (Standard) and those that require manual capacity management (Provisioned Throughput), causing candidates to select Provisioned Throughput for scaling scenarios.

How to eliminate wrong answers

Option B is wrong because a local container deployment runs the model on your own infrastructure (e.g., Docker or Kubernetes), requiring significant management overhead for scaling, patching, and monitoring, and it does not automatically scale based on request volume in the cloud. Option C is wrong because Provisioned Throughput deployment reserves a fixed amount of throughput capacity, which does not automatically scale with request volume and requires manual capacity planning, increasing management overhead. Option D is wrong because Batch deployment is designed for asynchronous processing of large volumes of data, not for real-time automatic scaling based on request volume; it is optimized for offline batch jobs.

5
Multi-Selectmedium

When designing an Azure AI Foundry project architecture, which TWO resources are typically linked to the Azure AI Hub to enable full model deployment and search capabilities? (Choose TWO)

Select 2 answers
A.Azure AI Search service
B.Azure SQL Database relational server
C.Azure OpenAI service
D.Azure Stream Analytics job cluster
E.Power BI embedded analytics workspace
AnswersA, C

Azure AI Search provides the vector and keyword indexing that grounds models in your own data. Linking it to the Azure AI Hub satisfies the search capability requirement, enabling retrieval-augmented generation and agent knowledge tools within the Foundry project.

Why this answer

Option A (Azure AI Search service) is correct because an Azure AI Search resource is a standard linked dependency of an Azure AI Hub/project, providing the vector and keyword indexing backend needed for search, retrieval, and RAG-style grounding scenarios. Option C (Azure OpenAI service) is correct because linking an Azure OpenAI resource to the hub supplies the deployed GPT and embedding models that the project uses for model deployment and inference. Option B (Azure SQL Database) is not a typical hub-linked resource; relational data can be connected separately but it is not required for model deployment or search.

Option D (Azure Stream Analytics) is a real-time stream processing service unrelated to Foundry hub model/search enablement. Option E (Power BI embedded) is a visualization/analytics service and plays no role in linking model deployment or search capabilities to an AI Hub.

Exam trap

AI-103 often tests whether candidates can distinguish AI-native linked resources (Azure OpenAI, Azure AI Search) from general-purpose Azure services (SQL Database, Stream Analytics, Power BI) that are not part of the AI Hub's core resource topology.

6
MCQmedium

You are building a generative AI application that summarizes long legal documents. Users complain that summaries omit important clauses located in the middle of the document due to the model's attention limitations over extremely long texts. What phenomenon does this represent, and how can you mitigate it?

A.Token overflow error; mitigate by increasing Azure AI Search semantic ranker depth
B.Lost in the middle phenomenon; mitigate using map-reduce or recursive summarization patterns
C.Embedding drift; mitigate by retraining the text-embedding-ada-002 model
D.Prompt injection; mitigate by enabling Azure AI Content Safety prompt shields
AnswerB

The lost-in-the-middle phenomenon describes degraded recall for content positioned mid-context, which explains why middle clauses are omitted. Map-reduce or recursive summarisation splits the document into smaller chunks summarised separately, then combines results, ensuring middle sections receive adequate attention rather than being skipped.

Why this answer

The 'lost in the middle' phenomenon describes how transformer models attend more reliably to information at the beginning and end of long contexts, degrading recall for content in the middle. Map-reduce or recursive summarization mitigates this by chunking the document, summarizing each chunk independently, then combining the summaries — ensuring middle content is processed with full attention.

Exam trap

AI-103 often tests the misconception that long-context models attend uniformly to all tokens — candidates must recognize the U-shaped attention curve and choose chunking-based mitigations rather than retrieval or safety features.

How to eliminate wrong answers

Option A is wrong because a token overflow error would cause an API failure (context length exceeded), not silent omission of middle clauses; semantic ranker depth in Azure AI Search affects retrieval ranking, not summarization attention. Option C is wrong because embedding drift refers to vector representations becoming stale relative to new data distributions, which affects retrieval relevance, not summarization attention over a single long input; retraining ada-002 is not a supported customer action. Option D is wrong because prompt injection is an adversarial attack where malicious input hijacks model behavior, unrelated to attention degradation over long legitimate documents; prompt shields defend against injection, not summarization quality.

7
Multi-Selecthard

You are troubleshooting a RAG application in Azure AI Foundry where retrieved search results are irrelevant to user queries. Which THREE actions should you take to diagnose and improve retrieval quality? (Choose THREE)

Select 3 answers
A.Evaluate whether document chunk sizes and overlaps align with query granularity
B.Inspect embedding vector distances and similarity scores of retrieved documents
C.Increase the Azure OpenAI model temperature parameter to 1.5
D.Configure Azure Key Vault access policies for the search service
E.Enable semantic ranking in Azure AI Search to re-rank results based on deep language understanding
AnswersA, B, E

Chunk size and overlap determine the granularity of retrievable units. When chunks are far larger or smaller than the query's information need, embeddings capture diluted or fragmented meaning, so irrelevant passages surface. Aligning chunking with query granularity directly addresses the stem's irrelevant-retrieval symptom.

Why this answer

Option A is correct because chunk size and overlap directly control retrieval granularity: if chunks are too large they dilute the embedding with irrelevant content, and if too small they lose context, so aligning them with typical query granularity improves relevance. Option B is correct because inspecting embedding vector distances and similarity scores (e.g., cosine similarity in Azure AI Search) reveals whether the query embedding is actually close to the retrieved documents or whether the embedding model, index, or query vectorization is mismatched. Option E is correct because enabling semantic ranking in Azure AI Search applies a deep language model re-ranker on top of the initial BM25/vector results, promoting semantically relevant documents and typically raising retrieval precision.

Option C is not appropriate because temperature controls generative randomness, not retrieval quality, and 1.5 is outside the supported range for most Azure OpenAI models. Option D is not relevant because Key Vault access policies govern secret management, not the relevance of search results.

Exam trap

AI-103 often tests whether candidates confuse generation parameters (temperature, top_p) with retrieval quality controls — the trap is picking temperature as a fix for bad retrieval, when retrieval and generation are separate stages with separate tuning knobs.

8
MCQhard

You are building an agent that needs to execute Python code safely to calculate financial projections requested by users. Which tool in Azure AI Agent Service should you enable to allow the agent to write and run code in an isolated environment?

A.Code Interpreter tool
B.Azure Container Instances dynamic scaling group
C.Azure Functions webhook integration
D.Azure AI Search vector embedding tool
AnswerA

Code Interpreter runs Python in a Microsoft-managed sandbox, so untrusted calculations execute without touching your infrastructure. It satisfies the isolation constraint directly: the agent writes and executes code in that sandboxed session, returning results and files. Other tools, such as function calling or file search, cannot execute arbitrary Python.

Why this answer

The Code Interpreter tool in Azure AI Agent Service provides a managed, sandboxed Python execution environment where the agent can write and run code to perform calculations such as financial projections. It handles file uploads, execution, and output retrieval without exposing your infrastructure. This is the native tool designed for safe code execution within an agent.

Exam trap

AI-103 often tests whether candidates substitute generic Azure compute services (ACI, Functions) for the purpose-built Code Interpreter tool, so pick the option that names the native sandboxed execution capability.

How to eliminate wrong answers

Option B is wrong because Azure Container Instances dynamic scaling groups are a general compute construct, not an agent tool, and they do not provide the managed code-execution semantics the agent needs. Option C is wrong because Azure Functions webhook integration is a serverless invocation pattern, not a built-in agent tool for running arbitrary Python in a sandbox. Option D is wrong because Azure AI Search vector embedding is a retrieval mechanism for grounding, not a code execution environment.

9
MCQhard

You are monitoring an Azure OpenAI deployment in Azure AI Foundry and notice an increase in HTTP 429 (Too Many Requests) errors. Your application needs to handle these rate limit spikes gracefully. What is the recommended architectural solution?

A.Restart the Azure OpenAI resource from the Azure Portal
B.Implement exponential backoff and jitter retry logic in the application SDK
C.Set the model temperature parameter to 0.0
D.Switch the authentication method from API keys to Managed Identity
AnswerB

HTTP 429 responses are transient throttling signals, so retrying immediately worsens contention. Exponential backoff with jitter spaces retries progressively and randomises them, preventing synchronised retry storms across clients. This satisfies the requirement to handle rate limit spikes gracefully without dropping requests.

Why this answer

HTTP 429 responses from Azure OpenAI indicate the deployment has exceeded its tokens-per-minute or requests-per-minute quota. The documented, recommended client-side mitigation is exponential backoff with jitter, which spaces retries out and randomizes them to avoid synchronized retry storms. The Azure OpenAI SDKs and Polly-style libraries implement this pattern natively.

Exam trap

AI-103 often tests whether candidates reach for infrastructure changes (restart, auth switch, parameter tuning) when the correct answer is a client-side resilience pattern — the trap is confusing quota/rate-limit handling with configuration or security changes.

How to eliminate wrong answers

Option A is wrong because restarting the Azure OpenAI resource does not change quota limits and would disrupt all consumers of the deployment without addressing the rate-limit cause. Option C is wrong because temperature controls randomness/creativity of completions, not throughput or rate limiting — it has no effect on 429 errors. Option D is wrong because switching from API keys to Managed Identity changes authentication/authorization, not the quota consumption that triggers 429s; it improves security but not rate-limit handling.

10
MCQhard

You are optimizing a RAG pipeline in Azure AI Foundry. The model is hallucinating when retrieving documents from a large corpus. Which strategy should you implement to improve grounding accuracy?

A.Increase the temperature of the model to 1.0
B.Use a larger embedding model
C.Implement a Cross-Encoder re-ranking step
D.Increase the chunk size to include the entire document
AnswerC

A cross-encoder jointly scores each query-document pair, capturing fine-grained relevance that bi-encoder vector similarity misses. Re-ranking the retrieved candidates before generation filters out weakly relevant passages, directly improving grounding accuracy and reducing hallucination across the large corpus.

Why this answer

Cross-Encoder re-ranking is correct because it jointly encodes the query and each candidate document, producing a far more accurate relevance score than the bi-encoder cosine similarity used in initial vector retrieval. This precision filtering removes semantically similar but contextually irrelevant chunks before they reach the LLM, directly reducing hallucination caused by noisy or off-topic grounding context. In Azure AI Foundry, this is typically implemented via the semantic ranker or a custom re-ranking stage in the RAG orchestration pipeline.

Exam trap

AI-103 often tests the misconception that 'bigger embeddings' or 'bigger chunks' automatically improve RAG quality, when in fact retrieval precision via re-ranking is the lever that most directly reduces hallucination.

How to eliminate wrong answers

Option A is wrong because increasing temperature to 1.0 raises sampling randomness, which increases hallucination rather than reducing it — grounding accuracy requires lower temperatures (typically 0–0.3). Option B is wrong because a larger embedding model improves the quality of vector representations but does not fix the fundamental recall-precision gap in top-k retrieval; irrelevant chunks can still rank highly. Option D is wrong because increasing chunk size to entire documents dilutes the embedding signal, exceeds context windows, and introduces more irrelevant tokens, worsening grounding rather than improving it.

11
MCQmedium

You are designing a RAG solution using Azure AI Search and Azure OpenAI. Users report that when querying technical documentation, the system misses highly relevant paragraphs because the exact keywords do not match the user's conversational query. How should you configure Azure AI Search to improve retrieval accuracy?

A.Switch the index analyzer to a standard whitespace analyzer to prevent stemming issues.
B.Enable semantic ranking on the Azure AI Search index and use hybrid search combining vector embeddings and keyword BM25.
C.Increase the number of retrieved documents (top_k) from 3 to 20 without changing the query type.
D.Convert all documents to uppercase before indexing to ensure case-insensitive matching.
AnswerB

Semantic ranking re-ranks results using deep-learning language models that capture conversational intent, while hybrid search fuses BM25 keyword scores with vector similarity. Together they retrieve paragraphs whose meaning matches the query even when exact keywords differ, directly resolving the missed-relevance problem.

Why this answer

Enabling semantic ranking and using hybrid search (combining vector embeddings and BM25 keyword search) improves retrieval accuracy by leveraging both semantic understanding and keyword matching. This addresses the issue of conversational queries missing exact keywords.

Exam trap

AI-103 often tests the misconception that simply increasing top_k or changing analyzers can fix retrieval issues, when semantic ranking and hybrid search are the correct solutions.

How to eliminate wrong answers

Option A is wrong because a whitespace analyzer would worsen matching by ignoring stemming and synonyms. Option C is wrong because increasing top_k without changing query type may retrieve more irrelevant documents. Option D is wrong because uppercasing documents doesn't improve semantic matching and may harm case-sensitive content.

12
Multi-Selectmedium

You are preparing a dataset for fine-tuning an Azure OpenAI model in Azure AI Foundry. Which TWO data formatting and preparation requirements must you follow? (Choose TWO)

Select 2 answers
A.Include unencrypted passwords and PII in plain text to improve model empathy
B.Upload raw unstructured PDF files directly as the fine-tuning training dataset
C.Format training data as JSONL (JSON Lines) where each line is a chat completion example
D.Ensure training examples follow the expected system, user, and assistant message roles
E.Encode all training examples in binary audio wave files (.wav)
AnswersC, D

Fine-tuning requires JSONL, with one complete chat completion example per line containing the messages array. This line-delimited structure lets Azure AI Foundry parse each training example independently, satisfying the formatting requirement for supervised fine-tuning datasets.

Why this answer

Option C is correct because Azure OpenAI fine-tuning requires the training file to be in JSONL (JSON Lines) format, where each line is a self-contained JSON object representing one training example, typically a chat completion example with a messages array. Option D is correct because for chat models the messages must use the expected role structure — system, user, and assistant — so the model learns the conversational mapping between prompts and desired responses; the assistant message provides the target completion. Option A is wrong because including unencrypted passwords or PII is a security and compliance violation and does nothing to improve model quality.

Option B is wrong because raw unstructured PDFs cannot be uploaded directly as a fine-tuning dataset; the data must first be parsed and converted into the required JSONL chat format. Option E is wrong because .wav audio files are for speech/audio models, not for fine-tuning a text-based Azure OpenAI chat model.

Exam trap

AI-103 often tests whether candidates confuse data preparation requirements with general best practices, luring them toward 'more data is better' answers like raw PDFs or PII inclusion instead of the strict JSONL chat-format requirement.

13
MCQeasy

You are monitoring your Azure OpenAI deployment in Azure AI Foundry. You notice an increase in HTTP 429 status codes. What does this error indicate?

A.Internal server error at Microsoft
B.Model deployment not found
C.Rate limit or token quota exceeded (Too Many Requests)
D.Invalid API key authentication
AnswerC

HTTP 429 is returned when requests exceed the deployment's allocated rate limit or token quota within a time window. It signals throttling rather than an authentication or payload fault, so the fix is to retry with backoff, reduce request frequency, or raise the quota.

Why this answer

HTTP 429 'Too Many Requests' indicates the client has exceeded the rate limit or token quota assigned to the Azure OpenAI deployment. This occurs when requests per minute (RPM) or tokens per minute (TPM) surpass the deployment's quota, triggering throttling until the window resets.

Exam trap

AI-103 often tests the confusion between HTTP status codes — candidates must map 429 to rate limiting/throttling, 401 to authentication, 404 to missing resources, and 500 to server errors, rather than guessing based on vague descriptions.

How to eliminate wrong answers

Option A is wrong because internal server errors at Microsoft return HTTP 500 (or 503 for service unavailable), not 429. Option B is wrong because a missing deployment returns HTTP 404 Not Found. Option D is wrong because invalid API key authentication returns HTTP 401 Unauthorized (or 403 Forbidden for authorization failures).

14
MCQhard

You are designing an agentic workflow in Azure AI Foundry that requires the agent to call an external REST API. Which component should you use to define the tool interface?

A.Azure AI Content Safety
B.LLM output parser
C.Tool definition using a Python function
D.Flow input schema
AnswerC

A Python function tool definition lets the agent invoke the external REST API through code, satisfying the requirement to define a callable tool interface. Azure AI Foundry registers the function's name, parameters and description, so the model can select and call it, with the function body performing the HTTP request.

Why this answer

In Azure AI Foundry agentic workflows, tools are defined as callable functions with a name, description, and parameter schema; a Python function definition (often decorated or registered as a tool) is the standard way to expose an external REST API to the agent. The model then emits structured arguments that invoke that function. This is the correct component for defining the tool interface.

Exam trap

AI-103 often tests the confusion between components that define tool interfaces (Python function/tool definition) and components that filter, parse, or schema-validate other parts of the flow.

How to eliminate wrong answers

Option A is wrong because Azure AI Content Safety filters harmful content; it does not define tool interfaces. Option B is wrong because an LLM output parser processes model output but does not define the tool's callable interface or schema. Option D is wrong because a flow input schema defines the inputs to the overall workflow, not the interface for an individual external API tool.

15
MCQmedium

You are building an agentic workflow in Azure AI Foundry using the Semantic Kernel framework. The agent needs to call external APIs dynamically based on user intent. Which component should you register with the kernel to enable this capability?

A.A system prompt template
B.A plugin containing native or semantic functions
C.A sequential planner instance
D.A custom memory store
AnswerB

Plugins expose native code and semantic functions that Semantic Kernel can invoke, letting the agent call external APIs dynamically. Registering a plugin with the kernel satisfies the dynamic external API requirement, since the planner selects functions based on inferred user intent.

Why this answer

In Semantic Kernel, plugins encapsulate native functions (code) or semantic functions (prompts) that the kernel can invoke. Registering a plugin with the kernel enables the agent to call external APIs dynamically based on user intent, as the kernel orchestrates function calls.

Exam trap

The trap is confusing planning or memory components with the actual function providers — candidates must know that plugins are the unit of external capability registration in Semantic Kernel.

How to eliminate wrong answers

Option A is wrong because a system prompt template only sets the agent's instructions or persona; it does not provide callable functions to interact with external APIs. Option C is wrong because a sequential planner instance is a planning strategy that orchestrates existing functions, but it does not itself provide the external API capability — the functions must come from a plugin. Option D is wrong because a custom memory store stores and retrieves context/embeddings, not executable functions for API calls.

16
MCQeasy

You are preparing a prompt template for a summarization task. You want to provide three distinct examples of input text and expected summaries before asking the model to process the target text. What is this prompting technique called?

A.Retrieval-augmented generation
B.Chain-of-thought prompting
C.Few-shot prompting
D.Zero-shot prompting
AnswerC

Few-shot prompting supplies several worked input-output examples inside the prompt before the target request, letting the model infer the summarisation pattern. Providing three text-summary pairs matches this definition exactly, unlike zero-shot, which gives no examples.

Why this answer

Few-shot prompting provides a small number of input-output examples (typically 2-5) in the prompt to demonstrate the desired task before asking the model to perform it on new input. Three examples of input text and expected summaries is the textbook definition of few-shot summarization prompting.

Exam trap

AI-103 often tests the confusion between few-shot prompting (providing labeled examples in the prompt) and RAG or chain-of-thought — candidates must recognize that example-based task demonstration defines few-shot, regardless of task type.

How to eliminate wrong answers

Option A is wrong because retrieval-augmented generation (RAG) involves retrieving relevant documents from an external knowledge store and injecting them into the prompt — it is about grounding, not providing labeled task examples. Option B is wrong because chain-of-thought prompting encourages step-by-step reasoning by showing or requesting intermediate reasoning steps, not input-output example pairs for a summarization task. Option D is wrong because zero-shot prompting provides no examples at all — just an instruction — which is the opposite of what the question describes.

17
MCQmedium

How do you handle sensitive user data when using an Azure AI Agent?

A.Send all data to the model; the model will ignore it.
B.Increase the model parameter size.
C.Store user PII in the vector index.
D.Use Data Masking/PII filtering before the data reaches the agent.
AnswerD

Data masking and PII filtering redact or tokenise sensitive identifiers before prompts reach the agent, so personal data never enters the model context or logs. This satisfies the requirement to handle sensitive user data securely at the input boundary.

Why this answer

Responsible handling of sensitive data in Azure AI Agents requires filtering or masking PII before it reaches the agent, so that personal data is not sent to the model, logged in prompts, or persisted in agent threads. Data masking/PII filtering (for example via Azure AI Language PII detection or a pre-processing step in Prompt Flow) enforces this at the boundary. This aligns with privacy-by-design and data-minimization principles required for Responsible AI compliance.

Exam trap

The trap here is the belief that the model itself provides privacy protection or that a bigger model is safer, when AI-103 expects you to know that PII must be filtered or masked before it reaches the agent.

How to eliminate wrong answers

Option A is wrong because models do not 'ignore' sensitive data — anything in the prompt is processed, may be retained in conversation history/threads, and could be surfaced in completions or logs, creating a privacy and compliance violation. Option B is wrong because increasing model parameter size changes capability, not data handling; a larger model has no built-in PII redaction and will still process whatever is sent. Option C is wrong because storing user PII in a vector index is the opposite of the required control — it persists sensitive data in a searchable store, widening the attack surface and violating data-minimization requirements.

18
Multi-Selecthard

When designing a RAG-based agent, which THREE factors directly influence the quality of the retrieved information?

Select 3 answers
A.The system prompt's instructions on retrieval.
B.The use of hybrid search (combining keyword and vector search).
C.The granularity and quality of the chunked documents in the index.
D.The frequency of the model's training updates.
E.The model's temperature setting.
AnswersA, B, C

The system prompt governs whether and how the agent invokes retrieval, including query formulation and when to search. Poorly specified retrieval instructions cause missed or irrelevant lookups, directly degrading the quality of retrieved information regardless of index quality.

Why this answer

Option A is correct because the system prompt's retrieval instructions directly steer when and how the agent invokes the retriever, what queries it formulates, and how it filters or re-ranks results, all of which shape the relevance of retrieved context. Option B is correct because hybrid search combines lexical keyword matching (e.g., BM25) with dense vector similarity, improving recall for exact terms and semantic matches alike, which raises retrieval quality. Option C is correct because chunk granularity and document quality determine what units are embedded and indexed; poorly sized or noisy chunks degrade embedding fidelity and produce irrelevant or incomplete context.

Option D does not belong because training-update frequency affects the base model's parametric knowledge, not the retrieval pipeline that supplies external context in RAG. Option E does not belong because temperature only affects sampling randomness during generation and has no direct effect on which documents are retrieved.

Exam trap

AI-103 often tests whether candidates conflate generation-time parameters (temperature, training recency) with retrieval-pipeline factors — the trap is selecting model-tuning knobs when the question asks about retrieved information quality.

19
MCQmedium

You are deploying an Azure OpenAI model in Azure AI Foundry and need to restrict access so that only specific virtual networks within your enterprise can invoke the model endpoint. Which feature should you configure?

A.API key rotation policies
B.Azure Private Link with private endpoints
C.Cross-Origin Resource Sharing (CORS) headers
D.Model rate limit quotas
AnswerB

Azure Private Link with private endpoints assigns a private IP address from your virtual network to the Azure OpenAI endpoint, so traffic never traverses the public internet. This satisfies the stem's constraint of restricting invocation to specific enterprise virtual networks, since only networks with a private endpoint connection can reach the model.

Why this answer

Azure Private Link with private endpoints creates a private IP address for the Azure OpenAI endpoint inside your virtual network, so traffic never traverses the public internet. By disabling public network access and allowing only specific VNets via private endpoints, you restrict model invocation to those enterprise networks. This is the correct feature for network-level access restriction to an Azure AI Foundry model endpoint.

Exam trap

AI-103 often tests the difference between authentication controls (keys, RBAC) and network controls (Private Link, firewalls), tricking candidates into choosing API key rotation when the question explicitly asks about network restriction.

How to eliminate wrong answers

Option A is wrong because API key rotation is a credential-hygiene practice that changes the secret but does not restrict which networks can reach the endpoint — anyone with the key from any network can still invoke it. Option C is wrong because CORS headers control which browser origins can make cross-origin requests; they are a web-application security feature, not a network isolation mechanism, and are trivially bypassed by non-browser clients. Option D is wrong because rate limit quotas control throughput and prevent abuse but do not restrict access by network location — a quota-limited endpoint is still publicly reachable.

20
MCQeasy

What is the primary purpose of a 'Vector Store' in a RAG-based agentic application?

A.To store embeddings for efficient semantic similarity search.
B.To generate text responses.
C.To log user conversations for analytics.
D.To fine-tune the LLM.
AnswerA

A vector store persists the embeddings produced from source content and indexes them so the agent can run approximate nearest-neighbour semantic similarity search, retrieving the most relevant chunks to ground generation in a RAG pipeline.

Why this answer

A vector store's primary purpose in a RAG-based agentic application is to persist embeddings and enable efficient semantic similarity search. When a user query arrives, it is embedded and compared against stored vectors using approximate nearest neighbor algorithms to retrieve the most relevant chunks. This retrieval step grounds the LLM's response in external knowledge, which is the core of RAG.

Exam trap

AI-103 often tests the confusion between retrieval (vector store) and generation (LLM), and between RAG and fine-tuning as ways to inject domain knowledge.

How to eliminate wrong answers

Option B is wrong because text generation is performed by the LLM itself, not by the vector store; the vector store only supplies retrieved context. Option C is wrong because logging user conversations is an observability concern handled by logging or analytics services, not by a vector store. Option D is wrong because fine-tuning modifies the LLM's weights through training, whereas a vector store is used for retrieval-augmented generation without changing model parameters.

21
MCQmedium

You are configuring content safety filters in Azure AI Foundry for a public-facing generative AI application. You need to ensure that the application detects and blocks potential jailbreak attempts and protected material text. Which component should you configure?

A.Azure Key Vault access policies restricting model endpoint tokens.
B.Azure AI Content Safety text moderation service with jailbreak and protected material detection enabled.
C.Azure API Management rate-limiting policies configured to drop requests containing long prompts.
D.Azure Monitor activity log alerts for anomalous token usage.
AnswerB

Azure AI Content Safety's text moderation API includes dedicated jailbreak and protected material detectors, which general prompt shields or model-level filters do not expose as configurable categories. Enabling both satisfies the requirement to detect and block jailbreak attempts and protected material text in the public-facing application.

Why this answer

Azure AI Content Safety provides dedicated detectors for jailbreak attempts (prompt injection/manipulation) and protected material text (copyrighted content), which can be configured in Azure AI Foundry to block or flag such inputs and outputs. This is the correct component for enforcing content safety policy on a public-facing generative AI app.

Exam trap

AI-103 often tests whether candidates confuse security/operations services (Key Vault, API Management, Monitor) with content moderation, when only Azure AI Content Safety provides jailbreak and protected material detection.

How to eliminate wrong answers

Option A is wrong because Azure Key Vault access policies govern secrets and key management, not content moderation or jailbreak detection. Option C is wrong because API Management rate limiting controls request volume and throttling, not the semantic content of prompts, and long prompts are not inherently jailbreaks. Option D is wrong because Azure Monitor activity log alerts track control-plane operations and anomalies, not the semantic content of user prompts or protected material.

22
Multi-Selectmedium

You are configuring prompt engineering practices for a generative AI application in Azure AI Foundry. Which THREE practices should you follow to ensure high output quality and reliability? (Choose three.)

Select 3 answers
A.Specify the desired output format explicitly (e.g., JSON schema or markdown tables).
B.Embed all system instructions inside the user prompt string without using system roles.
C.Rely entirely on vague, implicit instructions to give the model creative freedom.
D.Use delimiters such as triple backticks or XML tags to clearly separate instructions from user-provided data.
E.Incorporate few-shot examples of edge cases and expected behaviors.
AnswersA, D, E

Declaring an explicit output format constrains generation to a defined structure, such as a JSON schema or markdown table, which directly satisfies the stem's demand for reliable, high-quality output. Without it, the model chooses its own layout, producing inconsistent, harder-to-parse responses.

Why this answer

Option A is correct because explicitly specifying the desired output format (for example, a JSON schema or markdown table) constrains the model's response structure, making outputs consistent, parseable, and reliable for downstream application code. Option D is correct because using delimiters such as triple backticks or XML tags clearly separates instructions from user-supplied data, which reduces prompt injection risk and prevents the model from confusing data with directives. Option E is correct because few-shot examples of edge cases and expected behaviors ground the model in the desired response pattern, improving accuracy and consistency on ambiguous or unusual inputs.

Option B is not appropriate because embedding all system instructions in the user prompt discards the system role, which is the proper channel for persistent behavioral guidance and guardrails in Azure AI Foundry. Option C is not appropriate because vague, implicit instructions increase ambiguity and variance in model outputs, undermining the quality and reliability the scenario requires.

Exam trap

AI-103 often tests the misconception that giving the model more freedom or hiding system instructions in user prompts improves quality, when the opposite is true for reliability.

23
MCQmedium

You are designing an agentic workflow where an orchestrator agent delegates sub-tasks to specialized worker agents (e.g., a research agent and a coding agent). Which framework or service native to Azure AI supports multi-agent orchestration patterns?

A.Azure Data Factory pipeline authoring
B.Semantic Kernel or Microsoft AutoGen
C.Azure Stream Analytics query editor
D.Azure Logic Apps standard workflow designer
AnswerB

Semantic Kernel and Microsoft AutoGen both provide native multi-agent orchestration: AutoGen models conversable agents that exchange messages to coordinate tasks, while Semantic Kernel's Agent Framework supports group chat and delegation patterns. This directly satisfies the stem's requirement for orchestrator-to-worker delegation across specialised research and coding agents.

Why this answer

Semantic Kernel and Microsoft AutoGen are Microsoft's frameworks designed for building AI agents and multi-agent orchestration, including patterns where an orchestrator delegates to specialized worker agents. They provide abstractions for agent roles, conversation routing, and tool use that map directly to the described workflow.

Exam trap

AI-103 often tests whether candidates can distinguish AI agent orchestration frameworks from general-purpose integration or data services that merely can call AI endpoints.

How to eliminate wrong answers

Option A is wrong because Azure Data Factory is a data integration and ETL service for pipelines and data movement, not an agent orchestration framework. Option C is wrong because Azure Stream Analytics is a real-time stream processing engine using SQL-like queries, not a multi-agent AI framework. Option D is wrong because Azure Logic Apps is a workflow automation and integration service for connectors and business processes; while it can call AI services, it is not the native multi-agent orchestration framework for Azure AI.

24
MCQeasy

You are managing prompt assets in Azure AI Foundry. Your team collaborates on developing, testing, and versioning system prompts. Which feature in Azure AI Foundry should you use to store and manage these prompt templates?

A.Azure Storage Blob lifecycle management policies
B.Prompt flow / Prompt management workspace assets
C.Azure App Service deployment slots
D.Azure Key Vault secret versions
AnswerB

Prompt flow provides workspace assets purpose-built for authoring, testing, and versioning prompt templates within Azure AI Foundry. It satisfies the collaboration and versioning constraint by centralising prompt storage, letting teams iterate on system prompts as managed, reusable artefacts rather than ad hoc strings.

Why this answer

Prompt flow / Prompt management workspace assets is correct because Azure AI Foundry provides a dedicated prompt asset store where teams can author, version, test, and share system prompts and prompt templates as first-class workspace artifacts. This enables collaboration, change tracking, and reproducibility across the development lifecycle, which is exactly what the scenario requires. Prompt flow integrates these assets into orchestrated LLM workflows with evaluation and deployment support.

Exam trap

AI-103 often tests whether candidates map generic Azure services (Blob, Key Vault, App Service) onto AI-specific needs, so the trap is choosing a storage or secrets service instead of the purpose-built prompt management feature.

How to eliminate wrong answers

Option A is wrong because Azure Storage Blob lifecycle management policies govern data retention and tiering (hot/cool/archive) for blobs — they have no concept of prompt versioning, testing, or collaboration. Option C is wrong because Azure App Service deployment slots are for blue/green deployment of web applications, not for storing or versioning prompt templates. Option D is wrong because Azure Key Vault secret versions manage sensitive credentials and cryptographic material, not prompt content — using Key Vault for prompts would be an abuse of a secrets store and lacks prompt-specific tooling.

25
MCQeasy

You are writing a system prompt for an Azure OpenAI model deployed in Azure AI Foundry. You want to ensure the model responds only using the provided context and refuses to answer if the context is insufficient. What technique should you use?

A.Configure Azure AI Content Safety severity levels to high
B.Set the model temperature to 1.0 and top_p to 0.0
C.Enable semantic caching on the Azure OpenAI deployment
D.Include explicit grounding instructions and a negative constraint in the system prompt
AnswerD

Explicit grounding instructions direct the model to answer solely from supplied context, while a negative constraint tells it to refuse when that context is insufficient. Together they satisfy the requirement to prevent answers drawn from outside knowledge.

Why this answer

Explicit grounding instructions in the system prompt — such as 'Answer only using the provided context; if the context does not contain the answer, respond that you do not know' — are the standard prompt-engineering technique to constrain the model to retrieved context and refuse out-of-scope questions. This is a negative constraint that directly shapes model behavior at inference time. It is the correct, low-cost, deterministic approach for RAG grounding.

Exam trap

AI-103 often tests whether candidates confuse content safety filtering with grounding enforcement, tricking them into picking a Content Safety option when the question is about prompt-level refusal behavior.

How to eliminate wrong answers

Option A is wrong because Content Safety severity levels filter harmful categories (hate, violence, self-harm, sexual) and do not enforce grounding or refusal on insufficient context. Option B is wrong because temperature 1.0 increases randomness and top_p 0.0 is an invalid/degenerate setting that would break sampling — this combination does not enforce grounding. Option C is wrong because semantic caching stores and reuses prior responses to reduce latency and cost; it does not influence whether the model refuses to answer when context is insufficient.

26
MCQeasy

You are designing an AI application and want to test different foundation models (e.g., GPT-4o vs. Llama 3) side-by-side using the same prompt and test dataset. Which feature in Azure AI Foundry should you use?

A.Azure Monitor workbook performance graphs
B.Azure Cosmos DB cross-region replication
C.Side-by-side evaluation in Azure AI Foundry playground
D.Azure Front Door traffic routing
AnswerC

Side-by-side evaluation runs the identical prompt and test dataset against multiple deployed models within one playground view, producing comparable metrics and outputs. This directly satisfies the stem's constraint of comparing GPT-4o against Llama 3 on the same inputs without rebuilding separate evaluation pipelines.

Why this answer

Side-by-side evaluation in the Azure AI Foundry playground lets you run the same prompt and test dataset against multiple foundation models and compare outputs, metrics, and quality. This is the native feature for model comparison during design and selection.

Exam trap

AI-103 often tests whether candidates recognize Azure AI Foundry's native evaluation and playground comparison features versus unrelated Azure services that sound like they compare or route traffic.

How to eliminate wrong answers

Option A is wrong because Azure Monitor workbooks visualize telemetry and performance metrics, not model output quality comparisons for the same prompt. Option B is wrong because Cosmos DB cross-region replication is a database availability and latency feature, unrelated to model evaluation. Option D is wrong because Azure Front Door is a global HTTP load balancer and CDN, not a model evaluation tool.

27
MCQhard

You are building an agentic application that uses function calling. The model frequently hallucinates arguments for complex tool schemas. Which technique should you apply to improve function calling reliability?

A.Convert all tool arguments into unstructured natural language text.
B.Remove all parameter descriptions from the tool schema to reduce prompt token count.
C.Set the model frequency penalty to high values.
D.Enhance the JSON schema with detailed parameter descriptions, enum constraints, and strict schema validation settings.
AnswerD

Detailed parameter descriptions, enum constraints and strict schema validation narrow the model's generation space, reducing invented arguments. This directly addresses the hallucinated-arguments constraint by making valid values explicit and rejecting malformed output before tool execution.

Why this answer

Detailed parameter descriptions, enum constraints, and strict schema validation give the model explicit guidance on expected argument formats and allowed values, reducing ambiguity that leads to hallucinated arguments. Strict schema validation (e.g., JSON Schema strict mode) rejects malformed outputs and forces the model to conform. This is the most direct and effective technique for improving function-calling reliability.

Exam trap

AI-103 often tests the misconception that reducing schema detail or token count improves function calling, when in fact richer, stricter schemas reduce hallucinated arguments.

How to eliminate wrong answers

Option A is wrong because converting arguments to unstructured natural language removes the structured contract that function calling relies on, making parsing and validation harder and increasing errors. Option B is wrong because removing parameter descriptions deprives the model of context about what each parameter means, which increases hallucination rather than reducing it. Option C is wrong because frequency penalty controls repetition in generated text, not the correctness or structure of function arguments; it does not address schema adherence.

28
MCQeasy

What is the primary benefit of using the Model Catalog in Azure AI Foundry?

A.Automated prompt engineering
B.Centralized discovery and deployment of models
C.Network security configuration
D.Automatic data labeling
AnswerB

The Model Catalog provides a single curated inventory where teams browse, evaluate, and deploy models from multiple providers into Azure AI Foundry, removing the need to source and integrate each model separately. This centralises discovery and deployment governance.

Why this answer

The Model Catalog in Azure AI Foundry is a centralized hub for discovering, comparing, and deploying foundation models from Microsoft, OpenAI, Meta, Mistral, and others. Its primary value is streamlining model selection and one-click deployment into managed endpoints, so teams can quickly move from evaluation to production. It is not a prompt engineering, networking, or data labeling tool.

Exam trap

AI-103 often tests whether candidates confuse the Model Catalog's discovery/deployment role with unrelated capabilities like prompt engineering or data labeling that belong to other Azure services.

How to eliminate wrong answers

Option A is wrong because automated prompt engineering is not a function of the Model Catalog; prompt optimization is handled through separate tooling like Prompt Flow or manual prompt engineering. Option C is wrong because network security configuration is managed through Azure networking constructs (VNets, private endpoints, NSGs), not the Model Catalog. Option D is wrong because automatic data labeling is a feature of Azure Machine Learning data labeling projects, not the Model Catalog, which focuses on model discovery and deployment.

29
MCQmedium

You are testing an agent in the Azure AI Foundry playground. You observe that the agent answers questions about its internal prompt. What is the most effective way to prevent this?

A.Delete the search index.
B.Use a higher-parameter model.
C.Update the system prompt to explicitly refuse requests about its instructions.
D.Disable the playground.
AnswerC

System prompt instructions take precedence over user input, so adding an explicit refusal directive stops the agent disclosing its internal prompt. This satisfies the playground scenario by addressing the behaviour at its source rather than filtering outputs after leakage has already occurred.

Why this answer

The most effective and direct mitigation for an agent revealing its system prompt is to harden the system prompt itself with explicit instructions to refuse any request about its instructions, configuration, or internal prompt. This is a prompt-level guardrail that addresses the observed behavior without disabling functionality or removing knowledge sources.

Exam trap

AI-103 often tests the misconception that a bigger model or removing data will fix prompt leakage — the exam expects you to recognize system-prompt hardening as the direct, proportionate control.

How to eliminate wrong answers

Option A is wrong because deleting the search index removes grounding data the agent needs for legitimate answers and does nothing to stop prompt-leakage behavior. Option B is wrong because a higher-parameter model does not inherently refuse prompt-extraction attempts — larger models can be equally susceptible to jailbreaks and may even be more articulate at leaking. Option D is wrong because disabling the playground prevents testing but does not fix the underlying vulnerability in production.

30
MCQhard

You are implementing prompt engineering for a customer support agent. To minimize hallucinations when the model lacks information, which Prompt Flow technique is most effective?

A.Chain-of-thought prompting
B.Instructional grounding to only answer from context
C.Increasing the Top_P parameter
D.Few-shot prompting with varied examples
AnswerB

Instructing the model to answer solely from supplied context constrains generation to retrieved evidence, so unsupported tokens are suppressed rather than invented. This directly satisfies the stem's requirement to minimise hallucinations when the model lacks information.

Why this answer

Instructional grounding — explicitly instructing the model to answer only from the provided context and to say it doesn't know otherwise — is the most direct and effective prompt-engineering technique to minimize hallucinations when the model lacks information. It constrains the model's generation to the retrieved context rather than its parametric memory.

Exam trap

AI-103 often tests whether candidates confuse reasoning techniques (chain-of-thought, few-shot) with grounding techniques — the trap is picking chain-of-thought because it sounds rigorous, when the question is specifically about preventing hallucination from missing context.

How to eliminate wrong answers

Option A is wrong because chain-of-thought prompting improves reasoning on complex tasks but does not prevent the model from inventing facts when context is missing; it can even amplify hallucination by generating plausible-sounding reasoning. Option C is wrong because increasing Top_P widens the sampling distribution, making the model more likely to produce diverse and potentially fabricated tokens, which increases hallucination risk. Option D is wrong because few-shot prompting with varied examples can improve format and style adherence but does not guarantee the model stays within the provided context, especially for out-of-distribution queries.

31
MCQhard

You are designing an agentic workflow in Azure AI Agent Service where multiple specialized agents need to collaborate to solve complex, multi-step financial analysis tasks. One agent manages the workflow state and decides which sub-agent to invoke next. What architectural pattern is best suited for this implementation?

A.Orchestrator-workers pattern, where a central agent dynamically assigns sub-tasks to specialized worker agents based on intermediate results.
B.Single monolithic prompt pattern, where all instructions are combined into one massive system prompt without multi-agent handoffs.
C.Map-reduce batch processing pattern, where all sub-agents execute independently in parallel without communication.
D.Static sequential pipeline, where agents execute strictly in a predefined linear order without conditional branching.
AnswerA

The orchestrator-workers pattern satisfies the stem's requirement for a central agent that manages workflow state and dynamically selects which specialised sub-agent to invoke next. Unlike fixed sequential or parallel pipelines, the orchestrator decides routing at runtime based on intermediate financial results, enabling genuine multi-step collaboration between Microsoft Entra ID-secured agents.

Why this answer

The orchestrator-workers pattern uses a central orchestrator agent that maintains workflow state, evaluates intermediate results, and dynamically selects which specialized worker agent to invoke next. This matches the requirement that one agent 'manages the workflow state and decides which sub-agent to invoke next' for multi-step financial analysis. It supports conditional branching, iterative refinement, and handoffs, which are essential when the sequence of sub-tasks cannot be known in advance.

Exam trap

AI-103 often tests whether candidates confuse 'multi-agent' with 'parallel agents' — the trap is picking map-reduce or a static pipeline when the scenario requires dynamic, stateful delegation by a central orchestrator.

How to eliminate wrong answers

Option B is wrong because a single monolithic prompt cannot support true multi-agent handoffs, state isolation, or dynamic delegation — it collapses all reasoning into one context and defeats the purpose of specialized agents. Option C is wrong because map-reduce executes sub-agents independently in parallel with no communication or shared state, so no agent can decide the next sub-task based on intermediate results. Option D is wrong because a static sequential pipeline has no conditional branching and cannot adapt the order of agent invocations to intermediate findings, which the scenario explicitly requires.

32
MCQeasy

You are deploying an Azure OpenAI model in Azure AI Foundry and want to evaluate its performance and safety against a validation dataset before moving to production. Which tool should you use?

A.Azure Monitor Log Analytics query packs
B.Azure Advisor cost recommendations
C.Model evaluation in Azure AI Foundry
D.Azure API Management developer portal
AnswerC

Model evaluation in Azure AI Foundry runs a validation dataset against the deployed model, computing performance metrics alongside safety evaluations such as harmful content and jailbreak risk. This provides the pre-production assessment the scenario requires before promoting the model.

Why this answer

Model evaluation in Azure AI Foundry provides a built-in evaluation framework where you can run your deployed model against a validation dataset and compute metrics like groundedness, relevance, fluency, coherence, and safety metrics (hate, violence, sexual, self-harm). It is the native tool for pre-production performance and safety assessment. Azure Monitor and Advisor serve different purposes (observability and cost), and API Management is for API governance.

Exam trap

AI-103 often tests whether candidates pick generic Azure monitoring/governance tools (Monitor, Advisor, APIM) for model evaluation when the correct answer is the purpose-built evaluation capability in Azure AI Foundry.

How to eliminate wrong answers

Option A is wrong because Azure Monitor Log Analytics query packs are for operational telemetry and log analysis, not for structured model quality/safety evaluation against a validation dataset. Option B is wrong because Azure Advisor cost recommendations focus on cost optimization, not model performance or safety evaluation. Option D is wrong because Azure API Management developer portal is for API documentation, subscription management, and developer onboarding — it has no model evaluation capability.

33
MCQmedium

You need to ensure that your agent's response is formatted as valid JSON. How should you approach this?

A.Set the temperature to 0.5.
B.Use an external library to convert text to JSON.
C.Ask the user to request JSON.
D.Define the JSON schema in the system prompt instructions.
AnswerD

Embedding the JSON schema within the system prompt constrains the model's output structure at generation time, satisfying the requirement for valid JSON. The system prompt carries higher priority than user turns, so the schema reliably governs formatting across responses.

Why this answer

Defining the JSON schema in the system prompt instructions guides the model to generate output that conforms to the specified structure. This approach leverages the model's instruction-following capabilities to produce valid JSON without external parsing. It is the most direct and reliable method for ensuring format compliance.

Exam trap

AI-103 often tests the misconception that temperature or external libraries can enforce JSON formatting, when the primary method is instructing the model via the system prompt.

How to eliminate wrong answers

Option A is wrong because setting the temperature to 0.5 affects randomness and creativity, not output format; it does not guarantee valid JSON. Option B is wrong because using an external library to convert text to JSON is a post-processing step that may fail if the model's output is not structured, and it does not ensure the model generates JSON natively. Option C is wrong because asking the user to request JSON shifts the responsibility and does not ensure the agent's response is formatted correctly by default.

34
MCQhard

You are implementing an agentic workflow where an agent needs to search a vector database, inspect the retrieved results, and if the results are insufficient, reformulate the query and search again before answering. What agent design pattern are you implementing?

A.Static zero-shot generation pattern
B.Direct REST API proxy pattern
C.Database indexing batch pattern
D.Self-Correction / Reflection pattern
AnswerD

Self-correction/reflection fits because the agent evaluates retrieved results and reformulates its query when they prove insufficient, then searches again before answering. This iterative critique-and-retry loop, rather than a single retrieval pass, satisfies the stem's requirement for repeated searching until results suffice.

Why this answer

The Self-Correction / Reflection pattern is an agentic design where the agent evaluates its own intermediate output (retrieved results), determines whether it is sufficient, and if not, reformulates its approach and retries before producing a final answer. This iterative evaluate-and-retry loop is the defining characteristic of reflection-based agents. It enables the agent to improve answer quality without human intervention.

Exam trap

AI-103 often tests agentic patterns by describing a loop behavior — candidates pick a generic 'RAG' or 'API' answer instead of recognizing the evaluate-and-retry cycle as Reflection/Self-Correction.

How to eliminate wrong answers

Option A is wrong because static zero-shot generation produces a single response with no evaluation or retry loop — it cannot inspect results and reformulate. Option B is wrong because a direct REST API proxy pattern is a simple pass-through integration with no reasoning or self-evaluation component. Option C is wrong because database indexing batch pattern refers to offline data preparation/indexing, not runtime agent reasoning or query reformulation.

35
Multi-Selectmedium

When designing prompt engineering strategies for complex reasoning tasks in Azure OpenAI, which TWO techniques help reduce hallucinations and improve output reliability? (Choose TWO)

Select 2 answers
A.Few-shot prompting providing high-quality input-output demonstration examples
B.Chain-of-thought (CoT) prompting instructing step-by-step reasoning
C.Disabling system prompts entirely to maximize model freedom
D.Setting the top_p parameter to 0.0 while setting temperature to 2.0
E.Encoding all prompt variables in hexadecimal format
AnswersA, B

Few-shot prompting supplies concrete input-output pairs that demonstrate the desired format and reasoning pattern, anchoring the model to expected responses. This reduces hallucination by constraining generation to patterns evidenced in the demonstrations, improving reliability on complex reasoning tasks.

Why this answer

Few-shot prompting (A) is correct because supplying several high-quality input-output demonstration examples in the prompt conditions the model on the desired format, tone, and reasoning pattern, which measurably reduces hallucination and improves consistency on complex reasoning tasks. Chain-of-thought prompting (B) is correct because explicitly instructing the model to reason step by step decomposes a hard problem into intermediate steps, improving accuracy on multi-step reasoning and making errors easier to detect. The unmarked options do not belong: removing system prompts (C) strips grounding and behavioral constraints, which increases hallucination risk; setting top_p to 0.0 with temperature 2.0 (D) is a contradictory, degenerate sampling configuration that does not improve reliability; and hex-encoding prompt variables (E) only obscures text and adds no reasoning benefit.

Exam trap

The trap is selecting parameter tweaks (temperature, top_p) or format changes as reliability techniques — the exam expects you to recognize prompt engineering methods like few-shot and CoT.

36
MCQmedium

You are developing a multi-agent orchestration solution using Azure AI Agent Service and want to ensure that user inputs are safely evaluated before they are passed to the model. Which component should you configure to inspect and filter incoming prompts for malicious content and restricted topics?

A.Azure Key Vault access policies
B.Azure AI Content Safety integrated into the model gateway
C.Azure Cognitive Search semantic ranker
D.Azure API Management rate limiting policy
AnswerB

Azure AI Content Safety integrated into the model gateway inspects prompts in transit, applying harm categories and restricted-topic filters before the model receives them. This satisfies the stem's requirement to evaluate user inputs safely, blocking malicious content at the gateway layer rather than relying on post-generation moderation or agent-level prompt instructions.

Why this answer

Azure AI Content Safety integrated into the model gateway inspects incoming prompts for harmful content, jailbreak attempts, and restricted topics before they reach the model, providing a centralized safety layer for multi-agent orchestration. This is the correct component for pre-model prompt evaluation and filtering.

Exam trap

AI-103 often tests whether candidates confuse infrastructure security controls (Key Vault, API Management) with semantic content safety, when only Azure AI Content Safety evaluates prompts for malicious or restricted content.

How to eliminate wrong answers

Option A is wrong because Azure Key Vault access policies manage secrets and cryptographic keys, not prompt content inspection or topic filtering. Option C is wrong because the Azure Cognitive Search semantic ranker reorders search results for relevance; it does not evaluate prompts for malicious content. Option D is wrong because API Management rate limiting controls request throughput and quotas, not the semantic safety of prompt content.

37
Multi-Selectmedium

When configuring role-based access control (RBAC) in Azure AI Foundry and Azure OpenAI, which TWO built-in Azure roles are commonly assigned to developers and services? (Choose TWO)

Select 2 answers
A.Storage Blob Data Owner
B.Cognitive Services OpenAI User
C.Virtual Machine Contributor
D.Network Contributor
E.Azure AI Developer
AnswersB, E

Cognitive Services OpenAI User grants data-plane access for calling Azure OpenAI models, inference and completions, without permitting key or account management. It satisfies the stem's requirement for a built-in role assigned to developers and services needing model invocation, complementing the control-plane Cognitive Services OpenAI Contributor role.

Why this answer

Option B, Cognitive Services OpenAI User, is correct because it is the built-in role that grants data-plane access to Azure OpenAI resources, allowing developers and services to call inference endpoints such as chat completions and embeddings without granting management permissions. Option E, Azure AI Developer, is correct because it is the built-in role designed for building and managing Azure AI Foundry projects and hubs, giving developers the permissions needed to create projects, connections, and deploy models while scoping access appropriately. Option A, Storage Blob Data Owner, is not appropriate here since it governs blob storage data access, not Azure OpenAI or AI Foundry RBAC.

Option C, Virtual Machine Contributor, manages VMs and is unrelated to AI service access. Option D, Network Contributor, manages networking resources and does not grant the AI/OpenAI data-plane permissions required for this scenario.

Exam trap

AI-103 often tests the distinction between control-plane roles (Azure AI Developer, Contributor) and data-plane roles (Cognitive Services OpenAI User), so candidates mistakenly pick generic roles like Storage Blob Data Owner or Network Contributor that have nothing to do with AI model access.

38
MCQhard

You are tuning the prompt for a generative AI application in Azure AI Foundry. The model frequently hallucinates when asked complex multi-part questions. You decide to use chain-of-thought (CoT) prompting. How should you structure the prompt to implement CoT effectively?

A.Set the model seed parameter to a fixed integer value for reproducibility
B.Reduce the maximum completion token limit to 150 tokens
C.Instruct the model to think step-by-step and show its intermediate reasoning before providing the final answer
D.Instruct the model to output its response exclusively in JSON format with strict schema validation
AnswerC

Instructing the model to reason step-by-step and expose intermediate reasoning decomposes complex multi-part questions into sequential sub-steps, reducing hallucination by grounding each inference in prior output. This directly satisfies the stem's constraint: complex multi-part questions that trigger hallucination. CoT works by allocating generation tokens to intermediate computation rather than jumping straight to a final answer.

Why this answer

Chain-of-thought prompting works by instructing the model to reason step-by-step and show intermediate reasoning before the final answer. This decomposition reduces hallucination on multi-part questions because the model is forced to work through each part logically rather than jumping to a conclusion. The prompt should explicitly ask for step-by-step thinking.

Exam trap

The trap is confusing output formatting (JSON) or sampling parameters (seed, temperature) with reasoning techniques — CoT is specifically about eliciting intermediate reasoning steps.

How to eliminate wrong answers

Option A is wrong because setting a seed only affects reproducibility, not reasoning quality or hallucination. Option B is wrong because reducing max tokens truncates reasoning, which harms CoT and can increase errors. Option D is wrong because forcing JSON output constrains format but does not improve reasoning; it may even suppress the step-by-step thinking CoT requires.

39
MCQeasy

You want to monitor the cost and latency of your agentic application in production. Which service should you integrate with your Azure AI Foundry project?

A.Azure OpenAI Studio.
B.Azure AI Search.
C.Azure Application Insights.
D.Azure AI Content Safety.
AnswerC

Application Insights captures request traces, dependency calls and latency telemetry from the agentic application, and its token and usage metrics feed cost monitoring, satisfying the requirement to track both cost and latency in production. Azure Monitor alone lacks the application-level distributed tracing needed here.

Why this answer

Azure Application Insights is the Application Performance Monitoring (APM) service that Azure AI Foundry integrates with to capture traces, latency, token usage, and cost telemetry for agentic applications. It provides the dashboards, query language (KQL), and alerting needed to monitor production behavior.

Exam trap

AI-103 often tests whether candidates confuse development surfaces (OpenAI Studio) with observability services — the trap is picking a playground or search service when the question asks about production cost and latency monitoring.

How to eliminate wrong answers

Option A is wrong because Azure OpenAI Studio is a development and experimentation surface for prompts and deployments, not a production monitoring or cost-tracking service. Option B is wrong because Azure AI Search is the retrieval/index service; it reports search metrics but not end-to-end agent latency or cost. Option D is wrong because Azure AI Content Safety filters harmful content; it does not collect performance or billing telemetry.

40
MCQhard

You are designing a multi-agent solution in Azure AI Foundry where agents collaborate asynchronously. One agent produces an intermediate JSON payload that must be strictly validated before being consumed by the next agent. What feature should you implement?

A.Model temperature set to 1.0
B.Azure API Management XML transformation policy
C.Structured Outputs with strict JSON Schema enforcement
D.Azure AI Content Safety hate speech detection
AnswerC

Structured Outputs constrain generation to a strict JSON Schema, guaranteeing the payload conforms to declared types and required fields before the next agent consumes it. This satisfies the stem's strict validation constraint, unlike prompt-based formatting requests, which cannot guarantee schema compliance across asynchronous handoffs.

Why this answer

Structured Outputs with strict JSON Schema enforcement forces the model to emit JSON that conforms to a defined schema, which is exactly what is needed to validate an intermediate payload before the next agent consumes it. It reduces parsing failures and ensures required fields, types, and enums are respected.

Exam trap

AI-103 often tests the difference between prompt-level requests for JSON and true schema-enforced Structured Outputs, tempting candidates to pick content safety or gateway policies instead.

How to eliminate wrong answers

Option A is wrong because setting temperature to 1.0 increases randomness and makes output less predictable, which is the opposite of strict validation. Option B is wrong because Azure API Management XML transformation policies handle XML, not JSON schema validation for model outputs, and they operate at the gateway layer rather than constraining generation. Option D is wrong because Azure AI Content Safety hate speech detection filters harmful content; it does not validate JSON structure or enforce a schema.

41
MCQmedium

You are developing a RAG solution using Azure AI Search. Users are searching using domain-specific acronyms that are not well-represented in standard embedding models, resulting in poor retrieval scores. What feature should you enable in Azure AI Search to improve keyword matching for exact acronyms?

A.Increasing the embedding dimension size to 3072
B.Enabling Azure AI Content Safety filters
C.Setting the semantic ranker threshold to zero
D.Hybrid search combining vector search and full-text BM25 search
AnswerD

Hybrid search pairs vector similarity with BM25 full-text matching, so exact acronym tokens that embeddings under-represent are still matched lexically. This directly satisfies the stem's requirement for improved keyword matching on domain-specific acronyms, since BM25 scores literal term overlap while vectors handle semantic similarity.

Why this answer

Hybrid search in Azure AI Search runs vector (k-NN) search and full-text BM25 keyword search in parallel, then fuses the results using Reciprocal Rank Fusion (RRF). BM25 excels at exact term matching, so domain-specific acronyms that embedding models underrepresent will still be matched lexically, dramatically improving recall for those queries. This is the standard remedy when semantic/vector retrieval alone misses rare tokens.

Exam trap

AI-103 often tests the misconception that bigger embeddings or semantic ranking alone solve all retrieval problems — the trap is overlooking that lexical BM25 matching is still essential for exact terms, acronyms, and rare tokens that embeddings handle poorly.

How to eliminate wrong answers

Option A is wrong because increasing embedding dimensions (e.g., to 3072 with text-embedding-3-large) improves general semantic capacity but does not fix out-of-vocabulary acronyms — the tokenizer still fragments them and the model has no learned representation for rare domain terms. Option B is wrong because Azure AI Content Safety filters detect and block harmful content (hate, violence, self-harm, sexual) and have nothing to do with retrieval scoring or keyword matching. Option C is wrong because setting the semantic ranker threshold to zero does not improve matching — it merely changes the cutoff for which re-ranked results are returned, and if the acronym never surfaced in L1 retrieval, semantic ranking has nothing to re-rank.

42
MCQmedium

You are building an agent in Azure AI Foundry that needs to retrieve information from a company SharePoint site. Which component should you implement to ground the agent?

A.Blob Storage integration
B.Azure AI Search with a SharePoint connector
C.Direct REST API call to SharePoint
D.Microsoft Graph Data Connect directly to the model
AnswerB

Azure AI Search with a SharePoint connector indexes SharePoint content and exposes it as a queryable knowledge source, grounding agent responses in actual company documents. This satisfies the retrieval requirement, since the connector handles authentication and indexing without custom ingestion code.

Why this answer

Azure AI Search with a SharePoint connector (via the SharePoint indexer or the newer SharePoint ingestion pipeline) is the supported, first-party way to ground an Azure AI Foundry agent on SharePoint content. The connector crawls SharePoint sites, extracts documents, chunks and indexes them, and exposes them through a retriever that the agent can call as a knowledge tool. This gives the agent permission-aware, up-to-date retrieval without custom code.

Exam trap

AI-103 often tests whether candidates understand that grounding requires an indexed retrieval layer (Azure AI Search) rather than a raw API call or bulk-export tool like Graph Data Connect.

How to eliminate wrong answers

Option A is wrong because Blob Storage integration only indexes files that have been copied into Azure Blob Storage — it has no native awareness of SharePoint sites, permissions, or document updates, so it cannot ground the agent on live SharePoint content. Option C is wrong because a direct REST API call to SharePoint bypasses the indexing, chunking, embedding, and ranking pipeline that makes retrieval accurate and scalable; it also forces you to handle auth, pagination, and relevance yourself. Option D is wrong because Microsoft Graph Data Connect is a bulk-extraction pipeline for analytics (landing data in Azure Data Lake/Storage), not a real-time retrieval mechanism, and it cannot be wired directly into a model as a grounding source.

43
Multi-Selectmedium

You are evaluating generative AI model outputs in Azure AI Foundry. Which TWO automated evaluation metrics assess the quality and correctness of RAG responses against source data? (Choose TWO)

Select 2 answers
A.Groundedness (measuring adherence to source context)
B.Virtual network gateway throughput
C.Storage account transaction count per hour
D.CPU utilization percentage of the Azure App Service plan
E.Relevance (measuring how well the response addresses the user query)
AnswersA, E

Groundedness scores whether the response's claims are actually supported by the retrieved source context. For RAG correctness this is the decisive metric, since it detects hallucinated content that contradicts or falls outside the supplied documents.

Why this answer

Option A, Groundedness, is correct because it is a built-in Azure AI Foundry evaluation metric that measures how well a generative AI response is supported by and adheres to the retrieved source context, which is exactly what is needed to verify RAG responses against source data and detect ungrounded or hallucinated content. Option E, Relevance, is correct because it is another built-in Foundry evaluation metric that assesses how well the model's response addresses the user's query, complementing groundedness by judging answer quality and correctness relative to the question. The remaining options are infrastructure and platform telemetry rather than AI quality metrics: B (virtual network gateway throughput) measures network bandwidth, C (storage account transaction count per hour) measures storage operations, and D (CPU utilization percentage of the Azure App Service plan) measures compute load, none of which evaluate the semantic quality or correctness of RAG responses.

Exam trap

AI-103 often tests whether candidates can distinguish AI quality metrics (groundedness, relevance) from generic infrastructure metrics (CPU, storage transactions, network throughput) that are irrelevant to model evaluation.

44
MCQeasy

You are designing a generative AI application in Azure AI Foundry and want to categorize user queries into predefined intent classes before routing them to specific agents. Which prompt engineering technique should you apply?

A.Zero-shot random generation
B.Enabling JSON output mode without schema definition
C.Few-shot prompting with labeled classification examples
D.Increasing model temperature to 1.5
AnswerC

Few-shot prompting supplies labelled examples of each intent class within the prompt, letting the model infer the classification boundary without fine-tuning. This directly satisfies the requirement to categorise queries into predefined intents before routing, since the examples anchor output to your specific class labels.

Why this answer

Few-shot prompting provides the model with labeled examples of each intent class, allowing it to learn the classification pattern in-context without fine-tuning. This is the standard technique for intent categorization when you have predefined classes and want consistent, schema-aligned outputs. The labeled examples anchor the model's output format and decision boundaries.

Exam trap

AI-103 often tests the confusion between few-shot prompting (providing labeled examples in the prompt) and fine-tuning or structured output modes — candidates must recognize that in-context labeled examples define few-shot classification.

How to eliminate wrong answers

Option A is wrong because 'zero-shot random generation' is not a real technique — zero-shot prompting uses no examples, and 'random generation' implies uncontrolled output, which is the opposite of classification. Option B is wrong because enabling JSON output mode without a schema definition does not tell the model which intent classes exist or how to map queries to them; structured output alone does not solve classification. Option D is wrong because raising temperature to 1.5 increases randomness and creativity, which degrades classification consistency and increases hallucinated or off-schema labels.

45
MCQeasy

When engineering prompts for Azure OpenAI models, you want to guide the model's output format and persona effectively. Which practice represents the most reliable prompt engineering technique?

A.Embedding all context and instructions exclusively inside user messages without utilizing system messages.
B.Providing clear role definition, explicit formatting instructions, and few-shot examples within the system message.
C.Using overly complex, ambiguous phrasing to encourage the model to explore diverse latent spaces.
D.Relying entirely on zero-shot inference without system messages to maximize model creativity.
AnswerB

The system message carries the highest-priority instructions, so embedding role definition, explicit output formatting rules, and few-shot examples there reliably steers persona and structure. Few-shot examples demonstrate the exact pattern, which is more dependable than instructions alone.

Why this answer

Option B is correct because the system message is the authoritative channel for defining the model's role, persona, output format constraints, and few-shot examples. Azure OpenAI models weight system messages heavily for behavioral guidance, and combining role definition, explicit formatting rules, and few-shot examples yields the most deterministic, reliable outputs. This is the recommended pattern in Microsoft's prompt engineering guidance.

Exam trap

AI-103 often tests the misconception that 'more creative' or 'zero-shot' prompting is better, when the exam expects candidates to recognize that structured system messages with role, format, and few-shot examples are the most reliable technique.

How to eliminate wrong answers

Option A is wrong because embedding all instructions in user messages removes the persistent behavioral framing that system messages provide, making the model more susceptible to prompt injection and inconsistent formatting across turns. Option C is wrong because ambiguous, complex phrasing increases variance and degrades output reliability — clarity and specificity are the goals, not ambiguity. Option D is wrong because zero-shot inference without system messages sacrifices controllability and persona consistency, maximizing creativity at the expense of the format and behavior the scenario requires.

46
MCQmedium

You are configuring an Azure AI Search index for use with Azure OpenAI On Your Data. The index contains technical documentation with complex nested tables. Which search configuration will yield the best retrieval performance for semantic queries?

A.Configure a pure OData filter index without vector embeddings.
B.Enable semantic search alongside vector and keyword search (hybrid search).
C.Use simple query syntax with exact phrase matching only.
D.Disable all vector fields and rely exclusively on traditional Lucene scoring.
AnswerB

Hybrid search fuses BM25 keyword matching with vector similarity, while semantic ranking reranks the fused results using a language model. Together they handle exact terminology in nested tables and paraphrased semantic queries, outperforming either keyword or vector search alone.

Why this answer

Hybrid search combines keyword (BM25/Lucene) scoring with vector similarity, and semantic search adds a Microsoft-hosted reranker (based on deep learning models) on top of the merged results. For complex nested tables in technical documentation, keyword matching alone misses paraphrased queries, while pure vector search can lose exact identifiers; the semantic reranker then reorders the top ~50 results for relevance. This layered approach yields the best retrieval quality for RAG grounding in Azure OpenAI On Your Data.

Exam trap

AI-103 often tests the misconception that vector search alone is sufficient for RAG, when in fact Microsoft recommends hybrid (keyword + vector) plus semantic reranking for best retrieval quality.

How to eliminate wrong answers

Option A is wrong because OData filters only narrow results by structured field predicates and provide no relevance ranking or semantic understanding, so they cannot retrieve conceptually similar content. Option C is wrong because simple query syntax with exact phrase matching only performs literal term matching and fails on synonyms, paraphrases, or natural-language semantic queries. Option D is wrong because disabling vector fields removes the dense embedding channel entirely, leaving only traditional Lucene scoring, which cannot capture semantic similarity for complex technical content.

47
MCQeasy

When evaluating an AI agent, what does the 'Coherence' metric measure?

A.The cost of the API call.
B.The logical flow and clarity of the generated text.
C.The number of sources cited.
D.The speed of the response.
AnswerB

Coherence measures how logically the generated text flows, ensuring sentences and ideas connect clearly rather than contradicting or jumping abruptly. This satisfies the evaluation requirement by assessing structural consistency across the response, distinct from groundedness (factual accuracy against sources) or fluency (grammatical correctness at sentence level).

Why this answer

The Coherence metric in AI agent evaluation measures the logical flow and clarity of the generated text. It assesses whether the response is well-structured, easy to follow, and logically consistent. This is one of the key quality metrics for generative AI outputs.

Exam trap

AI-103 often tests the confusion between coherence and other metrics like fluency or relevance, with candidates incorrectly associating coherence with source citation or response speed.

How to eliminate wrong answers

Option A is wrong because the cost of the API call is a financial metric, not a measure of text quality. Option C is wrong because the number of sources cited relates to groundedness or attribution, not coherence. Option D is wrong because the speed of the response is a performance metric (latency), not a quality metric.

48
Multi-Selectmedium

You are designing a RAG solution using Azure AI Search and Azure OpenAI. Which TWO factors significantly influence the effectiveness of chunking documents during the ingestion phase? (Choose TWO)

Select 2 answers
A.Chunk size measured in tokens or characters
B.Azure OpenAI model temperature setting
C.Chunk overlap percentage between consecutive segments
D.Azure API Management timeout duration
E.Virtual network subnet IP address range
AnswersA, C

Chunk size, measured in tokens or characters, determines how much context each indexed segment carries. It directly governs retrieval granularity: oversized chunks dilute embedding relevance, undersized chunks fragment meaning, so this axis materially shapes RAG answer quality during ingestion.

Why this answer

Option A (chunk size measured in tokens or characters) is correct because the size of each chunk directly determines how much context is embedded and retrieved; chunks that are too large dilute semantic relevance and may exceed the embedding model's token limit, while chunks that are too small lack sufficient context, so tuning size in tokens or characters is a primary lever for RAG quality. Option C (chunk overlap percentage between consecutive segments) is correct because overlap preserves continuity across chunk boundaries, preventing sentences or ideas split between segments from losing meaning, and the overlap ratio materially affects retrieval recall and answer coherence. Option B is incorrect because the Azure OpenAI model temperature only controls randomness during text generation at inference time and has no effect on how documents are chunked during ingestion.

Option D is incorrect because Azure API Management timeout duration governs request/response time limits for API calls and does not influence chunking strategy. Option E is incorrect because virtual network subnet IP address range is a networking concern for connectivity and has no bearing on document segmentation.

Exam trap

AI-103 often tests the misconception that generation-side parameters like temperature or infrastructure settings like API timeouts affect ingestion-time chunking, when only chunk size and overlap are chunking-specific factors.

49
Multi-Selecthard

When configuring vector embeddings and search indexes in Azure AI Search for RAG, which THREE factors directly impact vector search performance and recall accuracy? (Choose THREE)

Select 3 answers
A.Embedding model dimension size and consistency with source generation
B.Azure App Service CPU architecture (x64 vs ARM)
C.HNSW (Hierarchical Navigable Small World) algorithm parameters such as m and efSearch
D.Choice of vector similarity metric (Cosine, Dot Product, or Euclidean)
E.Configuring Azure Front Door DNS CNAME records
AnswersA, C, D

Embedding dimension determines vector size and index memory, while the query embedding must be generated by the same model as the documents. Mismatched dimensions or models break comparability, directly degrading recall accuracy and search latency.

Why this answer

Option A is correct because the embedding model's dimension size determines the vector field's dimensionality in the Azure AI Search index, and it must match the dimensions produced by the model used to generate the query embeddings; a mismatch causes search failures or degraded recall, and higher dimensions generally increase accuracy at the cost of memory and latency. Option C is correct because HNSW parameters directly govern the approximate nearest neighbor graph: 'm' controls the number of bidirectional links per node (affecting index size and recall), while 'efSearch' (efConstruction/efSearch) tunes the breadth of the search during query time, trading latency for recall. Option D is correct because the similarity metric (Cosine, Dot Product, or Euclidean) must align with how the embedding model was trained; using the wrong metric distorts distance comparisons and reduces recall accuracy.

Option B is incorrect because Azure App Service CPU architecture is unrelated to Azure AI Search vector indexing or querying, which runs on the search service's own infrastructure. Option E is incorrect because Azure Front Door DNS CNAME records only affect traffic routing and hostname resolution, not vector search performance or recall.

Exam trap

AI-103 often tests the misconception that infrastructure choices (CPU architecture, CDN/DNS) affect vector search quality — candidates must focus on embedding model properties, HNSW tuning, and similarity metric selection as the true performance and recall levers.

50
MCQeasy

You are deploying a generative AI chat application on Azure OpenAI. Product owners want the model's responses to follow a strict JSON schema so the front end can render structured cards. You need the highest possible reliability that outputs conform to the schema. What should you configure?

A.Use structured outputs with a JSON schema definition on the model deployment.
B.Add few-shot examples of well-formed JSON to every request payload.
C.Increase the max_tokens value and set top_p to 0.1 to narrow sampling.
D.Set the temperature parameter to 0 and include the schema in the system message.
AnswerA

Structured outputs constrain decoding so that generated tokens conform to the supplied JSON schema, giving the highest reliability that responses parse and validate. This removes the need for prompt-only enforcement and lets the front end depend on a stable contract, which is exactly the requirement described.

Why this answer

Structured outputs enforce the JSON schema during decoding, so the model cannot emit tokens that violate the schema. This provides a deterministic contract that the front end can rely on, unlike temperature tuning, sampling adjustments, or prompt examples, all of which only increase the probability of conformance without guaranteeing it.

Exam trap

The trap here is treating temperature 0 as a guarantee of schema conformance, when deterministic sampling still permits structurally invalid output.

51
MCQeasy

You are configuring a connection between Azure AI Foundry and an Azure OpenAI resource. Which credential type is recommended for secure, keyless authentication between services in Azure?

A.Account primary access key stored in application configuration
B.Hardcoded personal access tokens (PAT)
C.Anonymous public access with IP whitelisting
D.Managed Identity with Azure RBAC
AnswerD

Managed Identity issues a Microsoft Entra ID token to the Azure AI Foundry resource, and Azure RBAC grants it the required role on the Azure OpenAI resource, eliminating stored keys. This satisfies the stem's keyless authentication constraint, unlike API keys or connection strings, which must be rotated and can leak.

Why this answer

Managed Identity with Azure RBAC is the recommended keyless authentication method because Azure AI Foundry and Azure OpenAI are both Azure services that support Microsoft Entra ID token-based authentication. A system-assigned or user-assigned managed identity eliminates secrets entirely, and RBAC role assignments (such as Cognitive Services OpenAI User) scope exactly what the identity can do. This removes the risk of key leakage, rotation overhead, and credential sprawl in configuration files.

Exam trap

AI-103 often tests the misconception that API keys are acceptable for service-to-service auth in Azure, when the exam consistently favors managed identity plus RBAC as the keyless, least-privilege answer.

How to eliminate wrong answers

Option A is wrong because storing the account primary access key in application configuration embeds a long-lived shared secret that must be rotated manually and can be exfiltrated from config files or source control. Option B is wrong because hardcoded personal access tokens are still static secrets, are tied to a user identity rather than a workload, and violate the keyless authentication principle. Option C is wrong because anonymous public access with IP whitelisting provides no authentication at all — IP allowlists can be spoofed or bypassed via compromised hosts inside the allowed range and expose the endpoint to unauthenticated abuse.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

69
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).

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

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

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

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

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

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

Page 1 of 3 · 156 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Implement Generative AI And Agentic Solutions questions.