MockCertMockCert
Menu

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.

Start a free mock exam
Domain 1 · 4 topics · about 29 minTopics in this domainTopics

Domain 1 · Overview

Overview

Up next: Choose the appropriate Foundry services for generative AI and agents · 11 steps + check · 7 min

Domain 1 · Topic 1 of 4

Choose the appropriate Foundry services for generative AI and agents

Step 1 of 11

Think first How do you decide whether an agent's knowledge belongs in memory, a knowledge base, file search or a live tool?

Why it matters: Questions describe an agent need and ask which Foundry service, retrieval method or tool integration fits it.

Each Foundry service grounds an agent on a different kind of knowledge. Memory keeps what the agent learns about a user, a knowledge base holds curated content, and file search covers user documents. Pick by where the knowledge comes from and how long it must last.

Step 2 of 11

Term Meaning
Vector store The store of chunked files that the file search tool searches.
Knowledge base A Foundry IQ object that grounds an agent on curated organizational content.
Memory scope The partition of a memory store that holds one user's memories, often set to {{$userId}}.
Toolbox An MCP-compatible endpoint that holds tools such as Web Search or File Search; agents use its consumer endpoint.

Step 3 of 11

Match the grounding service to where the knowledge comes from. Ask two questions: who supplies the knowledge, and how long must the agent keep it? The answers point to one of three services.

Three ways to ground an agent

Service Use it for Who supplies it
Agent memory User-specific context that persists over time The agent, which learns it
Foundry IQ knowledge base Grounding on curated content Your organization
File search tool Searching during one interaction The user, who provides the documents

Step 4 of 11

File search rewrites the query, runs hybrid searches and reranks the results. Complex queries split into parallel searches. Files are cut into 800-token chunks with 400 tokens of overlap. They are embedded with text-embedding-3-large at 256 dimensions, and at most 20 chunks reach the model context.

Exam trap Basic setup stores files in storage and search resources Microsoft manages. Only standard setup keeps your files in your own Blob Storage and Foundry IQ resources.

Step 5 of 11

An agent and a conversation can each have only one vector store attached. Each store holds up to 10,000 files, each up to 512 MB and 5,000,000 tokens. Stores made with conversation helpers expire by default seven days after last use. Responses wait up to 60 seconds for a conversation store still processing files, but not for the agent's store.

Step 6 of 11

One Foundry IQ tool can target only one index. It defaults to top_k of 5 and query_type of vector_semantic_hybrid. Over a private network, authenticate with project managed identity, because keys aren't supported there. Low or medium planning and answer synthesis need an LLM. A knowledge base over an existing search index or file source can use minimal effort with extractiveData and no model.

Exam trap If Microsoft Retriever 1 is a knowledge base's only model, it can't synthesize answers. It supports minimal reasoning and extractive output.

Step 7 of 11

A memory store holds up to 100 scopes and 10,000 memories per scope. Writes are debounced until update_delay of inactivity passes, 300 seconds by default. With scope set to {{$userId}}, the user comes from x-memory-user-id or the caller's Entra token. Default options such as TTL, the time to live after which memories expire, can only be set when the store is created.

Exam trap A remember command doesn't override TTL. A memory added that way can still expire.

Step 8 of 11

Start web grounding with Web Search; it needs no extra Azure resources. Its general search runs on Web IQ, which uses Bing. Domain-restricted search runs on Grounding with Bing Custom Search. Grounding with Bing Search adds parameters and supports non-OpenAI models on Azure. The Data Protection Addendum doesn't cover data sent to either Bing grounding service.

Exam trap Web grounding tools act as public endpoints. They don't respect VPN or private endpoints, even in a network-secured project.

Step 9 of 11

The SharePoint tool supports only user identity authentication. It returns text extracts, not images or charts. Each call returns at most 25 results, and each user gets 200 requests per hour. Queries can be up to 1,500 characters.

Exam trap The SharePoint tool stops working when the agent is published to Microsoft Teams.

Step 10 of 11

Two Azure Language agents cover routing and FAQ answers. Both need a Custom keys connection: the key name is Ocp-Apim-Subscription-Key and the value is your resource key. For other language tasks, the Azure Language MCP server exposes features such as entity recognition, sentiment and PII redaction.

The two Azure Language agents compared

