A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Think first How would you deploy, call, ground and evaluate a generative app that runs on a Foundry project?
Why it matters: Questions describe an app's needs and ask which deployment, endpoint, retrieval approach, integration or evaluator fits them.
An app reaches a model through a named deployment and grounds answers with retrieved content. Evaluators then score the quality of its answers. Most questions turn on picking the right deployment, retrieval style, endpoint and evaluator.
Reported, thanks
Step 2 of 11
Term
Meaning
Deployment name
The name an app passes in the model parameter to reach one specific deployment.
Grounding data
Retrieved content the app adds to the user's question so the model answers from it.
Agentic retrieval
A model splits a complex input into focused subqueries, runs them in parallel and returns structured results.
Project endpoint
The /api/projects/{projectname}/ address, used for stateful APIs such as the agent service.
Groundedness
A quality evaluator that checks whether a response stays within the context it was given.
Reported, thanks
Step 3 of 11
Serverless API is the preferred, most capable deployment path. Global Standard gives the highest default quota, so you skip load balancing across resources. Batch suits work that can wait: it has no real-time SLA and its own enqueued token quota.
Serverless API and managed compute compared
Feature
Serverless API
Managed compute
Typical models
Foundry Models sold by Azure and select partner and community models
Open-source and custom models
Deployment types
Standard, provisioned throughput, batch and developer
Not used
Exam trap Batch does not guarantee results within 24 hours. It only aims for that window and might take longer.
Reported, thanks
Step 4 of 11
Deploying needs the right role, enough quota and the right resource. Creating deployments takes Cognitive Services Contributor, or equal rights, on the Foundry resource. Deployments and inference draw on tokens-per-minute (TPM) quota, set per region and per model. Partner and community models need an Azure Marketplace subscription first; models sold by Azure don't. An Azure OpenAI resource lists only Azure OpenAI models, so upgrade to a Foundry resource for the full catalog.
Exam trap You can't deploy through a Foundry or Azure OpenAI resource that sits in another subscription. Cross-subscription connections aren't supported for deployments.
Reported, thanks
Step 5 of 11
Pass the deployment name in the model parameter. One model can be deployed several times under different names, for example to compare content filter settings. With Entra ID through a project, point the client at the project endpoint and append /openai/v1 to the base URL.
The two Foundry endpoints compared
Feature
Foundry endpoint
Project endpoint
Path
/api/ on the resource
/api/projects/{projectname}/ on the resource
Serves
Stateless APIs, such as model inference
Stateful APIs, such as the agent service
Exam trap For a project call with Entra ID, the resource endpoint is the wrong base. The client must use the project endpoint plus /openai/v1.
Reported, thanks
Step 6 of 11
RAG retrieves content, adds it to the prompt, then generates. Choose RAG when answers must reflect private or fast-changing data. Choose fine-tuning to change behavior, style or task performance. For new Foundry IQ (Azure AI Search) builds, start with agentic retrieval.
Classic RAG and agentic retrieval compared
Feature
Classic RAG
Agentic retrieval
Querying
The app sends one query and hands the results to the LLM itself
A model splits the input into focused subqueries run in parallel
Semantic ranking
Optional
Built in
Strength
Fewer parts, and faster because no LLM plans the query
Structured grounding data that suits chat completion models
Exam trap Fine-tuning is not the way to add fresh knowledge. When answers depend on private or changing data, use RAG instead.
Reported, thanks
Step 7 of 11
Agents get retrieval as a tool; full RAG apps use the Foundry SDK. An agent can use a tool such as file search. Agentic retrieval adds 3 objects. Knowledge sources each point at searchable content, such as an index or SharePoint site. A knowledge base unifies them, and app code calls the retrieve action.
Reported, thanks
Step 8 of 11
Enforce access control when content is retrieved. With Foundry IQ, document-level security filters limit what each user can retrieve. To curb hallucination, turn on citations and tell the model to stay with retrieved content. In production, prefer Entra ID; API keys are a development convenience.
Exam trap Grounding alone doesn't stop hallucination. Citations plus clear system messages that keep the model on retrieved content are the usual fix.
Reported, thanks
Step 9 of 11
Pick the integration that matches where the app runs. Power Apps, Power Automate and Logic Apps use the Azure OpenAI connector. Azure API Management can act as an AI gateway, one entry point across model hosts. In langchain-azure-ai, a project endpoint needs Entra ID and the Foundry User role.
Exam trapinit_embeddings, unlike init_chat_model, has no automatic fallback to DefaultAzureCredential. Pass it a credential explicitly.
Reported, thanks
Step 10 of 11
Groundedness checks whether answers stay within the given context. AI-assisted quality evaluators require a deployed GPT model, reached through an Azure OpenAI connection. Agent evaluators run only at the Individual turns scope. A Dataset target scores existing outputs without re-running anything. Run comparisons use t-testing for more reliable results.
Exam trap A surprisingly low Groundedness score often points to incomplete retrieval or context. Check how the context is built and how long retrieval takes.
Reported, thanks
Step 11 of 11
Start new Foundry IQ RAG builds with agentic retrieval; classic RAG is simpler and faster but sends a single query.
Adding a project connection takes Foundry User, Foundry Owner or Azure Contributor, or a higher role.
A Foundry resource holds only 1 Azure Key Vault connection at a time.
Prompt reasoning models with simple instructions, skip chain-of-thought, and set max_completion_tokens high enough for reasoning and answer.
When content filtering blocks a call, catch HTTP 400 errors and the content_filter finish reason; never resend it unchanged.
Think first How do you give an agent the right tools, knowledge and memory while keeping a person in control of risky actions?
Why it matters: Questions describe an agent requirement and ask which tool, setting, approval control or orchestration pattern meets it.
An agent can call tools such as function tools, OpenAPI tools, web grounding and MCP servers. Memory carries context across sessions. The require_approval setting keeps MCP calls under a person's control, and Workflows orchestrate several agents.
Reported, thanks
Step 2 of 11
Term
Meaning
Function tool
A tool you define by schema; your code runs it and returns the output to the agent.
Vector store
A store of files, up to 10,000 of them, that you attach to an agent or to a conversation.
Knowledge base
A Foundry IQ object that defines which knowledge sources to query and how retrieval behaves.
Memory scope
A division of a memory store, such as one end user's memories, set with the tool's scope.
Managed MCP server
The MCP server Foundry creates and runs for you when you add a catalog connector.
Reported, thanks
Step 3 of 11
Set function definitions with the SDK or REST API, not the portal. The portal can run agents with function tools but can't change their definitions. To make the schema enforce required fields, add a required array. Runs expire 10 minutes after creation, so submit tool outputs before then.
Exam trap A function call with no final answer means the output never reached the model. Run the function, then call responses.create with its output and the conversation ID.
Reported, thanks
Step 4 of 11
Each OpenAPI operation needs an operationId of letters, - and _ only. OpenAPI tools don't support OAuth identity passthrough. Pick anonymous access, a key or the project's managed identity instead. A custom tool hosted on Azure Functions lets agents call it without direct access to the databases, APIs or networks behind it.
Exam trap The Azure Functions tool doesn't work with the basic agent setup. It needs the queue resources and managed network integration that the standard setup provides.
Reported, thanks
Step 5 of 11
Attach at most one vector store to an agent and one to a conversation. Deleting a file object removes it from every vector store across the organization. Response generation waits up to 60 seconds for a conversation's store that is still processing files.
File search defaults and limits
Setting
Default or limit
What to know
Chunking
800-token chunks, 400-token overlap
Default chunking settings
Embedding model
text-embedding-3-large, 256 dimensions
Up to 20 chunks go into context
Files per vector store
10,000
At most one store per agent and one per conversation
File size
512 MB and up to 5,000,000 tokens
Tokens are counted when you attach the file
Conversation store expiry
Seven days after last activity
Runs on that conversation then fail
Reported, thanks
Step 6 of 11
A knowledge base decides which knowledge sources an agent queries. The Foundry IQ tool defaults to top_k of 5 and query_type of vector_semantic_hybrid. With a private virtual network, authenticate with project managed identity, because keys aren't supported there. Low or medium query planning and answer synthesis need an LLM.
Exam trap A 401 or 403 with keyless auth means roles are missing. Give the project's managed identity Search Index Data Contributor and Search Service Contributor.
Reported, thanks
Step 7 of 11
Web grounding gives agents real-time public web data beyond the model's cutoff. Start with Web Search, which needs no extra Azure resources. Grounding with Bing Search gives you more parameters. It also works with non-OpenAI models deployed directly on Azure. If the agent never uses the tool, set tool_choice="required" to force it.
Exam trap Web grounding tools behave as public endpoints. They ignore VPN and private endpoints, even in a network-secured Foundry project.
Reported, thanks
Step 8 of 11
Short-term memory covers one session; Foundry memory is long-term. Each memory store pairs a chat model with an embedding model to extract and index user-profile memories. It holds up to 100 scopes and 10,000 memories per scope. A default_ttl_seconds of 0 means memories never expire. For per-user memory, set the scope to {{$userId}} and send x-memory-user-id.
Exam trap Memory writes failing with 401 and an empty store point to a missing Cognitive Services OpenAI User role.
Reported, thanks
Step 9 of 11
require_approval defaults to always, so every call needs approval. Set it to never only when no approval is wanted. Leaving allowed_tools out, or empty, exposes every tool on the MCP server. A catalog connector becomes a managed MCP server scoped to its project, with actions only. Foundry doesn't create gateway routes for MCP servers for you.
Exam trap Don't let the model decide permissions for A2A agents. Enforce permissions and approvals independently, and treat provider descriptions as untrusted input.
Reported, thanks
Step 10 of 11
The classic Connected Agents tool is gone from the new Agent Service. Use Workflows to orchestrate agents declaratively: in sequence, as a group chat, or with a human in the loop. Or use the A2A tool to reach any A2A-compatible endpoint. The a2a type uses protocol 1.0 and is generally available; a2a_preview uses 0.3. Tracing confirms whether a tool call really happened.
Reported, thanks
Step 11 of 11
Edit function definitions in code; the portal can only run agents that use them.
require_approval stays always unless you set it to never.
Use Workflows or the A2A tool where classic Connected Agents used to fit.
Web grounding tools act as public endpoints, even in a network-secured project.
Think first How do you tune a model's output, improve its instructions and see what it does once it runs in production?
Why it matters: Questions describe a quality, cost or latency problem and ask which parameter, prompt technique or monitoring signal addresses it.
You set how random output is with temperature, then let Prompt Optimizer improve your instructions. Connecting Application Insights turns on server-side tracing. One endpoint lets an app switch between models without code changes.
Reported, thanks
Step 2 of 11
Term
Meaning
Temperature
A parameter from 0 to 2 that sets how random or focused the output is.
Chain-of-thought prompting
Asking a model to work step by step and show every step in its response.
Server-side tracing
Traces Foundry records once Application Insights is connected to the project.
Deployment
An alias that gives a model a name and configuration; requests use that name.
Defect rate
The share of test instances whose severity passes a threshold in a safety evaluation.
Reported, thanks
Step 3 of 11
Temperature accepts values from 0 to 2. A higher value such as 0.7 makes responses more random and divergent. A lower value such as 0.2 keeps them focused and concrete. Top_p also controls randomness, in a different way. Adjust one of the two at a time, not both.
Reported, thanks
Step 4 of 11
The end of a prompt can sway the output more than the start. That is recency bias, so test repeating your instructions at the end. A system message steers the model but doesn't guarantee compliance, so layer it with filtering and evaluation. Citations placed inline curb false content better than citations at the end.
Exam trap Classic prompt engineering techniques aren't recommended for reasoning models, such as gpt-5 and the o-series models.
Reported, thanks
Step 5 of 11
Chain-of-thought prompting asks the model to show every step. Seeing the steps lowers the chance of an inaccurate outcome. It also makes the response easier to assess. The technique applies only to non-reasoning models. For a reasoning model, the reasoning summary parameter is the supported way to see its reasoning.
Exam trap Pulling out a reasoning model's reasoning by any other method isn't supported. It may break the Acceptable Use Policy and lead to throttling or suspension.
Reported, thanks
Step 6 of 11
Prompt Optimizer rewrites an agent's system instructions for you. It applies prompt engineering best practices and explains each change paragraph by paragraph. You need a prompt or workflow agent and a model deployment in a supported region. Results aren't kept, so select Use prompt before closing the dialog. Each reoptimization starts from the latest optimized text.
Exam trap Prompt Optimizer works only on text instructions. It doesn't optimize tool definitions or knowledge sources.
Reported, thanks
Step 7 of 11
The agent optimizer compares candidates with your current agent. Candidates can improve instructions, function-calling tool descriptions or model selection. Turn on Compare across models to test several deployments. If every candidate scores below the baseline, keep the current agent and revise the dataset, evaluators or settings. Treat the cost estimate as a modeled range: it is neither a cap nor the final charge.
Exam trap Optimization runs exercise the agent's tools. When those tools can modify production systems, a run can cause unintended or irreversible changes.
Reported, thanks
Step 8 of 11
Server-side tracing starts once you connect Application Insights. It needs no code changes, and traces cover the past 90 days. Prompt, hosted and external agents have it in general availability; workflow agents have it in preview. Querying traces needs Log Analytics Reader, plus Privileged Monitoring Data Reader for protected tables. Search by Trace ID, Response ID or time range.
Exam trap If spans appear without input and output attributes, enable content recording with OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true.
Reported, thanks
Step 9 of 11
Each signal comes from a different place. Safety evaluations check output for hate, sexual, violent and self-harm content, jailbreaks and protected material. The defect rate is the share of instances above a severity threshold.
Where each observability signal comes from
Signal
Where to find it
What to know
Agent traces
Traces view in the Foundry portal
Past 90 days, out of the box
Resource logs
Azure Monitor logs
Saved only after you add a diagnostic setting
Token counts
usage object in each Responses reply
input_tokens, output_tokens, total_tokens
Safety signals
Risk and safety evaluations
Risk level or True/False label, with reasoning
Startup latency
x-ms-debug-latency-container-readiness-ms
Send x-ms-debug-latency-enabled: true and compare
Exam trap Once a provisioned-managed deployment's utilization reaches 100% or more, its calls are throttled and return a 429.
Reported, thanks
Step 10 of 11
Foundry Models reaches many providers through one endpoint and credential set. So an app can switch models without code changes. Each request names a deployment. Choose the AI Gateway option for token limits, governance or routing. In code, a connected model looks like central-gateway/approved-chat: connection name, then model name.
Exam trap Connected models don't work everywhere. Foundry IQ, agent memory, guardrails and real-time audio don't support them.
Reported, thanks
Step 11 of 11
Tune temperature or top_p, but change only one of them at a time.
Use chain-of-thought prompting with non-reasoning models only.
Connect Application Insights to get server-side traces with no code changes.
A deployment that rejects the Responses API with 400 Model not supported needs Chat Completions.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 2 quiz
20 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Thank you. It goes straight to the people who write these notes.
Test yourself in exam conditions
A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.