Home / AI-102: Designing and Implementing a Microsoft Azure AI Solution / Mock exam
AI-102: Designing and Implementing a Microsoft Azure AI Solution Exam-style mock test

Microsoft Azure AI Engineer (AI-102) Practice Exams|Practice test

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

Sample questions

Example1 · Plan and Manage an Azure AI Solution
A retail e-commerce company receives thousands of scanned supplier invoices each day in widely varying layouts. An AI engineer must extract vendor names, invoice totals, and line items as structured fields, with minimal labeling or custom training effort. Which service should the engineer use?
・Azure AI Vision Read OCR to pull printed text from each scanned page
Incorrect. Read OCR returns raw text lines and words only; it does not map content to semantic fields such as vendor name, total, or line items, so the engineer would still have to build parsing logic.
・Azure AI Language custom NER on invoice text
Incorrect. Custom NER operates on text that has already been extracted and requires labeled training data, which violates the minimal-training requirement and loses positional layout context.
✓Azure AI Document Intelligence with its prebuilt invoice model for fields
Correct. The prebuilt invoice model in Azure AI Document Intelligence extracts vendor, totals, dates, and line items as structured key-value output across varied layouts without any custom training.
・Azure AI Search with a built-in OCR skillset for searchable invoices
Incorrect. An OCR skillset enriches an index for full-text search; it does not return structured invoice fields such as line items or totals for downstream processing.
Explanation
Azure AI Document Intelligence provides a prebuilt invoice model that returns vendor, totals, and line items as structured fields across heterogeneous layouts with no training. OCR-only options (Vision Read, Search skillsets) return unstructured text, and custom NER requires labeled training data.
Example2 · Implement Generative AI Solutions
A global investment bank is rolling out a GPT-4o assistant for its Frankfurt trading desk. Compliance requires that prompts and completions are processed only within the EU data boundary, and the desk needs consistent low latency during market hours regardless of load from other tenants. Which deployment configuration in Azure AI Foundry should you choose?
・A Global Standard deployment, because each request is routed to whichever datacenter has the most available capacity
Incorrect. Global Standard routes traffic to Azure datacenters worldwide for capacity reasons, so inference can occur outside the EU data boundary, violating the residency requirement.
・A Standard deployment in an EU region with a raised tokens-per-minute quota to absorb peak demand
Incorrect. A regional Standard deployment satisfies residency, but it runs on shared pay-as-you-go capacity, so latency still fluctuates with other tenants' load even if the TPM quota is raised.
✓A Provisioned Throughput deployment in an EU region, reserving dedicated capacity for the workload
Correct. A regional Provisioned Throughput (PTU) deployment keeps processing inside the chosen EU region and reserves dedicated capacity, giving predictable latency that is isolated from other tenants' demand.
・A Global Provisioned deployment, since reserved capacity guarantees stable latency wherever requests run
Incorrect. Global Provisioned reserves capacity but allows requests to be processed in any Azure region, which breaks the EU-only data processing requirement.
Explanation
Data residency plus predictable, noisy-neighbor-free latency points to a regional Provisioned Throughput deployment. Global deployment types trade residency control for capacity, and regional Standard deployments share capacity so latency varies with overall demand.
Example3 · Implement an Agentic Solution
A global investment bank is building an assistant with Azure AI Foundry Agent Service. During each run, the agent must call the bank's internal REST API, which is fully described by an OpenAPI 3.0 definition, to fetch live foreign-exchange rates. Which tool should you add to the agent?
✓The OpenAPI specified tool configured with the rates API's OpenAPI definition
Correct. The OpenAPI specified tool lets the agent invoke an external REST API directly from its OpenAPI 3.0 definition, enabling live calls to the internal rates service during a run.
・The Code Interpreter tool, so the agent writes Python calling the rates endpoint
Incorrect. The Code Interpreter sandbox runs Python in an isolated environment without network access to the bank's internal endpoints, so it cannot call the REST API.
・The Grounding with Bing Search tool for public pages
Incorrect. Grounding with Bing Search returns public web results; it cannot authenticate to or invoke the bank's internal REST API and would not return live internal rates.
・The File Search tool with a vector store of exported daily rate sheets
Incorrect. File Search retrieves from static uploaded documents in a vector store, so exported rate sheets would be stale rather than live values from the API.
Explanation
Azure AI Foundry Agent Service supports an OpenAPI specified tool that takes an OpenAPI 3.0 definition and allows the agent to call that REST API at run time. Code Interpreter has no connectivity to internal APIs, Bing grounding only searches the public web, and File Search serves static document content rather than live data.
Example4 · Implement Computer Vision Solutions
MedVista Health, a telehealth provider, triages patient-uploaded dermatology photos. For each image, the triage queue must display an auto-generated natural-language caption plus a list of content tags, returned from a single REST call with no custom model training. What should you implement?
✓Call Azure AI Vision Image Analysis 4.0 requesting the caption and tags visual features in one request.
Correct. Image Analysis 4.0 lets you request multiple visual features, including caption and tags, in a single synchronous REST call with no training required.
・Train a Custom Vision multilabel image classification model on labeled dermatology photos and call its published prediction endpoint for every upload.
Incorrect. Custom Vision requires you to collect, label, and train a model first, violating the no-training constraint, and it returns only your custom labels, never a natural-language caption.
・Send each photo to the Azure AI Vision Read API and derive tags from any recognized text lines.
Incorrect. The Read API performs OCR on text within images; dermatology photos contain little or no text, and Read produces neither descriptive tags nor a caption.
・Analyze each photo with Azure AI Content Safety image moderation and map severity categories to tags.
Incorrect. Content Safety image moderation returns harm categories and severity scores for unsafe content; it does not generate descriptive captions or general content tags.
Explanation
Azure AI Vision Image Analysis 4.0 can return a caption and tags together from one synchronous call using prebuilt models. Custom Vision needs training, the Read API only extracts text, and Content Safety classifies harmful content rather than describing images.
Example5 · Implement Natural Language Processing Solutions
A clinical documentation vendor ingests dictated progress notes for several hospital networks. Before the notes are indexed for search, all patient names, medical record numbers, and admission dates must be masked in the stored text. Which Azure AI Language call should the engineer make?
✓Call the PII detection endpoint with the domain parameter set to phi and persist the redactedText string returned for each note before indexing
Correct. The PII detection feature with domain=phi targets protected health information such as names, medical record numbers, and dates, and the response includes a redactedText string with those values masked.
・Call the Text Analytics for health endpoint and delete every entity it returns from the body of each stored note
Incorrect. Text Analytics for health extracts clinical concepts such as diagnoses, medications, and dosages; it is not a redaction feature, and removing every returned entity would strip medical content rather than mask patient identifiers.
・Call the named entity recognition endpoint and set the stringIndexType parameter so detected entities are masked
Incorrect. General NER only labels entities; it returns no redacted text, and stringIndexType controls how character offsets are encoded (for example UTF-16 code units), not masking behavior.
・Call the key phrase extraction endpoint and strip the returned phrases from each note before indexing
Incorrect. Key phrase extraction surfaces the main talking points of a document; it does not identify personal or health identifiers, so stripping key phrases would miss names, record numbers, and dates.
Explanation
Azure AI Language PII detection supports a phi domain that focuses on protected health information and returns a redactedText field with identifiers masked, which is exactly what is needed before indexing. Text Analytics for health, general NER, and key phrase extraction analyze content but do not produce redacted output targeting patient identifiers.
Example6 · Implement Knowledge Mining and Information Extraction Solutions
Veridian Trials, a clinical research organization, uses an Azure AI Search skillset to enrich 500,000 trial protocol PDFs with entities and key phrases. The analytics team wants the enriched entities delivered as relational tables they can load into Power BI, without issuing any queries against the search index. What should you add to the solution?
・Output field mappings on the indexer that write the enriched entities into an Azure Cosmos DB container
Incorrect. Output field mappings only route enriched values into fields of the search index itself; an indexer cannot write enrichment output to Azure Cosmos DB or any external data store.
✓A knowledge store definition in the skillset with table projections that persist the entities to an Azure Storage account as relational tables
Correct. A knowledge store is defined inside the skillset and persists enriched output to Azure Storage; table projections shape the entities into relational rows that Power BI can consume directly, with no index queries required.
・A semantic configuration on the index so Power BI can retrieve captions from reranked results
Incorrect. A semantic configuration controls reranking and captions for search queries; it does not persist enrichment output anywhere, and the requirement explicitly excludes querying the index.
・A scheduled Azure Logic Apps workflow that queries the index and exports the returned JSON documents to Blob Storage
Incorrect. A Logic Apps export still depends on querying the index, which the requirement forbids, and it would only see values that were mapped into index fields rather than the full enrichment tree.
Explanation
A knowledge store, declared in the skillset definition, projects enriched content into Azure Storage as tables, objects, or files. Table projections produce relational shapes that analytics tools such as Power BI can read directly, decoupling downstream analysis from the search index entirely.
Example7 · Plan and Manage an Azure AI Solution
Helix Fabrication runs camera stations over each CNC line to flag surface defects unique to its alloy castings. Only a few hundred labeled sample images exist per defect class, and inference must keep running on the plant-floor gateways even when the factory's internet uplink drops for hours. Which approach should you implement?
・Deploy the Azure AI Vision Image Analysis prebuilt tagging API and call it from every camera station over the plant's shared uplink.
Incorrect. Image Analysis prebuilt tags cannot learn Helix's custom defect classes, and a cloud API call fails whenever the uplink is down.
・Deploy a GPT-4o vision model in Azure AI Foundry and send each captured frame to the regional endpoint for defect classification.
Incorrect. A Foundry-hosted GPT-4o deployment is cloud-only, so classification stops during uplink outages and per-frame token costs are high.
・Use Azure AI Document Intelligence custom neural models to analyze the captured images of each machined casting.
Incorrect. Document Intelligence custom neural models extract fields from documents and forms; they are not designed for image defect classification.
✓Train an Azure AI Custom Vision classifier on a compact domain and export it to run in a container on the edge gateways.
Correct. Custom Vision supports training custom classifiers from small labeled sets, and compact domains can be exported as containers for offline edge inference.
Explanation
Custom defect classes with limited training data point to Azure AI Custom Vision, and the offline requirement points to a compact domain exported to a container on the edge gateways. Cloud-hosted endpoints (Image Analysis, GPT-4o) fail the disconnected requirement, and Document Intelligence targets documents rather than part imagery.
Example8 · Plan and Manage an Azure AI Solution
At TransArc Logistics, a central platform team enforces one approved virtual network, outbound rules, and connection set for all AI work. Three delivery teams (route chatbot, customs document extraction, driver-safety vision) each need their own workspace for files, model deployments, and compute, inheriting the approved configuration without re-creating it. What should you build in Azure AI Foundry?
✓Create one Foundry hub with the shared settings, then a project per delivery team.
Correct. A hub centralizes security, networking, and connections once, and each child project inherits them while isolating that team's assets and deployments.
・Create a separate Azure AI Foundry hub for each delivery team so every workspace carries its own copy of the security configuration.
Incorrect. Separate hubs duplicate the network and security setup three times, forcing the platform team to maintain the same configuration in every hub.
・Create one Azure AI Foundry project and separate each team's assets inside it using resource tags and naming conventions.
Incorrect. A single shared project gives the teams no workspace boundary, so files, deployments, and compute from all three teams intermingle.
・Create three Azure subscriptions and deploy a standalone multi-service Azure AI services resource into each one per team.
Incorrect. Standalone resources in separate subscriptions provide no Foundry workspace capabilities and abandon the centrally governed configuration entirely.
Explanation
The hub-and-project model in Azure AI Foundry is designed for exactly this split: the hub carries shared security, networking, and connections managed by a platform team, while each project under the hub gives one team an isolated workspace that inherits those settings. Per-team hubs duplicate governance, and tags or separate subscriptions do not provide inherited configuration with workspace isolation.
Example9 · Plan and Manage an Azure AI Solution
Meridian Parts Group digitizes about 600,000 packing-slip pages per month with the Azure AI Vision Read capability on an S1 resource, and the volume is stable. Finance wants a lower, predictable monthly charge for this known volume while the workload keeps calling the hosted Azure endpoint. What should you recommend?
✓Move the resource to a commitment tier sized to the expected monthly transaction volume at a discounted rate.
Correct. Commitment tiers let you pre-purchase a known monthly transaction volume for supported services such as Vision Read, giving a discounted, predictable bill.
・Recreate the resource on the F0 free tier and spread the OCR calls across several free resources to stay inside the per-resource limits.
Incorrect. A subscription is limited to one free-tier resource per service kind, and F0 throughput caps cannot absorb 600,000 pages per month.
・Keep the S1 pay-as-you-go tier and apply Azure Reservations for virtual machines to discount the per-transaction OCR charges.
Incorrect. Azure Reservations cover compute such as virtual machines; they do not discount Azure AI services per-transaction consumption charges.
・Purchase a disconnected container commitment plan while the plants keep calling the hosted endpoint.
Incorrect. Disconnected container commitments license offline container deployments; they do not reduce the price of calls made to the hosted endpoint.
Explanation
For a stable, high, known transaction volume against a hosted Azure AI service, commitment tier pricing pre-purchases capacity at a discount and makes the monthly charge predictable. Free tier is capped and limited to one resource, VM reservations do not apply to AI transactions, and disconnected container plans only cover offline container use.
Example10 · Plan and Manage an Azure AI Solution
NexArena operates a multiplayer online game where players exchange text chat in several languages. The trust-and-safety team must flag hate speech and violent threats in each message within roughly 100 ms, receive machine-readable severity levels so different lobbies can apply different thresholds, and avoid building or hosting any custom model. Which approach should the AI engineer implement?
✓Call Content Safety text analysis on each message
Correct. The Azure AI Content Safety text analysis API returns hate and violence category results with numeric severity levels, supports many languages, responds fast enough for chat, and needs no custom model.
・Call the Azure AI Language PII detection feature on each chat message
Incorrect. PII detection in Azure AI Language identifies personal data such as names and phone numbers; it does not classify hate or violence and returns no severity levels.
・Route each chat message through Azure AI Translator with the profanity filter enabled
Incorrect. The Translator profanity option only marks or removes profanity while translating text; it offers no hate or violence categories and no severity scoring for moderation thresholds.
・Send every chat message to an Azure OpenAI deployment prompted to grade harm
Incorrect. A prompted Azure OpenAI deployment adds generation latency and per-message token cost, and it returns free-form output rather than guaranteed category and severity fields.
Explanation
Azure AI Content Safety is the purpose-built moderation service: its text analysis API classifies content into categories such as hate and violence and returns severity levels that downstream logic can compare against per-lobby thresholds. PII detection and Translator profanity handling solve different problems, and a general LLM prompt cannot guarantee structured severity output at chat latency.
Example11 · Plan and Manage an Azure AI Solution
Fluxboard, a B2B SaaS vendor, has three product squads starting generative AI features in Azure AI Foundry. The platform team must define network isolation, customer-managed key encryption, and shared model connections exactly once, while each squad keeps its own files, deployments, and access list. Which resource structure should you recommend?
・Create a separate Azure Foundry hub for each squad
Incorrect. Separate hubs force the platform team to configure networking, encryption, and connections three times, breaking the requirement to define governance settings exactly once.
・Create one Azure AI Foundry hub containing a single project that every squad shares
Incorrect. A single shared project mixes every squad's files, deployments, and members in one workspace, so per-squad isolation and separate access lists are lost.
・Create a dedicated Azure subscription per squad, each holding its own Foundry hub
Incorrect. Per-squad subscriptions multiply governance work and prevent the squads from inheriting one hub's shared connections and security configuration.
✓Create one Azure AI Foundry hub and add a project for each squad
Correct. A hub centralizes security settings such as networking, customer-managed keys, and shared connections, while each child project gives a squad its own isolated workspace, assets, and role assignments.
Explanation
In Azure AI Foundry, a hub is the governance boundary where networking, encryption, and shared connections are configured once, and projects under that hub are the per-team workspaces with their own assets and access control. One hub with a project per squad therefore satisfies both the central-configuration and the isolation requirements.
Example12 · Plan and Manage an Azure AI Solution
A state education department is digitizing thousands of scanned student enrollment forms. The solution must read both printed and handwritten text from the form images and return labeled fields such as student name and enrollment date as structured key-value pairs. Which service should you implement?
✓Azure AI Document Intelligence using a prebuilt or custom extraction model
Correct. Azure AI Document Intelligence combines OCR for printed and handwritten text with layout and field extraction models that return labeled key-value pairs from form images.
・Azure AI Vision Image Analysis using the Read text extraction feature
Incorrect. The Read feature returns lines and words of OCR text, but it does not associate text with form fields, so you would get no structured key-value output.
・Azure AI Language custom named entity recognition on extracted text
Incorrect. Custom NER operates on plain text you supply; it cannot ingest the scanned images directly and would require a separate OCR stage plus custom training to approximate field extraction.
・Azure AI Content Safety using image and text analysis on the scanned enrollment forms
Incorrect. Azure AI Content Safety detects harmful or inappropriate content; it performs no OCR or field extraction and cannot return enrollment data as key-value pairs.
Explanation
Azure AI Document Intelligence is purpose-built for form processing: it applies OCR to printed and handwritten content and maps the results to labeled fields through prebuilt or custom models. Plain OCR (Vision Read) lacks field labeling, Language services require text input rather than images, and Content Safety addresses moderation rather than extraction.
Example13 · Plan and Manage an Azure AI Solution
An energy utility has three analytics teams building generative AI assistants in Azure AI Foundry. A central platform group must manage one shared Azure OpenAI connection, shared compute, and a common network configuration, while each team keeps its own files, model deployments, and member access isolated from the other teams. What should you provision?
・A separate Azure AI Foundry hub for every team, each one duplicating the shared connection settings
Incorrect. Separate hubs force the platform group to configure and maintain connections, compute, and networking three times, defeating the requirement for centrally managed shared settings.
✓One Azure AI Foundry hub containing a separate dedicated project for each team
Correct. A hub centralizes security, connections, compute, and network configuration, and each child project inherits them while isolating its own files, deployments, and role assignments per team.
・A single Azure AI Foundry project that all teams share, separated by folder naming conventions
Incorrect. A single shared project gives every member access to the same assets and deployments, so folder conventions cannot enforce the required isolation of files and access between teams.
・One resource group per team with a standalone Azure OpenAI resource
Incorrect. Independent resource groups with standalone Azure OpenAI resources provide no Foundry hub, so there is no central place to share one connection, compute, or network settings.
Explanation
In Azure AI Foundry, a hub is the governance boundary where connections, compute, and networking are configured once, and projects are the isolation boundary for a team's files, deployments, and access. One hub with a project per team satisfies both central management and per-team separation.
Example14 · Plan and Manage an Azure AI Solution
Meridian Travel Group is building a trip-planning assistant inside Azure AI Foundry. The team needs a workspace that centralizes shared connections to Azure OpenAI and Azure AI Search, enforces one security and networking configuration, and lets several product squads each build isolated solutions that inherit those shared resources. Which Azure AI Foundry construct should you create first to satisfy the centralized-governance requirement?
・A standalone Foundry project that keeps isolated connections for each squad
Incorrect. Standalone projects do not provide the centralized shared connections and single governance point the team needs across squads.
・A single Azure OpenAI resource that is shared by copying its account keys into every squad's code repository
Incorrect. Copying keys into repositories bypasses centralized governance and creates a serious credential-sprawl security problem.
・A resource group that groups the squads' Azure AI services together under one common billing boundary
Incorrect. A resource group is an Azure management and billing container, not a Foundry construct that shares AI connections or networking to projects.
✓A Foundry hub, whose shared connections, security, and networking settings are inherited by every project it contains
Correct. A hub is the top-level collaboration workspace that holds shared connections, compute, and security/networking configuration which its projects inherit.
Explanation
In Azure AI Foundry, a hub is the shared workspace that defines connections, security, and networking once; projects created under it inherit that configuration. This matches the requirement for centralized governance with isolated per-squad building spaces.
Example15 · Plan and Manage an Azure AI Solution
Northbridge Insurance wants to extract key-value pairs, tables, and selection marks from scanned auto-claim forms and from standard documents like receipts and ID cards, returning structured JSON for downstream processing. They do not want to label training data for the common document types. Which Azure AI service and capability best meets this requirement with the least custom effort?
・Azure AI Vision read OCR, which returns raw recognized text lines without structured field extraction
Incorrect. Vision read OCR only returns recognized text and bounding boxes; it does not produce key-value pairs, tables, or selection marks as structured fields.
✓Azure AI Document Intelligence using its prebuilt layout and common-document models to return structured key-value pairs, tables, and selection marks
Correct. Document Intelligence prebuilt and layout models extract key-value pairs, tables, and selection marks as structured JSON for receipts, IDs, and general documents without any labeling.
・Azure AI Language custom named entity recognition trained on labeled claim text samples
Incorrect. Custom NER operates on text entities and requires labeled samples; it does not natively return tables or selection marks from scanned forms.
・Azure AI Content Understanding configured with a manually labeled custom extraction schema per form
Incorrect. Manually labeling a custom extraction schema per form adds exactly the labeling effort the team wants to avoid for common document types.
Explanation
Azure AI Document Intelligence provides prebuilt models (receipts, ID documents, invoices) and a layout model that return structured key-value pairs, tables, and selection marks without any training. This gives Northbridge structured JSON with the least custom effort.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)