Feature Intent routing agent Exact question answering agent
Best for Multi-intent conversations with deterministic routing and fallback FAQ scenarios that need consistent, verbatim answers
Built on Conversational Language Understanding (CLU) and Custom Question Answering (CQA) Custom Question Answering (CQA)
Setup effort Medium: deploy CLU and CQA projects Low: deploy a CQA project, no code

Step 11 of 11

Check

Check: Choose the appropriate Foundry services for generative AI and agents

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Set up AI solutions in Foundry · 11 steps + check · 7 min

Domain 1 · Topic 2 of 4

Set up AI solutions in Foundry

Step 1 of 11

Think first How do you pick the right deployment type, agent setup and network design before an AI app ever reaches production?

Why it matters: Questions describe a cost, compliance, network or release need and ask which deployment option, agent setup or pipeline step fits it.

Requests reach a model through its deployment name, and the deployment type shapes price, latency variance and where data is processed. The agent setup decides where agent state lives. Some network and resource settings are fixed at creation, so plan them first.

Step 2 of 11

Term Meaning
Deployment name The name a request uses to reach a model; one model can have several.
Managed compute A managed GPU service that runs open-source or custom-weight models on GPUs reserved for you.
Standard agent setup An agent setup that keeps agent state in customer-managed, single-tenant Azure resources.
Gated release A release where production stays pinned until the tested candidate version is approved.

Step 3 of 11

Start most workloads on Global Standard. When latency variance must stay low, choose a Provisioned type instead. Instant access (preview) skips deployment entirely: you call supported models by name.

Common deployment types and when to pick each

Type When to choose it Key fact
Global Standard Most workloads Broadest regions; new models launch here first
Data Zone Data must stay inside one zone Processes data only in the US, EU or Asia Pacific zone
Global Batch Asynchronous groups of requests 24-hour target, 50% less than Global Standard
Developer Evaluating fine-tuned models No SLA; deleted after a fixed 24-hour lifetime

Step 4 of 11

Serverless API is the preferred option and supports the most capabilities. Managed compute runs open-source or custom-weight models on dedicated GPU capacity, with no VMs or clusters to own. Its quota is per accelerator SKU per region, separate from VM quota. Partner and community models also need Azure Marketplace access.

Exam trap Managed compute deployments have no content filtering. Serverless API deployments come with built-in filtering you can customize.

Step 5 of 11

Requests reach a model through its deployment name. One model can be deployed several times under different names, for example to test content filter settings. A capacity of 1 equals 1,000 tokens per minute. Creating deployments needs Cognitive Services Contributor or equivalent. On the /openai/v1/ route, put the deployment name in model and omit api-version.

Step 6 of 11

Standard setup keeps agent state in Azure resources you control. There, Cosmos DB holds messages, conversation history and agent metadata, and Foundry IQ holds vector stores. In either setup, data is isolated between projects.

Basic and standard agent setup compared

Feature Basic setup Standard setup
Where agent state lives The platform's built-in storage Customer-managed, single-tenant Azure resources
Notable point Compatible with OpenAI Assistants Use it for data sovereignty, enterprise compliance or project isolation

Step 7 of 11

Set the virtual network when you create the Foundry account. A BYO network needs a subnet delegated to Microsoft.App/environments, at least /27 and used by one Foundry resource only. A managed virtual network gives full isolation without planning IP ranges. Prompt agents use a static pool of about 10 IP addresses per project.

Exam trap With public egress, a private endpoint protects only the inbound path. Agent egress still isn't isolated.

Step 8 of 11

Some resource and project settings can't change after creation. Create the resource with --assign-identity, or project creation fails. --allow-project-management can't be changed later. A project inherits capability settings it doesn't set, but later account changes don't reach it. To change a project's resources, delete and recreate it.

Exam trap A project can have its own access controls, but it shares network security, deployments and tool integration with its parent resource.

Step 9 of 11

azd ai agent init writes no infrastructure files unless you ask. Add --infra or --infra=bicep for Bicep, or --infra=terraform for Terraform. Terraform output has no remote-state backend, so set one up in Azure Storage before CI/CD. The templates don't create Application Insights, Log Analytics, Foundry IQ, a storage account or Bing grounding.

Step 10 of 11

azd pipeline config detects the Git provider and creates a service principal. It also configures repository secrets and variables. The pipeline deploys to existing infrastructure, so run azd provision and azd deploy first. The workflow signs in with GitHub OIDC, deploys, shows status and sends a smoke test. Code deployment needs Foundry User and Contributor on the project.

