Home / Developing Azure AI Apps and Agents (AI-103) / Mock exam
Developing Azure AI Apps and Agents (AI-103) Exam-style mock test

Azure AI Apps & Agents Developer (AI-103) Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Plan & Manage an Azure AI Solution
A B2B SaaS company that sells a contract-management platform wants to let customers upload scanned vendor agreements and automatically extract key-value pairs such as party names, dates, and totals. The team wants a prebuilt capability that understands document structure without training a custom vision model. Which Azure AI service should the team choose?
✓Azure AI Document Intelligence, which provides prebuilt and custom document models for extracting structured data from forms and documents
Correct. Document Intelligence offers prebuilt and custom models designed to extract key-value pairs, tables, and structured fields from documents such as contracts.
・Azure AI Translator, which converts the uploaded documents into the user's preferred language before storage
Incorrect. Translator handles language translation and does not extract structured key-value data from document layouts.
・Azure AI Vision image analysis, which tags objects and generates descriptive captions for uploaded photos
Incorrect. Vision image analysis tags objects and captions images but is not built to parse document fields and tables.
・Azure AI Content Safety, which screens uploaded documents for harmful or policy-violating material
Incorrect. Content Safety detects harmful content and does not perform structured field extraction from documents.
Explanation
Extracting key-value pairs and tables from scanned business documents is the core use case for Azure AI Document Intelligence, which ships prebuilt models and supports custom training.
Example2 · Build Generative AI & Agent Apps with Azure AI Foundry
A B2B SaaS company is starting a new generative AI initiative in Azure AI Foundry. The platform team wants shared security, networking, and connection settings to be defined once and reused by several project teams. Which Azure AI Foundry resource should the platform team create to hold these shared settings?
✓A Foundry hub, which centralizes shared security, networking, and connections for multiple projects
Correct. A hub is the top-level collaboration resource that centralizes security, networking, and shared connections that child projects inherit.
・A Foundry project, which centralizes shared security and connections for multiple teams
Incorrect. A project is a child workspace under a hub where development happens; it consumes shared settings rather than defining them for other projects.
・A model deployment, which supplies shared endpoints and credentials for teams
Incorrect. A model deployment exposes a specific model for inference and does not store shared networking or security policy.
・A compute instance that stores shared keys and networking rules for teams
Incorrect. A compute instance provides compute for development tasks and is not the resource that centralizes shared governance settings.
Explanation
In Azure AI Foundry the hub centralizes shared security, networking, and connections, while projects created under it inherit those settings.
Example3 · Implement RAG & Knowledge Retrieval
A B2B SaaS company is building a support copilot grounded on thousands of help-center articles stored as JSON in Azure Blob Storage. The team wants Azure AI Search to automatically crawl the blobs, extract text, and keep the index current as articles change, without writing custom ingestion code. Which approach should they configure?
✓Define an index, then create a blob indexer with a data source connection and set a schedule so the indexer runs periodically to pick up new and changed blobs
Correct. An indexer with a blob data source and a schedule crawls the container, extracts content, and incrementally reflects new and changed blobs into the index with no custom ingestion code.
・Call the push REST API from an Azure Function on a timer to upload each modified article document into the search index one at a time
Incorrect. The push API works but requires custom code to detect changes and submit documents, which is exactly what the team wants to avoid.
・Enable integrated vectorization only and rely on it to detect blob changes and refresh the index automatically on a schedule
Incorrect. Integrated vectorization generates embeddings during indexing but it is not a change-detection or crawling mechanism on its own; an indexer is still required.
・Create a knowledge store and point the copilot directly at it so the articles are queried in place without maintaining an index
Incorrect. A knowledge store persists enriched output for downstream analysis; it is not a queryable grounding source for the copilot.
Explanation
A scheduled blob indexer bound to a data source is the pull-model way to crawl storage, extract content, and keep an Azure AI Search index current without custom ingestion code.
Example4 · Tool Calling, Orchestration & Multi-Agent Integration
A healthcare services firm builds an Azure OpenAI agent that can look up a patient's upcoming appointments. The developer must expose the internal scheduling API to the model so it can decide when to invoke it. What must the developer provide to enable function calling?
✓A JSON schema describing each tool's name, purpose, and parameters so the model can select and populate arguments
Correct. Function calling requires tool definitions as JSON schemas that give the model each function's name, a description of its purpose, and its typed parameters, so the model can choose a tool and emit structured arguments.
・A fine-tuned deployment that has the scheduling API's responses embedded directly into the model weights
Incorrect. Fine-tuning embeds no live API behavior into weights and is unnecessary; function calling works at inference time through tool schemas, not weight modification.
・A system prompt that lists the API endpoint URL and instructs the model to issue HTTP requests on its own
Incorrect. The model does not make its own HTTP calls; it returns a structured tool-call that application code executes, so listing a URL in the prompt does not enable function calling.
・A content filter policy that permits the model to return raw SQL statements against the scheduling database
Incorrect. Returning raw SQL is a security risk and is not how function calling works; the model emits validated arguments against a defined schema rather than database statements.
Explanation
Function calling is driven by tool definitions expressed as JSON schemas (name, description, parameters), which let the model decide which tool to call and supply well-formed arguments.
Example5 · Monitor, Secure & Govern AI Applications
A healthcare services firm deploys a clinical-note summarization app on Azure App Service that calls an Azure AI Language resource. Security policy forbids storing API keys anywhere in the app configuration. Which approach lets the app authenticate to the AI resource without any key?
✓Assign a system-assigned managed identity to the App Service and grant it a role on the Language resource
Correct. A managed identity lets the App Service obtain Entra ID tokens and access the Language resource through role assignment, eliminating stored keys entirely.
・Store the API key in Azure Key Vault and read it at startup using a connection string
Incorrect. This still relies on an API key that is merely moved to Key Vault, so a key remains in use and must be read at runtime.
・Embed the key in an environment variable encrypted with a customer-managed key in storage
Incorrect. Encrypting an environment variable still stores the key in configuration, which the policy explicitly forbids.
・Rotate the API key nightly using an automation runbook triggered on a schedule
Incorrect. Rotating the key does not remove it; the app continues to store and present a secret to authenticate.
Explanation
Managed identities with Entra ID role assignments provide keyless authentication, which is the only option that avoids storing a secret at all.
Example6 · Plan & Manage an Azure AI Solution
A healthcare services firm wants to extract diagnoses, medications, and dosage relationships from unstructured clinical notes stored in its records system. The team needs a managed service tuned for medical terminology rather than building a custom model. Which Azure AI service should the firm choose?
✓Azure AI Language service using the Text Analytics for health capability designed to recognize medical entities and relations
Correct. Text Analytics for health in Azure AI Language is a prebuilt capability that extracts medical entities, assertions, and relations from clinical text without custom training.
・Azure AI Document Intelligence with the general prebuilt layout model for reading tables
Incorrect. Document Intelligence layout reads structure and tables but does not understand clinical medical entities or their relationships.
・Azure AI Translator configured with a custom medical glossary file
Incorrect. Translator converts text between languages and does not perform medical entity extraction from notes.
・Azure Machine Learning designer pipeline trained on the firm's data
Incorrect. An Azure Machine Learning designer pipeline would require building and training a custom model rather than using a tuned managed capability.
Explanation
Text Analytics for health is the purpose-built managed capability for recognizing medical entities and relations in unstructured clinical text.
Example7 · Plan & Manage an Azure AI Solution
NordThread, an online fashion retailer, wants to automatically generate short marketing descriptions for new products from a prompt that includes the product name and key attributes. The team needs a managed service that hosts large language models and exposes them through an API for text generation. Which Azure service should they choose?
・Azure AI Vision, which analyzes product photos and extracts descriptive tags that can be assembled into text
Incorrect. Azure AI Vision analyzes images and returns tags or captions, but it is not designed to generate original marketing copy from a text prompt.
・Azure AI Language, which performs sentiment analysis and key phrase extraction on existing customer review text
Incorrect. Azure AI Language classifies and extracts information from existing text; it does not generate new generative descriptions from a prompt.
✓Azure OpenAI Service, which provides deployed generative language models through a REST and SDK interface
Correct. Azure OpenAI Service hosts generative large language models that accept a prompt and return generated text, which fits product description generation.
・Azure AI Search, which indexes the product catalog and returns ranked documents in response to text queries
Incorrect. Azure AI Search retrieves and ranks existing documents from an index; it does not generate new descriptive text from attributes.
Explanation
Generating new text from a prompt is a generative language task, which is the core capability of Azure OpenAI Service. The other services analyze or retrieve existing content rather than generating it.
Example8 · Plan & Manage an Azure AI Solution
NordThread is designing a recommendation feature and must explain to its customers, in clear language, how product suggestions are produced and what data drives them. Which Microsoft Responsible AI principle does this requirement most directly address?
・Reliability and safety, which focuses on consistent and safe operation of the system across the conditions it is expected to encounter
Incorrect. Reliability and safety concerns dependable and safe behavior, not explaining how results are produced to customers.
✓Transparency, which focuses on making the system understandable and explaining how and why it produces its results to the people affected
Correct. Transparency is about making the system understandable and communicating how and why it reaches its outputs, which is exactly what explaining the recommendations requires.
・Inclusiveness, which focuses on engaging a broad range of people and ensuring the experience serves users with diverse needs
Incorrect. Inclusiveness concerns serving diverse users, not explaining the reasoning behind outputs.
・Privacy and security, which focuses on protecting data and respecting the controls users expect over their personal information
Incorrect. Privacy and security concerns protecting data, not disclosing how recommendations are generated.
Explanation
Explaining how and why the system produces suggestions maps to the Transparency principle, which emphasizes intelligibility and clear communication to affected people.
Example9 · Plan & Manage an Azure AI Solution
NordThread's security policy prohibits storing any API keys in application configuration or source code for its Azure AI services resource. The web app already runs on Azure App Service. Which authentication approach lets the app call the AI service without handling keys?
✓Enable a system-assigned managed identity for the app and grant it the appropriate role on the AI services resource
Correct. A managed identity lets the app authenticate using Microsoft Entra tokens with an assigned role, so no keys are stored or handled by the application.
・Store the primary key in Azure Key Vault and have the app read the secret at startup over a secure channel
Incorrect. Reading the key from Key Vault still means the application handles a key, which the policy prohibits even though storage is more secure.
・Rotate the two keys on a weekly schedule so that a leaked key is only valid for a limited period of time
Incorrect. Rotating keys still relies on keys in the app and does not satisfy a policy that prohibits storing keys at all.
・Pass the subscription key as a request header value that is injected at build time by the deployment pipeline
Incorrect. Injecting the subscription key at build time still embeds and uses a key in the application, violating the no-key policy.
Explanation
Managed identity with Microsoft Entra authentication removes keys from the application entirely by using role-assigned token-based access, satisfying a no-keys policy. Key Vault and rotation still involve handling a key.
Example10 · Plan & Manage an Azure AI Solution
A financial services company wants to add a chatbot to its mobile banking app that answers customer questions using the company's own policy PDFs and FAQ pages. The team wants a managed way to ground responses on that content with minimal custom orchestration. Which Azure service should the team select?
・Azure AI Search provisioned on its own to crawl the documents and return keyword hits that the mobile app then formats into natural-language replies
Incorrect. Azure AI Search alone returns search results, not grounded conversational answers, so the app would still need its own generation layer.
✓Azure AI Foundry with Azure OpenAI and the on-your-data capability to ground a chat model on the indexed policy and FAQ content
Correct. Azure AI Foundry with Azure OpenAI on-your-data indexes the content and grounds a chat model's responses on it with minimal custom orchestration.
・Azure AI Translator configured with a custom glossary so the policy documents can be queried across the languages the bank supports
Incorrect. Translator converts text between languages and does not provide grounded question answering over the documents.
・Azure AI Document Intelligence using a custom extraction model trained to pull answer fields from each uploaded policy PDF
Incorrect. Document Intelligence extracts structured fields from forms and documents but does not produce conversational, grounded answers.
Explanation
Grounding a chat model on an organization's own documents with minimal custom code is exactly the on-your-data scenario in Azure AI Foundry with Azure OpenAI.
Example11 · Plan & Manage an Azure AI Solution
A bank's security team requires that its payment-fraud scoring app authenticate to an Azure AI service without any keys stored in configuration files or code. The app runs on an Azure virtual machine. Which authentication approach should the team select?
・Rotate the resource's two subscription keys on a schedule and inject the current key into the VM through an encrypted environment variable at startup
Incorrect. Rotating keys still relies on a key being present in configuration, which violates the no-keys requirement.
・Store the resource's subscription key in Azure Key Vault and have the app fetch it at runtime using a shared connection string
Incorrect. Key Vault protects the key but the app still authenticates with a subscription key rather than keyless identity.
✓Assign a managed identity to the VM and grant it a role on the AI resource so the app requests Microsoft Entra tokens at runtime
Correct. A managed identity with an appropriate role lets the app obtain Microsoft Entra tokens with no keys stored anywhere.
・Generate a shared access signature for the AI resource and configure the app to refresh the SAS token before each scoring call is made
Incorrect. Azure AI services authenticate with keys or Entra tokens, not SAS tokens, so this approach does not apply.
Explanation
Keyless authentication to Azure AI services is achieved with a managed identity and role-based access using Microsoft Entra tokens.
Example12 · Plan & Manage an Azure AI Solution
A manufacturing distributor plans to use Azure AI Vision, Azure AI Language, and Azure AI Document Intelligence across one application. The team wants to authenticate against all three capabilities with a single key and endpoint to simplify key rotation and billing. Which resource type should the solution architect provision?
・A separate single-service resource for each capability, each exposing its own dedicated endpoint
Incorrect. Single-service resources each provide their own key and endpoint, which is exactly the fragmentation the team is trying to avoid across the three capabilities.
✓A multi-service Azure AI services resource that exposes shared keys and a common endpoint
Correct. A multi-service Azure AI services resource groups multiple capabilities under one key and endpoint, consolidating authentication, billing, and key rotation as required.
・An Azure Machine Learning workspace configured with one managed online endpoint per model
Incorrect. Azure Machine Learning workspaces host custom models and managed endpoints, not the prebuilt Vision, Language, and Document Intelligence capabilities requested here.
・An Azure API Management instance that fronts three independently provisioned service resources
Incorrect. API Management can proxy requests but still requires three underlying resources with separate keys, so it adds a layer without consolidating authentication.
Explanation
A multi-service Azure AI services resource is designed to expose several AI capabilities through a single key and endpoint, meeting the goal of unified authentication and billing.
Example13 · Plan & Manage an Azure AI Solution
A manufacturing distributor's security policy forbids embedding Azure AI services keys in application code or configuration. The warehouse app runs on an Azure App Service with a system-assigned managed identity. How should the developer authenticate calls to the Azure AI services resource?
・Store the resource key in Azure Key Vault and read it into the app at startup each time
Incorrect. Key Vault secures the key, but the app still ultimately authenticates with a key, which does not satisfy a policy that forbids using keys at all.
✓Grant the managed identity an appropriate RBAC role and acquire Microsoft Entra tokens
Correct. Assigning an RBAC role to the managed identity lets the app request Microsoft Entra tokens, achieving keyless authentication as the policy requires.
・Regenerate the primary key on a weekly schedule and distribute it through app settings
Incorrect. Rotating and distributing the key is still key-based authentication and continues to violate the policy that prohibits keys entirely.
・Use a shared access signature token generated from the resource key per request
Incorrect. Azure AI services do not use account-key-derived SAS tokens for authentication, so this approach is not valid for the resource.
Explanation
Microsoft Entra authentication with a managed identity and an appropriate RBAC role enables keyless access, which is the compliant option when keys are prohibited.
Example14 · Plan & Manage an Azure AI Solution
A telecom operator wants to analyze recorded customer-support calls to transcribe the audio and then detect the caller's sentiment and key topics from the resulting text. Which combination of Azure AI services should the solution architect choose?
✓Azure AI Speech for the transcription step and Azure AI Language for the sentiment and topic analysis of the produced text
Correct. Azure AI Speech performs speech-to-text transcription, and Azure AI Language provides sentiment analysis and key phrase or topic extraction on the resulting text.
・Azure AI Vision for extracting the audio content and Azure AI Translator for interpreting the meaning of each transcribed caller utterance
Incorrect. Azure AI Vision processes images and video frames, not audio, and Translator converts text between languages rather than detecting sentiment.
・Azure AI Document Intelligence for reading the call files and Azure OpenAI embeddings for scoring the overall sentiment of callers
Incorrect. Document Intelligence extracts structured data from documents and forms, not from audio recordings, so it cannot transcribe calls.
・Azure AI Content Safety for capturing the spoken words and Azure AI Search for ranking the most frequent caller topics
Incorrect. Content Safety detects harmful content and does not transcribe speech, and Search is a retrieval engine, not a topic-detection analyzer.
Explanation
Matching the use case to services requires Speech for audio-to-text and Language for downstream sentiment and topic analysis.
Example15 · Plan & Manage an Azure AI Solution
A telecom operator is building a chatbot that recommends mobile plans to customers. The compliance team wants to ensure the chatbot's recommendations do not systematically disadvantage customers based on demographic attributes. Which Microsoft responsible AI principle most directly governs this concern?
・Reliability and safety, because the recommendations must behave consistently across all expected and unexpected conditions over time
Incorrect. Reliability and safety address consistent, dependable operation, not equitable treatment across demographic groups.
・Transparency, because customers should be told clearly how the chatbot arrives at each recommended mobile plan option
Incorrect. Transparency concerns explainability and disclosure, which is a related but distinct principle from avoiding demographic disadvantage.
✓Fairness, because the system must treat all customer groups equitably and avoid demographic bias
Correct. Fairness requires that AI systems treat all people equitably and do not introduce bias that disadvantages demographic groups.
・Accountability, because the operator must take organizational responsibility for how the deployed chatbot performs
Incorrect. Accountability concerns human responsibility and governance rather than the equitable outcomes of recommendations themselves.
Explanation
Avoiding demographic bias in outcomes maps directly to the Fairness principle.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)