Check the style and quality of the material before you buy.
Question 1
You have a Microsoft Foundry project that contains an agent.The agent ingests scanned PDF vendor invoices that contain tables and embedded QR codes.The agent must preserve the PDF layout in the extracted output to ensure that downstream processing can reference sections andtables.You plan to call Azure Content Understanding in Foundry Tools.You need to extract content and layout elements and detect QR codes without requiring a language model deployment.Which built-in analyzer should you use?
A. prebuilt-layout
B. prebuilt-documentFieldSchema
C. prebuilt-read
D. prebuilt-documentSearch
Answer: A
Correct option:
A. prebuilt-layout
Explanation
The prebuilt-layout analyzer in Azure Content Understanding extracts text and layout elements, such as paragraphs, sections, tables and selection marks, and preserves the structure of the document. It also detects barcodes, including QR codes, as part of layout analysis. Because it is a prebuilt analyzer based on document analysis rather than generative extraction, it does not require a language model deployment. This meets all the requirements for processing the scanned PDF invoices. Key points:
prebuilt-layout preserves document structure.
Tables and sections can be referenced downstream.
Barcodes and QR codes are detected.
No language model deployment is required.
The analyzer output can be stored as structured JSON for downstream steps.
Layout output includes page numbers for referencing sections and tables.
QR code values are returned with their locations on the page. In practice: The developer calls the prebuilt-layout analyzer for each invoice, stores the layout output and QR code values, and passes the structured content to downstream processing. Why this matters: Layout-aware extraction without generative models is efficient and predictable. Key takeaway: Use prebuilt-layout to extract layout and detect QR codes without a language model. Exam tip: prebuilt-layout extracts layout and barcodes, including QR codes, without needing a language model deployment.
Question 2
You have a web app named App1 that sends requests to a multimodal chat model deployment in a Microsoft Foundry project. User messages can contain both text and images. Currently, App1 includes image URLs as plain text inside the message content, so the model cannot recognize them as images. You need to send the message as a structured array that includes both the text portion and the image reference.
A. Add the image URL to request metadata.
B. Set the user message content array to include items with type: text and type: image_url.
C. Place the image URL inside the system message.
D. Include base64 data directly inside the content string.
Answer: B
Correct option:
B. Set the user message content array to include items with type: text and type: image_url.
Explanation
Multimodal chat models accept user message content as an array of typed parts. To include an image, the content array should contain an item with type text for the user's question and an item with type image_url that holds the image URL. The model then recognizes the image as visual input instead of treating the URL as plain text. This structured format is the standard way to send combined text and image input to multimodal models. Key points:
Message content can be an array of typed parts.
type text carries the text portion.
type image_url carries the image reference.
The model processes the image as visual input.
Images can also be provided as base64 data URLs within the image_url item. In practice: The developer changes App1's request so the user message content is an array with a text item and an image_url item, then verifies the model describes the image correctly. Why this matters: Correct message structure is required for multimodal models to understand images. Key takeaway: Send multimodal input as a content array with text and image_url items.
Question 3
You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents.You need to improve response completeness. The solution must be implemented in the logic of the application code beforeresponses are returned.What should you do?
A. Decrease the value of the temperature parameter.
B. Add a reflection pass before the responses are returned.
C. Switch to Retrieval Augmented Generation (RAG).
D. Enable response streaming.
Answer: B
Correct option:
B. Add a reflection pass before the responses are returned.
Explanation
The requirement is to improve completeness within the application's logic before responses are returned. A reflection pass adds a step in the application code that reviews each generated summary against the retrieved content and required clauses, and regenerates or revises the response if anything is missing. This happens before the response is sent to the user, so completeness improves without changing the underlying model. Key points:
Reflection runs in application code after generation.
Drafts are checked for missing required content.
Incomplete responses are revised before returning.
No model changes are needed.
Lowering temperature or enabling streaming does not add missing content.
The reflection logic can be reused across different summary types. In practice: The developer implements a check that compares the draft with the required clauses, calls the model again with feedback when clauses are missing and returns only the corrected response. Why this matters: Application-level reflection is a practical way to raise output quality. Key takeaway: Add a reflection pass in application code to improve completeness before returning responses. Exam tip: Improving completeness in application code before returning a response is done with a reflection pass.
Question 4
You need to ensure that the conversation history does NOT persist across separate sessions.
A. {{$conversationId}}
B. global
C. {{$userId}}
D. session
Answer: D
Correct option:
D. session
Explanation
Memory scope determines how long and for whom stored information is kept. Setting the scope to session limits memory to a single session, so conversation history is not carried into separate sessions. Scopes based on user or conversation identifiers, or a global scope, make memory available across sessions, which the requirement prohibits. Using session scope therefore ensures each session starts without history from previous sessions. Key points:
Scope controls how memory is shared and retained.
Session scope limits memory to one session.
User and global scopes persist across sessions.
New sessions start without prior history.
Session scope is useful for shared devices or privacy-sensitive scenarios.
Other scopes should be used only when cross-session recall is intended.
Session scope keeps memory available within the current session only. In practice: The developer configures the memory tool with scope set to session and tests that a new session does not recall information from an earlier one. Why this matters: Correct memory scoping supports privacy and predictable behavior. Key takeaway: Use the session scope to prevent conversation history from persisting across sessions. Exam tip: Session-scoped memory does not carry history into separate sessions.
Question 5
You have an Azure App Service app named App1 and provision a Microsoft Foundry Service resource named CSAccount1.You need to configure App1 to access CSAccount1. The solution must minimize administrative effort.
A. endpoint URI and SAS token
B. system-assigned managed identity and X.509 certificate
C. endpoint URI and OAuth token
D. endpoint URI and subscription key
Answer: D
Correct option:
D. endpoint URI and subscription key
Explanation
The simplest way for App1 to access the Microsoft Foundry resource is to use the resource's endpoint URI with a subscription key. Both values are available in the Keys and Endpoint section of the resource, and the app sends the key in the request header with each call. This requires no identity configuration or token handling, which minimizes administrative effort. The key should be stored securely, for example in App Service settings or Key Vault. Key points:
The endpoint URI identifies the resource.
A subscription key authenticates requests.
Both values are available directly in the portal.
No identity or token setup is required.
Keys can be rotated using the primary and secondary key pair. In practice: The administrator copies the endpoint and key into App1's application settings or Key Vault references, and the app reads them at runtime to call the service. Why this matters: Key-based access is quick to set up when minimizing administrative effort is the priority. Key takeaway: Use the endpoint URI and subscription key for the least administrative effort. Exam tip: For the least administrative effort, use the endpoint URI with a subscription key.
Question 6
You need a connection method for a GPT realtime model that supports live client-side audio streaming and approximately 100-ms latency.
A. WebSocket
B. RTMP
C. WebRTC
D. SIP
Answer: C
Correct option:
C. WebRTC
Explanation
WebRTC is designed for real-time, peer-to-peer media streaming with very low latency. For GPT realtime models, WebRTC is the recommended connection method for client-side audio streaming from browsers and mobile apps, because it handles audio capture, encoding and network conditions efficiently and typically achieves latency in the range of about 100 milliseconds. This provides a natural conversational experience. WebSockets are better suited to server-to-server scenarios, and RTMP and SIP are not designed for this use case. Key points:
WebRTC is built for low-latency real-time media.
It is recommended for client-side audio with realtime models.
It handles audio encoding and network variability.
Latency is low enough for natural conversation.
The server issues short-lived session tokens so keys are not exposed to clients. In practice: The developer creates an ephemeral session token on the server, then connects the browser client to the realtime model over WebRTC to stream microphone audio and receive spoken responses. Why this matters: Choosing the right transport protocol is key to responsive voice experiences. Key takeaway: Use WebRTC for low-latency client-side audio streaming with GPT realtime models. Exam tip: Client-side realtime audio with very low latency uses WebRTC.
Question 7
You have an app named App1 that uses a Microsoft Foundry multimodal model deployment.App1 runs optical character recognition (OCR) on uploaded images and appends the OCR output to the prompt as additionalcontext.Some uploaded images contain embedded text.You need to prevent potentially malicious instructions from being processed by the model.What should you use?
A. protected material text
B. prompt shields for user prompts
C. image moderation
D. prompt shields for documents
Answer: D
Correct option:
D. prompt shields for documents
Explanation
App1 appends OCR output from uploaded images to the prompt, which means text from images is third-party content that may contain malicious instructions. Prompt Shields for documents detect indirect prompt injection attacks embedded in documents and other external content, including OCR-extracted text. Applying them to the OCR output identifies and blocks hidden instructions before they influence the model, which directly meets the requirement. Key points:
OCR output is third-party, untrusted content.
Embedded text can carry indirect prompt injection.
Prompt Shields for documents detect these attacks.
Blocking happens before the model processes the text.
Detected attacks can be logged for security review.
Legitimate text in images still flows to the model when no attack is found. In practice: The developer sends the OCR text as document content to the Prompt Shields API or enables the document attack guardrail, and blocks requests flagged as attacks. Why this matters: Protecting against indirect injection is essential when models read external content. Key takeaway: Use Prompt Shields for documents to detect malicious instructions in OCR output. Exam tip: OCR text from images is external content, so document prompt shields are the control for hidden instructions.
Question 8
You are deploying a support agent that enables users to upload photos.You need to automatically classify uploaded images for harmful content. The solution must block content based on severity levels.What should you do?
A. Implement image moderation.
B. Enable prompt shields.
C. Apply keyword scanning to optical character recognition (OCR) output by using Azure Vision in Foundry Tools.
D. Use blocklists.
Answer: A
Correct option:
A. Implement image moderation.
Explanation
Image moderation in Azure AI Content Safety analyzes images for harmful content, including hate, sexual, violence and self-harm categories, and returns a severity level for each category. The support agent can automatically classify each uploaded photo and block it when a category's severity exceeds a configured threshold. This directly meets the requirement to classify uploaded images and block content based on severity levels. Key points:
Image moderation detects harmful image content.
Each harm category has a severity level.
Thresholds determine which images are blocked.
Classification happens automatically for every upload.
Moderation results can be logged to review blocked uploads.
Thresholds can be tuned per harm category.
Image moderation works on the image itself, unlike OCR keyword scanning.
Results are returned quickly enough for interactive uploads. In practice: The developer calls the image analysis API for each uploaded photo, compares severities with configured thresholds and rejects images that exceed them before the agent processes them. Why this matters: Severity-based moderation keeps harmful images out of user-facing workflows. Key takeaway: Use image moderation to classify and block uploaded images by severity level. Exam tip: Blocking images by harm severity is done with image moderation.
Question 9
You have a Microsoft Foundry project that contains an agent.The agent uses a knowledge source built from documents stored in Azure Blob Storage. The documents include digitally scannedPDFs that contain multipage tables.You have an ingestion job that extracts only plain text, causing loss of table structure, headings, and page-number metadata.Users frequently ask questions that require the retrieval of specific table rows across the pages.You need to configure an ingestion job for a Retrieval Augmented Generation (RAG) pipeline that performs optical characterrecognition (OCR) on scanned PDFs, preserves tables and headings as structure-aware chunks, and stores page-number metadatawith each chunk.How should you configure the ingestion job?
A. Use basic parsing and fixed-size chunking.
B. Use advanced data parsing to reingest the documents.
C. Use OCR and page-level chunking.
D. Use page-level OCR extraction and store each page as a single chunk.
Answer: B
Correct option:
B. Use advanced data parsing to reingest the documents.
Explanation
The current job loses structure because it extracts only plain text. Advanced data parsing in the ingestion pipeline uses document layout analysis with OCR to process scanned PDFs, recognizing tables, headings and other structure. It then creates structure-aware chunks that keep tables and sections together and stores metadata, such as page numbers, with each chunk. Reingesting the documents with advanced parsing gives the RAG pipeline chunks that can answer questions about specific table rows across pages. Key points:
Advanced parsing performs OCR and layout analysis.
Tables and headings are preserved as structure.
Chunks follow document structure instead of fixed sizes.
Page-number metadata is stored with each chunk.
Better chunks lead to more accurate citations and answers. In practice: The team enables advanced data parsing for the knowledge source, reingests the PDFs and tests questions that require specific table rows to confirm accurate retrieval. Why this matters: Structure-aware ingestion dramatically improves RAG answers for complex documents. Key takeaway: Use advanced data parsing to OCR scanned PDFs and create structure-aware chunks with page metadata. Exam tip: Structure-aware chunking with page metadata comes from advanced data parsing, not basic fixed-size chunking.
Question 10
You have a Microsoft Foundry project that contains an agent. The agent uses Azure Al Search as the retriever.You plan to ingest PDFs into an Azure Al Search index to ensure that the agent can ground responses in texts in both documentsand embedded images.Users require citations that link to the source files.You need to ensure that during indexing, the images are extracted into a structure that can be used as input for the built-in opticalcharacter recognition (OCR) skill.Which indexing approach should you use?
A. a skillset to run the OCR skill directly against the content field of the index
B. the outputFieldMappings parameter to write image data to a searchable field
C. an indexer to extract image data into a normalized_images collection
D. a Shaper skill to restructure the OCR input
Answer: C
Correct option:
C. an indexer to extract image data into a normalized_images collection
Explanation
To run the built-in OCR skill on images inside PDFs, the indexer must first extract the images into a form the skill can read. Setting the indexer's imageAction configuration, for example to generateNormalizedImages, extracts embedded images and creates a normalized_images collection in the enrichment tree. The OCR skill takes /document/normalized_images/* as input, extracts the text from each image and passes it to later skills and the index. Citations still link to the source files, because each document keeps its storage path metadata. Key points:
The indexer can extract images from documents.
Extracted images appear in the normalized_images collection.
The OCR skill reads from normalized_images.
Image text then becomes searchable content. In practice: The developer sets imageAction to generateNormalizedImages in the indexer parameters, adds the OCR skill with normalized_images as input, merges its output with document text and maps the results to index fields. Why this matters: Correct image extraction is required before OCR can enrich search content. Key takeaway: Configure the indexer to extract images into normalized_images for the OCR skill. Exam tip: OCR in Azure AI Search skillsets reads images from the normalized_images collection created by the indexer.
Why RealExamCollection is the best choice for Microsoft AI-103 exam preparation
Secure your position in a competitive IT industry
The Microsoft AI-103 certification is a strong way to demonstrate your understanding and ability. Our AI-103 questions & answers help you prepare for it, so you can secure your current position and move your career forward.
Reviewed by IT professionals
We keep our AI-103 practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of Microsoft technologies.
One place to prepare
RealExamCollection brings together the material you need for the Microsoft AI-103 exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Microsoft exams.
Updated AI-103 questions & answers
We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.
Free AI-103 demo before you buy
You can view sample AI-103 questions on this page before buying, to see the format and pattern of the material.
90 days of free updates
You are eligible for 90 days of free updates after buying the AI-103 exam. If the file is updated in that time, you can download the latest version from your account.