Exam trap An endpoint follows the latest version by default. For a gated release, pin production first, test the new version, and promote it only after approval.

Step 11 of 11

Check

Check: Set up AI solutions in Foundry

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Manage, monitor, and secure AI systems · 11 steps + check · 7 min

Domain 1 · Topic 3 of 4

Manage, monitor, and secure AI systems

Step 1 of 11

Think first How do you keep AI workloads within quota, watch their health, and control who and what can reach them?

Why it matters: Questions describe a capacity, monitoring or security problem and ask which quota action, status signal or access setting resolves it.

Quota tiers and rate limits decide how much traffic a workload can send. Indexer status and query metrics show whether search stays healthy. Keys, roles, managed identities and IP rules decide who can connect.

Step 2 of 11

Term Meaning
Quota tier A level from Free Tier to Tier 6 that raises quota automatically as usage grows.
PTU Provisioned Throughput Units: dedicated resources with guaranteed capacity and predictable latency.
Throttled query A search query that is dropped instead of processed.
Admin key A Foundry IQ key sent only in the request header; it can be disabled but not deleted.
Indexer A Foundry IQ object whose runs index documents, for example from blob storage; a run can log errors per document.

Step 3 of 11

Foundry Models has seven quota tiers: Free Tier and Tiers 1 to 6. Quota grows automatically as usage grows, and Tier 6 gives the most. Free tier subscriptions can't request increases. Requests are handled in order, with priority for customers who actively use their quota. An approved request adds quota but keeps the current tier.

Exam trap Quota isn't the recommended way to manage costs, even though some customers use it to cap spending.

Step 4 of 11

Global Standard deployments of one model version share a single quota pool. That pool spans every region in the subscription. Usage tiers cover Standard, Data Zone Standard and Global Standard, but not global batch or provisioned throughput. For latency-critical or high-volume work, PTU offers dedicated resources and predictable latency.

Exam trap PTU quota is a limit, not a reservation. Approved quota doesn't guarantee that capacity exists in the region you asked for.

Step 5 of 11

A 429 means a tokens- or requests-per-minute limit was exceeded. Retry with exponential backoff and wait for the Retry-After value. Agent file, message and tool limits are fixed and can't be raised.

Foundry limits that shape a design

Limit Value What to know
Foundry resources per region per subscription 100 Default limit
Projects per resource 250 Default limit
Model deployments per resource 32 Default limit
Connections per project 120 Maximum per project
Versions per agent 1,000 Creating another version then fails

Exam trap The error regional_session_quota_exceeded calls for a backoff retry or a different region. Idle or stopped sessions don't count toward that quota.

Step 6 of 11

An indexer status of running means it is ready, not that a run is active. A run can report Success with failed documents, as long as errors stay below Max failed items. Execution history keeps up to the 50 most recent runs. S3 HD and Serverless services give all their indexers a shared 48 runtime hours in each 24-hour UTC window.

Step 7 of 11

Throttled queries are dropped, and some throttling is normal. If throttling climbs during indexing, postpone indexing until query traffic eases. The portal keeps query metric history for 30 days. Diagnostic logging gives longer retention and reports on query strings. Logged query requests land in the AzureDiagnostics table.

Step 8 of 11

A Foundry IQ service uses key-based authentication by default. Until you choose Both or Role-based access control, every role-based request is denied. Choose Both only while you move clients off keys. A request with a key and role credentials is authenticated by the key. Roles that stand in for an admin key are Search Service Contributor and Search Index Data Contributor.

Exam trap Regenerating both admin keys at the same time makes every client request that uses them fail with 403 Forbidden.

Step 9 of 11

Each Foundry IQ service has one system-assigned managed identity for life. For blob indexing, give it Storage Blob Data Reader on the storage account. For a direct Azure OpenAI connection, give it Cognitive Services OpenAI User on the hosting resource. Connection details and permissions are checked at run time, while the indexer executes.

Step 10 of 11

IP firewall rules control inbound requests only. Callers outside the allowed list get 403 Forbidden. For private endpoints, indexers must run in the service's own private execution environment. A shared private link keeps the Foundry IQ connection to a Foundry billing resource private. It needs a managed identity in the skillset. With private networking, deploy the Foundry resource in its virtual network's region.

Exam trap Shared private links work only between Azure services. Connections to OpenAI or another external model provider must use the public internet.

Step 11 of 11

Check

Check: Manage, monitor, and secure AI systems

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Implement responsible AI across generative AI and agentic systems · 11 steps + check · 7 min

Domain 1 · Topic 4 of 4

Implement responsible AI across generative AI and agentic systems

Step 1 of 11

Think first How do you stop harmful content and risky agent actions without blocking the work your users actually need?

Why it matters: Questions describe a safety, audit or oversight need and ask which guardrail setting, detector, evaluator or control meets it.

Guardrails scan inputs and outputs for risks and decide how to respond. Safety evaluators score how severe harmful content is, and domain experts review the results before deployment. Signed provenance metadata signals where media came from, and task adherence signals let you block or escalate risky tool calls.

Step 2 of 11

Term Meaning
Guardrail control One rule in a guardrail: the risk to detect, where to scan and how to respond.
Blocking level The setting that decides which severities a core-harm filter blocks.
Prompt Shields A detector that scans text for attacks on a large language model.
Spotlighting Encoding document content so the model trusts it less than direct prompts.
Provenance Signals about where media came from, such as signed C2PA metadata in the file.

Step 3 of 11

A guardrail is a set of controls, each with a risk, a scan point and a response. Default safety policies cover all Foundry Models except transcription models. The response depends on where a control acts. When input is blocked, the API sends back an error. When output is blocked, you may get a filtered completion instead.

Exam trap Not every detection starts on. Document attack detection stays disabled until you enable it, unlike core-harm filters and user prompt attack detection.

Step 4 of 11

Blocking levels set how much of each core-harm category is blocked. Content at the Safe level is always annotated and never blocked, at any level. Guardrails in Foundry moderate the first 1000 text characters for free.

Core-harm blocking levels compared

Level What it blocks What to know
Low High-severity content only The least restrictive setting
Medium Medium and high severity Default for the four core-harm categories
Off Nothing in that category On output, needs approval for modified guardrails

Step 5 of 11

Prompt Shields look for user input attacks and document attacks. For agents, they can also scan tool responses from supported tools (preview). The standalone API takes one userPrompt and up to five documents, and leaves blocking to your app. To cut false positives, switch a control from block to annotate. Spotlighting base-64 encodes documents, but only for models used through Chat Completions.

Exam trap Prompt Shields only detect manipulation attempts. They don't judge whether content is harmful, accurate, grounded, compliant or on task.

Step 6 of 11

C2PA defines signed metadata that can be embedded in media files. Content Provenance Detection accepts media under 100 MB: JPEG, PNG, GIF and WebP images, MP3, WAV and MP4-audio files, and MP4 video. Treat what it finds as a signal of origin. It never proves that content is true, accurate or safe.

Exam trap A result with no provenance information doesn't prove that the content wasn't AI-generated.

Step 7 of 11

Groundedness detection checks text-based summaries and QnA answers. Its domains are MEDICAL and GENERIC. With correction turned on, the response adds a corrected Text field. The feature retires on April 30, 2027.

The two groundedness detection modes

Feature Non-Reasoning mode Reasoning mode
What it returns A binary grounded or ungrounded result An explanation of why content is flagged
When to use it Real-time apps where latency matters Development and debugging

Step 8 of 11

Content safety evaluators score severity from 0 to 7. A result passes at or below the threshold, which defaults to 3. These evaluators run on the hosted Foundry Evaluation service, so they need no deployment_name. The AI Red Teaming Agent uses them in automated scans. The defect rate is the share of instances above a severity threshold.

Exam trap The prohibited actions and sensitive data leakage evaluators (preview) work only on agent targets. They aren't available for dataset or model evaluations.

Step 9 of 11

Automated safety checks support human judgment; they don't replace it. Before release, have domain experts review what automated evaluations covered. Safety evaluations also don't replace manual red-teaming aimed at your domain and users. Use Content Safety to help people decide quickly and accurately, rather than to automate moderation completely.

Step 10 of 11

Task adherence flags tool use that is misaligned, unintended or premature. Its signal can block a tool call or escalate to human-in-the-loop review. Routing MCP tools through a gateway is your job, because Foundry doesn't register the server or create the route. A correlation ID policy stamps each tool call with a request ID for later tracing.

Step 11 of 11

Check

Check: Implement responsible AI across generative AI and agentic systems

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 1 · after the last topic

Domain 1 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 1 quiz

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

Flashcards

Domain 1 flashcards

8 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

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.

Start a free mock exam
Next domain · 30–35% of the examImplement generative AI and agentic solutions3 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.