Courseiva

Microsoft Azure AI Engineer Associate AI-102 (AI-102) — Questions 676750

945 questions total · 13pages · All types, answers revealed

Page 9

Page 10 of 13

Page 11
676
MCQhard

You are developing a custom agent using the Microsoft Bot Framework SDK. The agent must handle multiple languages and use the Azure AI Translator service to translate user messages to English before processing. The solution should minimize latency. Where should the translation logic be implemented?

A.As a custom middleware component that intercepts incoming activities and translates them.
B.In the OnMessageActivityAsync method after receiving the user's message.
C.By using the Bot Framework's built-in language detection feature.
D.By sending the user's message to a separate translation endpoint from the client application.
AnswerA

Middleware runs before the bot logic, translating messages efficiently without affecting the rest of the code.

Why this answer

Implementing translation logic as a custom middleware component intercepts incoming activities before they reach the bot's main message handler, allowing translation to occur asynchronously and in parallel with other pipeline processing. This minimizes latency because the translation happens early in the request pipeline, and the middleware can be configured to run only when needed (e.g., based on detected language), avoiding unnecessary overhead in the OnMessageActivityAsync method.

Exam trap

The trap here is that candidates often assume translation should be handled inside the main message handler (Option B) because it seems straightforward, but they overlook the latency benefits and architectural separation provided by middleware in the Bot Framework SDK pipeline.

How to eliminate wrong answers

Option B is wrong because placing translation logic inside OnMessageActivityAsync adds synchronous delay to the main message processing path, increasing latency for every message, and does not leverage the pipeline's ability to offload preprocessing. Option C is wrong because the Bot Framework SDK does not include built-in language detection or translation features; language detection must be performed via an external service like Azure AI Translator or Cognitive Services. Option D is wrong because sending the user's message to a separate translation endpoint from the client application introduces additional network round trips and client-side complexity, and does not centralize translation logic within the bot's server-side pipeline, which can increase overall latency and reduce maintainability.

677
Multi-Selecteasy

Which TWO Azure AI services can you use to implement a custom question-answering system?

Select 2 answers
A.Azure OpenAI Service
B.Azure AI Bot Service
C.Azure AI Translator
D.Azure AI Language
E.Azure AI Search
AnswersA, D

Azure OpenAI can be used to build custom Q&A with retrieval augmented generation.

Why this answer

Azure OpenAI Service is correct because it provides access to GPT models that can be fine-tuned or used with custom prompts to build a question-answering system. By leveraging the 'chat completions' API with a system message and context documents, you can implement a custom Q&A system that generates answers based on your proprietary data.

Exam trap

The trap here is that candidates often confuse Azure AI Search (a retrieval service) with a full question-answering system, forgetting that it only returns raw documents or passages and does not generate natural language answers, which requires a language model like Azure OpenAI Service or the custom question-answering feature in Azure AI Language.

678
MCQhard

A company is developing a generative AI solution that must process sensitive customer data. They need to ensure that data remains within their Azure tenant and is not used to improve the base model. Which configuration is required in Azure OpenAI?

A.Enable customer-managed keys for encryption.
B.Use a private endpoint to restrict access to the service.
C.Opt out of abuse monitoring and data logging in the Azure OpenAI Studio.
D.Configure data residency to keep data in a specific region.
AnswerC

Opting out prevents Microsoft from using your data for model improvement.

Why this answer

Azure OpenAI provides a data privacy setting that allows customers to opt out of abuse monitoring and data logging. When enabled, this ensures that prompts, completions, and any associated data are not stored or used by Microsoft to improve the base model, and all data remains within the customer's Azure tenant. This is the specific configuration required to meet the stated data residency and non-improvement requirements.

Exam trap

The trap here is that candidates often confuse network-level controls (private endpoints) or encryption (CMK) with data usage policies, not realizing that only the explicit opt-out of abuse monitoring and logging prevents Microsoft from using the data for model improvement.

How to eliminate wrong answers

Option A is wrong because customer-managed keys (CMK) control encryption at rest but do not prevent Microsoft from using data for model improvement or logging; CMK only ensures the customer manages the encryption keys. Option B is wrong because a private endpoint restricts network access to the service but does not affect how Microsoft processes or stores data for abuse monitoring or model improvement; data can still be logged and used for improvement even with private endpoints. Option D is wrong because data residency configuration ensures data is stored in a specific geographic region but does not prevent Microsoft from using that data for model improvement or abuse monitoring; data can still be processed and logged within that region.

679
MCQhard

A manufacturing company uses Azure Custom Vision to detect defects on an assembly line. The model is deployed to a container on a local edge server. Recently, the model's accuracy dropped. You suspect data drift. What should you do to monitor and retrain the model?

A.Use Azure Machine Learning data drift monitoring on the Custom Vision endpoint.
B.Periodically collect new images with labels, retrain the model in Custom Vision, and redeploy the updated container.
C.Configure Custom Vision to send alerts when drift is detected.
D.Enable active learning in Custom Vision to automatically retrain the model.
AnswerB

Manual retraining is required to address drift.

Why this answer

Custom Vision models deployed to containers on edge devices do not expose a REST endpoint that Azure Machine Learning's data drift monitoring can directly access. The only way to detect drift and retrain is to periodically collect new labeled images from the production line, retrain the model in Custom Vision, and redeploy the updated container to the edge server.

Exam trap

The trap here is that candidates assume Azure Machine Learning's data drift monitoring works with any deployed model, but it specifically requires an Azure-hosted endpoint, not a local container, and Custom Vision lacks native drift detection or auto-retraining features.

How to eliminate wrong answers

Option A is wrong because Azure Machine Learning data drift monitoring requires an Azure-hosted endpoint (e.g., AKS or ACI) with a scoring URI; Custom Vision containers on local edge servers do not provide such an endpoint, so drift monitoring cannot be configured. Option C is wrong because Custom Vision does not have built-in drift detection or alerting capabilities; it only provides training and prediction APIs, not monitoring. Option D is wrong because active learning in Custom Vision is a feature for image classification that suggests images for labeling to improve the model, but it does not automatically retrain the model or handle drift detection on edge deployments.

680
MCQeasy

A healthcare organization uses Azure Document Intelligence to process patient intake forms. They notice that the confidence scores for field extraction are low. What is the most likely cause?

A.The document resolution is too low
B.The document layout is not analyzed
C.The custom model was trained with only 10 labeled forms
D.The batch processing size is too large
AnswerC

Custom models require at least 5 labeled forms; more samples improve confidence.

Why this answer

Custom models in Azure Document Intelligence require a minimum of five labeled forms for training, but low confidence scores typically indicate insufficient training data. With only 10 labeled forms, the model lacks enough examples to generalize well across variations in handwriting, formatting, and field values, leading to poor extraction confidence.

Exam trap

The trap here is that candidates often confuse low confidence with OCR or resolution issues, but the exam tests the specific requirement for sufficient labeled training data in custom models, not generic document quality problems.

How to eliminate wrong answers

Option A is wrong because low resolution can reduce OCR accuracy, but Azure Document Intelligence handles a wide range of resolutions and the question specifically points to field extraction confidence, not OCR failure. Option B is wrong because layout analysis is automatically performed by the prebuilt layout model and is not a prerequisite for custom extraction models; the issue is with training data quantity, not layout processing. Option D is wrong because batch processing size affects throughput and latency, not the confidence scores of individual field extractions; confidence is determined by the model's training and the input document quality, not batch size.

681
MCQhard

A healthcare provider uses Azure Video Analyzer for Media to extract insights from surgical videos. They need to ensure that no patient health information (PHI) is stored in the transcriptions. What is the best approach?

A.Use Azure AI Content Safety to post-process transcriptions.
B.Disable indexing for videos containing PHI.
C.Enable content moderation in Video Analyzer for Media settings.
D.Use the 'delete' API to remove all transcripts after processing.
AnswerC

Content moderation can detect and redact PHI.

Why this answer

Enabling content moderation in Azure Video Analyzer for Media automatically redacts or flags sensitive content, including PHI, from transcriptions during the indexing process. This built-in feature ensures that PHI is not stored in the output without requiring additional post-processing or manual deletion.

Exam trap

The trap here is that candidates often confuse Azure AI Content Safety (which handles general content moderation) with Video Analyzer for Media's built-in content moderation (which specifically targets PII/PHI in video transcriptions), leading them to choose Option A instead of the more direct and integrated solution.

How to eliminate wrong answers

Option A is wrong because Azure AI Content Safety is designed to detect harmful or inappropriate content (e.g., hate speech, violence), not specifically to redact PHI from transcriptions; it would require custom logic and post-processing, which is less efficient and not the intended use. Option B is wrong because disabling indexing for videos containing PHI would prevent any insights from being extracted, which defeats the purpose of using Video Analyzer for Media for surgical videos; it does not address the requirement to extract insights while avoiding PHI storage. Option D is wrong because using the 'delete' API to remove transcripts after processing still results in PHI being temporarily stored, which violates compliance requirements; the goal is to prevent storage altogether, not to delete it after the fact.

682
MCQhard

Your company uses Azure AI Language to analyze customer feedback from surveys. The current pipeline extracts key phrases and sentiment. The data science team wants to identify emerging topics over time, such as new product complaints or feature requests. You need to modify the pipeline to track topic evolution. Which Azure AI Language feature should you enable?

A.Named entity recognition (NER)
B.Conversation summarization
C.Key phrase extraction
D.Custom text classification
AnswerD

Custom text classification allows you to define topic categories (e.g., 'pricing complaint', 'feature request') and classify each survey response. By tracking classification frequencies over time, you can identify emerging topics.

Why this answer

Custom text classification is the correct choice because it allows you to define and train a model to categorize feedback into custom classes (e.g., 'new product complaint', 'feature request') and track their frequency over time, enabling topic evolution analysis. Unlike prebuilt features, custom classification adapts to your specific domain and can be retrained as new topics emerge, directly supporting the data science team's goal of identifying emerging topics.

Exam trap

Microsoft often tests the distinction between prebuilt features (like key phrase extraction or NER) and customizable features (like custom text classification), leading candidates to choose a prebuilt option that cannot adapt to emerging, domain-specific topics.

How to eliminate wrong answers

Option A is wrong because Named Entity Recognition (NER) extracts predefined entities like people, places, or organizations, not dynamic or emerging topics from customer feedback. Option B is wrong because Conversation summarization is designed to produce summaries of chat or call transcripts, not to classify or track evolving topics over time. Option C is wrong because Key phrase extraction identifies static, high-frequency terms from text but cannot group them into custom categories or detect new topics that were not previously present in the training data.

683
MCQmedium

A company uses Azure OpenAI to generate product descriptions. They want to ensure that the descriptions are consistent in style and tone. Which strategy should they use?

A.Provide a few examples of desired style in the prompt (few-shot learning).
B.Set max_tokens to a small value to limit output length.
C.Fine-tune the model on a dataset of product descriptions.
D.Increase the temperature to 1.0 for more creativity.
AnswerA

Examples guide the model to mimic the style.

Why this answer

Few-shot learning (option A) is the correct strategy because it directly addresses the need for consistent style and tone by providing the model with explicit examples of the desired output within the prompt. This guides the model to mimic the given patterns without altering the base model's weights, making it a quick and effective method for controlling output style in Azure OpenAI.

Exam trap

The trap here is that candidates often confuse fine-tuning (option C) as the default solution for any customization, when in fact few-shot learning is the simpler, more appropriate method for controlling style and tone without the overhead of training a new model.

How to eliminate wrong answers

Option B is wrong because setting max_tokens to a small value limits the length of the output, not its style or tone; it could truncate the description before it is complete. Option C is wrong because fine-tuning the model on a dataset of product descriptions is an expensive, time-consuming process that is overkill for simply enforcing style consistency; it is better suited for teaching the model new knowledge or specific domain terminology, not for quick style adjustments. Option D is wrong because increasing the temperature to 1.0 increases randomness and creativity, which would make the style and tone less consistent, not more.

684
MCQmedium

Your team uses Azure AI Studio to deploy a large language model endpoint. You need to monitor for prompt injection attacks. Which Azure AI safety feature should you enable?

A.Azure AI Content Safety
B.Azure AI Agent Service
C.Azure AI Search
D.Azure OpenAI Service
AnswerA

Azure AI Content Safety includes prompt injection detection.

Why this answer

Azure AI Content Safety is the correct feature because it provides built-in detection for prompt injection attacks by analyzing user inputs for malicious content, such as jailbreak attempts or indirect injection patterns. This service integrates directly with Azure AI Studio endpoints to filter harmful prompts before they reach the LLM, ensuring compliance with responsible AI practices.

Exam trap

The trap here is that candidates often confuse Azure OpenAI Service (the model hosting platform) with Azure AI Content Safety (the security layer), assuming the LLM endpoint itself includes built-in prompt injection filtering, when in fact it requires an explicit safety service to be enabled.

How to eliminate wrong answers

Option B is wrong because Azure AI Agent Service is designed for building and managing autonomous agents that can execute tasks, not for monitoring or filtering prompt injection attacks. Option C is wrong because Azure AI Search is a retrieval-augmented generation (RAG) service for indexing and querying data, lacking any built-in security filtering for prompt injection. Option D is wrong because Azure OpenAI Service provides the LLM endpoint itself but does not include native prompt injection detection; it relies on external services like Content Safety for such monitoring.

685
MCQeasy

Refer to the exhibit. You are using Microsoft Graph to retrieve user information for use in a Microsoft 365 Copilot extension. The response shows that the mail and mobilePhone fields are null. What is the most likely reason?

A.The user has not configured those properties in their Microsoft Entra ID profile.
B.The API call required additional permissions.
C.The user is a guest user.
D.The user does not exist in the tenant.
AnswerA

Null values indicate unset properties.

Why this answer

The mail and mobilePhone fields are null because the user has not populated these attributes in their Microsoft Entra ID (formerly Azure AD) profile. Microsoft Graph returns the actual stored values for these properties; if they are empty or unset, the API response will show null. This is the most common and straightforward reason for null values in user profile fields.

Exam trap

Microsoft often tests the misconception that missing data in a successful API response is due to permission issues or user type, when in reality the most likely cause is that the data simply hasn't been configured.

How to eliminate wrong answers

Option B is wrong because if the API call required additional permissions, the response would return a 403 Forbidden error or an insufficient privileges message, not a successful response with null fields. Option C is wrong because guest users can have mail and mobilePhone properties configured; being a guest does not inherently cause these fields to be null—they would only be null if the guest user's profile lacks those values. Option D is wrong because if the user did not exist in the tenant, the API would return a 404 Not Found error, not a successful response with null fields.

686
MCQeasy

You are designing a knowledge mining solution to extract information from scanned invoices stored as multi-page TIFF images. Which two Azure AI services should you combine to extract text and structure the data?

A.Azure AI Language and Azure AI Search
B.Azure AI Document Intelligence and Azure AI Vision
C.Azure AI Search and Azure AI Vision
D.Azure AI Translator and Azure AI Document Intelligence
AnswerB

Document Intelligence extracts structured data; Vision OCR extracts text.

Why this answer

Azure AI Document Intelligence (formerly Form Recognizer) can extract structured data like invoice fields, while Azure AI Vision provides OCR to extract text from multi-page TIFF images. Option A is incorrect because Azure AI Language does not process images directly. Option C is incorrect because Azure AI Search indexes data but does not extract text from images.

Option D is incorrect because Azure AI Translator translates text but does not extract or structure data.

687
MCQeasy

Your chatbot uses Azure Bot Service and QnA Maker. Users can ask questions in natural language, and the bot returns answers from a knowledge base. Users report that the bot sometimes returns irrelevant answers. What should you do first?

A.Create multiple QnA Maker knowledge bases for different topics
B.Integrate LUIS to detect user intent
C.Use Azure AI Search to index the knowledge base
D.Review and edit the QnA pairs to add alternative phrasings
AnswerD

Adding more variations helps match user queries more accurately.

Why this answer

The core issue is that the bot returns irrelevant answers because the QnA Maker knowledge base lacks sufficient alternative phrasings to match the variety of user questions. By reviewing and editing QnA pairs to add alternative phrasings, you directly improve the synonym and paraphrase coverage, which increases the confidence score for correct matches and reduces irrelevant responses. This is the first and most fundamental troubleshooting step before considering more complex integrations.

Exam trap

The trap here is that candidates often jump to integrating LUIS or Azure AI Search as a 'smart' fix, but the exam expects you to first optimize the existing QnA Maker knowledge base by enriching it with alternative phrasings, which is the simplest and most direct solution for irrelevant answers.

How to eliminate wrong answers

Option A is wrong because creating multiple knowledge bases for different topics does not address the root cause of irrelevant answers; it may fragment the knowledge and still fail to match varied phrasings within each topic. Option B is wrong because integrating LUIS for intent detection is an advanced enhancement that adds complexity and is not the first step; the problem is with QnA Maker's own matching logic, not with missing intent recognition. Option C is wrong because Azure AI Search is used for indexing and full-text search over large datasets, but QnA Maker already has its own ranking and matching engine; adding Azure AI Search would not fix the core issue of insufficient alternative phrasings in the QnA pairs.

688
MCQmedium

You need to build a solution that reads text from images in multiple languages, including Arabic and English, and translates the text into English. The solution must preserve the original layout as much as possible. Which combination of Azure AI services should you use?

A.Azure AI Document Intelligence Read and Azure AI Translator
B.Azure AI Document Intelligence Read and Azure AI Language
C.Azure AI Vision OCR and Azure AI Translator
D.Azure AI Speech and Azure AI Translator
AnswerA

Read extracts text with layout, and Translator handles translation while preserving the text order.

Why this answer

Azure AI Document Intelligence Read (formerly Form Recognizer Read) is optimized for extracting text from images and documents while preserving the original layout, including bounding box coordinates for each text element. Azure AI Translator then translates the extracted text into English. This combination meets the requirement for multi-language OCR (including Arabic and English) and layout preservation.

Exam trap

The trap here is that candidates often confuse Azure AI Vision OCR (legacy) with Azure AI Document Intelligence Read, assuming both provide equivalent layout preservation, but only Document Intelligence Read is designed for structured layout-aware extraction.

How to eliminate wrong answers

Option B is wrong because Azure AI Language provides text analytics (e.g., sentiment, key phrases) but does not include OCR capabilities; it cannot read text from images. Option C is wrong because Azure AI Vision OCR (legacy OCR API) does not preserve layout information as effectively as Document Intelligence Read, which is specifically designed for layout-aware extraction. Option D is wrong because Azure AI Speech is for speech-to-text and text-to-speech, not for reading text from images.

689
MCQhard

You are reviewing a skillset definition for an Azure AI Search indexer. The indexer is configured to index 1000 PDF documents. After running the indexer, you notice that only 500 documents have sentiment scores. What is the most likely cause?

A.The skills are defined in the wrong order; sentiment should run before split
B.The SentimentSkill is not supported in this region
C.The SplitSkill outputs are not correctly mapped to the SentimentSkill input; the skill runs only on the first page of each document
D.The context of the SentimentSkill should be "/document" instead of "/document/pages/*"
AnswerC

The context "/document/pages/*" should iterate over pages, but if split output is only one item, it only processes one page.

Why this answer

The SplitSkill divides each PDF into pages, and by default the SentimentSkill runs in the context of each page (e.g., /document/pages/*). If the SplitSkill outputs are not correctly mapped to the SentimentSkill input, the sentiment skill may only process the first page or fail to receive the split content, resulting in sentiment scores for only a subset of documents. Correct mapping ensures that each page's content is passed to the SentimentSkill for analysis.

Exam trap

The trap here is that candidates often assume the issue is with skill ordering or regional availability, but the real cause is the misalignment of skill context and input/output mappings, which is a subtle but critical detail in skillset definitions.

How to eliminate wrong answers

Option A is wrong because the order of skills (split before sentiment) is actually correct; sentiment must run after split to analyze individual pages, not before. Option B is wrong because the SentimentSkill is a generally available cognitive skill supported in all Azure regions where AI Search is available, so regional unavailability is not a plausible cause. Option D is wrong because setting the context to "/document" would cause the SentimentSkill to run once per document on the entire concatenated text, not per page, which would not explain why only 500 out of 1000 documents have scores; the issue is specifically about missing per-page sentiment due to mapping errors.

690
MCQhard

Refer to the exhibit. You run the Azure CLI command to list deleted cognitive services accounts. You need to recover the 'myTextAnalytics' account. Which command should you use?

A.az cognitiveservices account create --name myTextAnalytics --resource-group <rg> --kind TextAnalytics --location eastus
B.az cognitiveservices account restore --name myTextAnalytics --resource-group <rg> --location eastus
C.az cognitiveservices account recover --name myTextAnalytics --resource-group <rg> --location eastus
D.az cognitiveservices account undelete --name myTextAnalytics --resource-group <rg> --location eastus
AnswerC

The 'recover' command restores a soft-deleted account.

Why this answer

The Azure CLI command `az cognitiveservices account recover` is specifically designed to restore a soft-deleted Cognitive Services account within the 90-day retention period. The command requires the account name, resource group, and location to identify the deleted resource for recovery.

Exam trap

The trap here is that candidates may confuse the Azure CLI verb 'recover' with 'restore' or 'undelete' from other Azure services (e.g., Azure SQL Database uses 'restore', Azure Storage uses 'undelete'), leading them to pick a non-existent or incorrect command for Cognitive Services recovery.

How to eliminate wrong answers

Option A is wrong because `az cognitiveservices account create` creates a new account, not recovers a deleted one, and would fail if the name is still reserved from the soft-deleted account. Option B is wrong because `az cognitiveservices account restore` is not a valid Azure CLI command for Cognitive Services; the correct verb is 'recover'. Option D is wrong because `az cognitiveservices account undelete` is not a valid Azure CLI command; the Azure CLI uses 'recover' for this operation, though 'undelete' exists in some other Azure resource providers like Storage.

691
MCQhard

A company uses Azure Face API to detect faces in a crowd. They need to comply with GDPR and delete face data after 30 days. What should they implement?

A.Enable data encryption at rest.
B.Set a retention policy on the Face API resource.
C.Use the Face API Delete operation to remove stored face IDs.
D.Recreate the Face API resource every 30 days.
AnswerC

Explicitly deleting face data meets GDPR requirements.

Why this answer

The Azure Face API stores face data (e.g., face IDs) in a PersonGroup or FaceList, and GDPR compliance requires the ability to delete personal data on demand. The Face API provides a dedicated Delete operation (e.g., FaceList - Delete Face or PersonGroup Person - Delete) to remove stored face IDs and associated face data, enabling the 30-day deletion requirement without recreating the resource.

Exam trap

The trap here is that candidates confuse data encryption (which protects data at rest) with data lifecycle management (which deletes data), or assume that Azure services have a universal retention policy setting, when in fact Face API requires explicit API calls to delete stored face data.

How to eliminate wrong answers

Option A is wrong because enabling data encryption at rest protects data from unauthorized access but does not delete or expire data after a specific time period, so it does not satisfy the 30-day deletion requirement. Option B is wrong because Azure Face API does not support a built-in retention policy on the resource itself; retention policies are available for other Azure services like storage accounts or Log Analytics, not for Face API resources. Option D is wrong because recreating the Face API resource every 30 days would delete all resource-level configurations and potentially impact other workloads, but it is an inefficient and disruptive approach compared to using the targeted Delete operation to remove only the stored face IDs.

692
MCQhard

Your organization has a large corpus of legal documents that need to be analyzed for specific clauses. You need to extract key information such as party names, dates, and monetary amounts. The solution must be able to handle varying document formats (PDF, Word, scanned images). Which combination of Azure AI services should you use?

A.Azure AI Document Intelligence and Custom Entity Extraction
B.Azure AI Computer Vision and Custom Entity Extraction
C.Azure AI Translator and Custom Entity Extraction
D.Azure AI Speech and Custom Entity Extraction
AnswerA

Document Intelligence extracts text from various formats; Custom Entity Extraction identifies specific entities.

Why this answer

Azure AI Document Intelligence (formerly Form Recognizer) is designed to extract text, structure, and key-value pairs from PDFs, Word documents, and scanned images using OCR and layout analysis. Combining it with Custom Entity Extraction (via Azure AI Language's custom NER) allows you to identify domain-specific entities like party names, dates, and monetary amounts across varying formats. This pairing directly addresses the need for both document parsing and tailored entity recognition.

Exam trap

The trap here is that candidates often confuse Azure AI Computer Vision's OCR capabilities with Document Intelligence's full document understanding, overlooking that Computer Vision lacks the ability to extract structured key-value pairs and custom entities without additional services.

How to eliminate wrong answers

Option B is wrong because Azure AI Computer Vision provides OCR and image analysis but lacks native support for extracting structured key-value pairs or custom entities from documents; it would require additional services to achieve the same result. Option C is wrong because Azure AI Translator is designed for language translation, not for extracting entities or analyzing document content, making it irrelevant for clause analysis. Option D is wrong because Azure AI Speech handles audio-to-text transcription and is not applicable to processing static document formats like PDFs, Word files, or scanned images.

693
Multi-Selecteasy

Which TWO Azure AI services are most appropriate for extracting text from images and recognizing handwritten text?

Select 2 answers
A.Azure AI Document Intelligence
B.Azure AI Speech
C.Azure AI Vision
D.Azure AI Search
E.Azure AI Language
AnswersA, C

Document Intelligence (Form Recognizer) extracts text from documents, including handwriting.

Why this answer

Azure AI Document Intelligence (Option A) provides document analysis and extraction capabilities, including OCR and handwriting recognition. Azure AI Vision (Option C) offers the Read API for extracting printed and handwritten text from images. Azure AI Speech (Option B) is for speech-to-text, not image OCR.

Azure AI Search (Option D) is for indexing and searching data, not text extraction. Azure AI Language (Option E) provides NLP capabilities, not OCR.

694
Multi-Selecthard

Your organization is using Azure AI Document Intelligence to process a mix of invoices and purchase orders. You need to ensure that documents are correctly classified before extraction. Which THREE steps should you take?

Select 3 answers
A.Train the classification model with one sample per type
B.Create a custom classification model in Document Intelligence
C.Label at least 5 samples for each document type
D.Chain the classification model with extraction models
E.Use the prebuilt invoice and purchase order models for classification
AnswersB, C, D

Custom classification models categorize documents by type.

Why this answer

Azure AI Document Intelligence requires you to create a custom classification model to distinguish between document types like invoices and purchase orders. This model is built by training on labeled samples, enabling it to assign a document type before extraction. Without a custom classifier, the service cannot automatically route documents to the appropriate extraction model.

Exam trap

The trap here is that candidates confuse prebuilt models (which perform extraction) with classification capabilities, assuming they can automatically identify document types without a dedicated classifier.

695
MCQhard

You manage an Azure AI Search service that indexes legal documents. The search latency is high, and you need to improve query performance without reducing index size. Which action should you take?

A.Upgrade to a higher pricing tier
B.Increase the number of partitions
C.Reduce the number of searchable fields
D.Increase the number of replicas
AnswerD

Replicas handle more query requests in parallel, reducing latency.

Why this answer

Increasing the number of replicas distributes query load across multiple copies of the index, which directly improves query throughput and reduces latency. Replicas are designed for scaling query operations without changing the index size or storage capacity.

Exam trap

The trap here is that candidates often confuse partitions (which scale storage and indexing) with replicas (which scale query performance), leading them to incorrectly choose increasing partitions when the real need is to reduce query latency.

How to eliminate wrong answers

Option A is wrong because upgrading to a higher pricing tier increases both storage and compute capacity, but it is an overkill when the goal is specifically to improve query performance without reducing index size; partitions are the correct scaling unit for storage and indexing throughput. Option B is wrong because increasing the number of partitions improves indexing throughput and storage capacity, not query latency; partitions do not help with query concurrency or response time. Option C is wrong because reducing the number of searchable fields would shrink the index size, which violates the requirement to not reduce index size, and it may degrade search relevance rather than directly address query latency.

696
MCQeasy

You need to deploy a generative AI model that can generate images from text descriptions. Which Azure service should you use?

A.Azure OpenAI Service
B.Azure Machine Learning
C.Azure AI Vision
D.Azure AI Language
AnswerA

Azure OpenAI provides DALL-E models for generating images from text descriptions.

Why this answer

Azure OpenAI Service provides access to advanced generative AI models like DALL-E, which are specifically designed to generate images from natural language text descriptions. This service offers pre-trained models that can create high-quality images based on textual prompts, making it the correct choice for this task.

Exam trap

The trap here is that candidates may confuse Azure AI Vision (which analyzes images) with image generation, or assume that Azure Machine Learning is the only way to implement generative AI, overlooking the purpose-built Azure OpenAI Service for this task.

How to eliminate wrong answers

Option B is wrong because Azure Machine Learning is a platform for building, training, and deploying custom machine learning models, not a pre-built service for generating images from text; it would require you to develop and train your own image generation model from scratch. Option C is wrong because Azure AI Vision is designed for analyzing and extracting information from images (e.g., object detection, OCR), not for generating images from text descriptions. Option D is wrong because Azure AI Language focuses on natural language processing tasks such as text analysis, translation, and sentiment analysis, and does not include image generation capabilities.

697
MCQhard

You are a data engineer at a multinational corporation. The company has thousands of research reports in PDF format stored in Azure Blob Storage. The reports contain text, tables, charts, and handwritten annotations. Your team needs to build a knowledge mining solution using Azure AI Search that allows researchers to query the reports using natural language. The solution must extract text, table structures, and handwritten annotations. Additionally, the solution must handle multiple languages (English, Spanish, and French) and ensure that the index is updated daily as new reports are added. The search should prioritize the most recent reports. You have an Azure AI Search service in the S2 tier. Which combination of actions should you take to meet these requirements?

A.Use Azure AI Vision OCR skill for text extraction, add a translation skill, and use a simple search query
B.Use Azure AI Document Intelligence layout model with OCR, add a custom translation skill, and configure a scoring profile with freshness boosting
C.Use Azure AI Document Intelligence prebuilt-read model, add a custom skill for language detection, and schedule the indexer weekly
D.Use Azure AI Language text extraction, a custom entity recognition skill, and enable semantic ranking
AnswerB

Document Intelligence extracts tables and handwriting; translation skill handles multilingual; scoring profile boosts recent docs.

Why this answer

Using Azure AI Document Intelligence's layout and OCR capabilities extracts text, tables, and handwriting. The enrichment pipeline with a custom skill using the translation service handles multilingual content, and a scoring profile with freshness boosting prioritizes recent reports. Option A is incorrect because Azure AI Vision OCR alone does not extract table structure.

Option C is incorrect because the Language service does not handle document layout. Option D is incorrect because scheduling the indexer once a week does not meet the daily update requirement.

698
Multi-Selecthard

Your team uses Azure AI Language in a multi-region architecture. You need to ensure that the solution is resilient to regional outages. Which THREE actions should you take?

Select 3 answers
A.Disable regional endpoints
B.Use a global endpoint that routes to the nearest region
C.Configure a load balancer to distribute requests across regions
D.Deploy Azure AI Language resources in multiple regions
E.Use a single region with high availability enabled
AnswersB, C, D

Global endpoint provides automatic failover.

Why this answer

Azure AI Language global endpoints automatically route requests to the nearest available region, providing built-in failover without manual intervention. This ensures that if one region experiences an outage, traffic is redirected to the next closest healthy region, maintaining service continuity.

Exam trap

The trap here is that candidates often confuse high availability within a single region (e.g., availability zones) with multi-region resilience, and may incorrectly think disabling regional endpoints is necessary to force global routing, when in fact global endpoints already handle failover automatically.

699
MCQmedium

You are deploying a conversational AI chatbot using Azure AI Language service. The chatbot must be able to switch between multiple intents in a single conversation without restarting the session. Which feature should you enable?

A.Active learning
B.Orchestration workflow
C.Dynamic entity extraction
D.Prebuilt domain components
AnswerB

Correct. Orchestration workflow enables routing between multiple models, allowing the chatbot to handle different intents in the same conversation.

Why this answer

Orchestration workflow in Azure AI Language service allows a chatbot to switch between multiple intents within a single conversation by routing requests to different language models or custom question answering knowledge bases. This enables the chatbot to handle diverse intents seamlessly without restarting the session, as each intent can be processed by the most appropriate component.

Exam trap

The trap is confusing active learning (a feedback loop for model improvement) with orchestration workflow (a routing mechanism for multi-intent conversations). Orchestration is the correct feature for switching intents without restarting.

How to eliminate wrong answers

Option B is wrong because orchestration workflow is used to connect multiple language models or services (e.g., combining LUIS with QnA Maker) but does not inherently enable switching between intents within a single conversation without restarting; it manages routing between different models. Option C is wrong because dynamic entity extraction handles the identification of entities that vary in value (e.g., dates, numbers) but does not affect the ability to switch between intents mid-conversation. Option D is wrong because prebuilt domain components provide ready-made models for common scenarios (e.g., booking flights) but do not enable dynamic intent switching; they are static and require retraining to adapt to new intents.

700
Multi-Selecthard

Your organization is deploying a generative AI chatbot using Azure OpenAI Service. The chatbot must answer questions based on internal documents stored in Azure Blob Storage. You need to implement a retrieval-augmented generation (RAG) solution. Which THREE components are required? (Select THREE.)

Select 3 answers
A.Azure Functions for preprocessing
B.Azure AI Search index
C.Azure OpenAI On Your Data configuration
D.Azure SQL Database for metadata
E.Embedding model deployment in Azure OpenAI
AnswersB, C, E

Stores embeddings and enables vector search.

Why this answer

Azure AI Search is the core indexing and retrieval engine in a RAG solution. It ingests documents from Azure Blob Storage, creates a searchable index, and enables vector or hybrid search to retrieve relevant chunks. The chatbot then uses these retrieved chunks as context for the Azure OpenAI model to generate grounded answers.

Exam trap

The trap here is that candidates often confuse optional preprocessing components (like Azure Functions) or auxiliary storage (like Azure SQL Database) as mandatory, when the three essential pillars are the search index, the embedding model, and the Azure OpenAI On Your Data integration that ties retrieval to generation.

701
MCQmedium

A company uses Azure Form Recognizer to extract data from invoices. The extracted data contains many errors for a specific vendor's invoices. What should they do?

A.Use a different prebuilt model.
B.Disable the OCR step.
C.Increase the confidence threshold.
D.Custom train a model with labeled examples of that vendor's invoices.
AnswerD

Custom model learns vendor-specific layouts.

Why this answer

Azure Form Recognizer's prebuilt invoice model may not generalize well to vendor-specific layouts or data formats. By custom training a model with labeled examples of that vendor's invoices, you adapt the extraction to the unique fields, tables, and formatting, significantly reducing errors. This leverages the service's supervised learning capability to improve accuracy for domain-specific documents.

Exam trap

The trap here is that candidates assume increasing the confidence threshold (Option C) will fix extraction errors, but it only filters results rather than improving the underlying model's accuracy for vendor-specific formats.

How to eliminate wrong answers

Option A is wrong because using a different prebuilt model (e.g., from receipt to invoice) would not address vendor-specific variations; all prebuilt models are trained on generic datasets and lack customization for a single vendor's patterns. Option B is wrong because disabling the OCR step would prevent text extraction entirely, making data capture impossible; OCR is a foundational step in Form Recognizer's pipeline. Option C is wrong because increasing the confidence threshold only filters out low-confidence results, it does not correct extraction errors; it may reduce false positives but will not improve the model's ability to correctly parse vendor-specific fields.

702
MCQhard

You are a machine learning engineer at a large retail company. The company has thousands of product descriptions that need to be updated regularly. They currently use a manual process. You propose using Azure OpenAI to generate new descriptions based on product attributes. You have a dataset of existing product descriptions and attributes stored in an Azure SQL Database. The solution must be cost-effective, scalable, and must not require retraining the model. You need to design the solution. You have the following options: Option A: Use Azure OpenAI with few-shot learning by including examples in the prompt for each product. Deploy the model on an Azure Kubernetes Service (AKS) cluster for high throughput. Option B: Use Azure OpenAI with prompt templates that include product attributes and call the API for each product. Use Azure Logic Apps to orchestrate the workflow and store results back to Azure SQL Database. Option C: Fine-tune a custom model on the existing product descriptions and deploy it as a managed endpoint. Use Azure Data Factory to batch process all products. Option D: Use Azure OpenAI with the batch API to generate descriptions for all products at once, using a single prompt that lists all products and attributes. Store the batch output in Azure Blob Storage and then import into Azure SQL Database. Which option should you choose?

A.Option C
B.Option D
C.Option A
D.Option B
AnswerD

Prompt templates with attributes are cost-effective and scalable.

Why this answer

(Azure Logic Apps) is the correct choice. It uses Azure OpenAI with prompt templates that insert product attributes, making individual API calls per product. This approach is scalable because Azure Logic Apps can handle high volumes with built-in retry and concurrency, and it is cost-effective as you only pay per API call and execution.

It does not require model retraining. In contrast, Option A (AKS) introduces unnecessary infrastructure complexity; Option C (fine-tuning) requires retraining; and Option D (batch API) risks exceeding prompt size limits and is less suitable for incremental updates.

Exam trap

The trap is that candidates may mistakenly choose Option A (AKS) thinking it provides better scalability, Option C (fine-tuning) for customization, or Option D (batch API) for efficiency, but they overlook that Option B (Azure Logic Apps) offers the right balance of cost-effectiveness, scalability, and no retraining for incremental updates.

How to eliminate wrong answers

Option A is wrong because few-shot learning with examples in the prompt for each product is not cost-effective for thousands of products—it increases token usage and latency, and deploying on AKS adds unnecessary infrastructure complexity without addressing the need for batch processing. Option B is wrong because using Azure Logic Apps to call the API for each product individually is not scalable for thousands of products—it would result in high latency, cost, and potential throttling, and it does not leverage batch processing for efficiency. Option C is wrong because fine-tuning a custom model requires retraining, which violates the requirement that the solution must not require retraining the model, and deploying as a managed endpoint adds ongoing cost and complexity.

703
MCQmedium

You deploy a custom vision model for defect detection on a manufacturing line. The model runs on an Azure IoT Edge device. You notice that inference latency is too high for real-time detection. Which action should you take to reduce latency?

A.Move inference to Azure Functions in the cloud
B.Convert the model to TensorFlow and use the Azure IoT Edge Deep Learning module with hardware acceleration
C.Retrain the model with more defect images
D.Increase the resolution of input images
AnswerB

Hardware acceleration reduces inference time.

Why this answer

Converting the model to TensorFlow enables compatibility with the Azure IoT Edge Deep Learning module, which can leverage hardware acceleration (e.g., Intel Movidius or NVIDIA GPUs) to significantly reduce inference latency. This approach keeps inference on the edge device, avoiding network round-trips, and optimizes the model for real-time defect detection.

Exam trap

The trap here is that candidates often assume cloud-based inference (Option A) is faster due to powerful cloud GPUs, but they overlook the added network latency and the requirement for real-time edge processing in IoT scenarios.

How to eliminate wrong answers

Option A is wrong because moving inference to Azure Functions in the cloud introduces network latency and dependency on connectivity, which would increase overall latency rather than reduce it for real-time edge scenarios. Option C is wrong because retraining the model with more defect images improves accuracy but does not directly address inference latency; it may even increase model size and computational cost. Option D is wrong because increasing the resolution of input images increases the number of pixels to process, which typically raises inference time and latency, counteracting the goal of reducing latency.

704
MCQmedium

Your organization uses Microsoft Syntex to automatically classify and extract metadata from documents stored in SharePoint. You need to extend this capability to also extract entities such as invoice numbers and dates from PDF invoices that are uploaded to SharePoint. What should you do?

A.Create a custom entity extraction model in Syntex using AI Builder.
B.Integrate Azure AI Search with SharePoint to extract entities.
C.Use Power Automate with AI Builder to extract entities from invoices.
D.Create a document understanding model in Syntex that extracts entities from invoices.
AnswerD

Syntex document understanding models can extract custom entities.

Why this answer

Microsoft Syntex document understanding models can classify documents and extract entities such as invoice numbers and dates. Option A is incorrect because Syntex does not use AI Builder's out-of-the-box entity extraction; it uses its own model training. Option B is incorrect because Azure AI Search is a search service, not an entity extraction service integrated with Syntex.

Option C is incorrect because Power Automate with AI Builder is a separate workflow automation approach, not part of Syntex. Therefore, option D is correct: create a document understanding model in Syntex that extracts entities from invoices.

705
MCQeasy

You are building a knowledge mining solution to extract key information from handwritten forms. The forms contain checkboxes, signatures, and handwritten text. Which Azure AI service should you use?

A.Azure AI Language
B.Azure AI Speech
C.Azure AI Vision OCR
D.Azure AI Document Intelligence layout model
AnswerD

The layout model extracts checkboxes, signatures, and handwritten text from forms.

Why this answer

Azure AI Document Intelligence's layout model is designed to extract text, tables, checkboxes, signatures, and structure from documents, including handwritten forms. It combines OCR with deep learning models to understand the spatial relationships between elements, making it the correct choice for this scenario.

Exam trap

The trap here is that candidates often confuse Azure AI Vision OCR (which handles printed text) with Document Intelligence's layout model (which handles handwritten text, checkboxes, and signatures), leading them to choose option C incorrectly.

How to eliminate wrong answers

Option A is wrong because Azure AI Language focuses on text analytics (e.g., sentiment, key phrase extraction, entity recognition) and does not process images or handwritten content. Option B is wrong because Azure AI Speech handles audio-to-text transcription and speech recognition, not visual document analysis. Option C is wrong because Azure AI Vision OCR extracts printed text from images but lacks native support for detecting checkboxes, signatures, and the layout structure of forms.

706
MCQhard

You are building an agentic solution using Microsoft Semantic Kernel. The agent must autonomously decide when to call an external API to fetch real-time data. You want to minimize token usage and avoid unnecessary API calls. Which planner configuration should you use?

A.Use a SequentialPlanner with a stepwise strategy and explicit function parameter constraints
B.Use a ManualInvoke kernel with a sequential planner
C.Use a ParallelPlanner with a function-calling model
D.Use an AutoInvoke kernel with a greedy action planner
AnswerD

Greedy planning may invoke APIs unnecessarily.

Why this answer

An AutoInvoke kernel with a greedy action planner enables the agent to make step-by-step decisions about which function to invoke next based on the immediate context. This minimizes token consumption by forgoing exhaustive plan generation and only triggering the external API when the current step requires it. In contrast, SequentialPlanner generates a complete plan upfront, potentially including unnecessary API calls, and manual or parallel planners either lack autonomy or increase token overhead.

Exam trap

Candidates may confuse autonomous runtime decision-making with pre-generated plans or automatic invocation of all functions. Options that rely on SequentialPlanner or ParallelPlanner either lack the ability to decide at each step or consume more tokens by executing unnecessary calls.

How to eliminate wrong answers

Option B is wrong because ManualInvoke kernel requires explicit user invocation for each function call, which contradicts the requirement for autonomous decision-making. Option C is wrong because ParallelPlanner attempts to execute multiple functions concurrently, which can lead to unnecessary API calls and higher token usage due to parallel execution without sequential dependency evaluation. Option D is wrong because AutoInvoke kernel with a greedy action planner automatically invokes all available functions without considering necessity, leading to excessive API calls and token consumption.

707
MCQeasy

You are building a solution to extract key phrases from customer reviews using Azure AI Language. Which feature should you use?

A.Sentiment Analysis
B.Language Detection
C.Key Phrase Extraction
D.Named Entity Recognition
AnswerC

Key Phrase Extraction extracts key phrases from text.

Why this answer

Key Phrase Extraction is the correct feature because it is specifically designed to identify and return the main talking points or important terms from unstructured text, such as customer reviews. Azure AI Language's Key Phrase Extraction API analyzes the text structure and linguistic patterns to surface the most relevant phrases, which directly addresses the requirement to extract key phrases from reviews.

Exam trap

The trap here is that candidates often confuse Named Entity Recognition with Key Phrase Extraction, because both involve identifying important words, but NER is strictly for predefined entity types (e.g., person, location) while Key Phrase Extraction captures any salient topic or concept from the text.

How to eliminate wrong answers

Option A is wrong because Sentiment Analysis evaluates the emotional tone (positive, negative, neutral) of text, not the extraction of key phrases. Option B is wrong because Language Detection identifies the language in which the text is written (e.g., English, Spanish), not the key phrases within it. Option D is wrong because Named Entity Recognition identifies and categorizes entities like people, organizations, locations, and dates, but does not extract general key phrases or talking points from the text.

708
MCQhard

You are a data scientist at a healthcare company. You have deployed a GPT-4 model using Azure OpenAI to answer patient inquiries about medical conditions. The model is configured with temperature=0.3 and max_tokens=200. Recently, the compliance team flagged that some responses contain contradictory information compared to the official medical guidelines. You need to ensure the model's answers align strictly with the provided medical documents (stored as PDFs in Azure Blob Storage). You have access to Azure Cognitive Search and Azure AI Document Intelligence. The solution must minimize hallucinations and not require retraining the model. What should you do?

A.Use prompt engineering to add a system message that tells the model to only answer based on the uploaded PDFs. Keep the current deployment.
B.Index the medical PDFs into Azure Cognitive Search. Configure the Azure OpenAI deployment to use 'Add your data' pointing to this index. Set the system message to instruct the model to base answers only on the retrieved context.
C.Fine-tune GPT-4 on the medical documents using Azure OpenAI fine-tuning capabilities. Use the fine-tuned model for the chatbot.
D.Deploy Azure AI Content Safety to filter responses that contradict guidelines. Set up a custom content filter using a list of approved phrases.
AnswerB

This RAG approach grounds the model in the documents, reducing hallucinations and ensuring alignment with guidelines.

Why this answer

It uses Azure Cognitive Search to index the medical PDFs and then configures the Azure OpenAI deployment with 'Add your data' to retrieve relevant context from that index at inference time. This retrieval-augmented generation (RAG) approach grounds the model's answers in the official documents without retraining, directly addressing the compliance team's requirement to align responses with the provided guidelines and minimize hallucinations.

Exam trap

Microsoft often tests the distinction between prompt engineering (which is lightweight but unreliable for grounding) and RAG with a search index (which provides verifiable, document-grounded responses), leading candidates to choose the simpler prompt-only solution without considering its inability to enforce factual accuracy.

How to eliminate wrong answers

Option A is wrong because prompt engineering alone cannot guarantee that the model will only use the uploaded PDFs; the model's internal knowledge may still produce contradictory information, and there is no mechanism to enforce retrieval of the actual document content. Option C is wrong because fine-tuning GPT-4 on the medical documents would require retraining the model, which contradicts the requirement to not retrain, and fine-tuning does not inherently prevent hallucinations when the model encounters out-of-distribution queries. Option D is wrong because Azure AI Content Safety with a custom filter of approved phrases is a post-hoc filtering approach that cannot ensure the model's responses are grounded in the specific PDFs; it would only block or flag responses that match a predefined list, not align answers with dynamic document content.

709
MCQhard

A healthcare organization is deploying an Azure AI Document Intelligence solution to extract medical record data. The solution must comply with HIPAA and process sensitive patient data. The data must be encrypted at rest and in transit, and access must be audited. The solution will be used by multiple departments, each requiring different levels of access. Which combination of Azure services should the architect recommend?

A.Azure AI Document Intelligence with public endpoint, Azure AD authentication, and Azure Storage with customer-managed keys (CMK).
B.Azure AI Document Intelligence with public endpoint, Azure AD authentication, and Azure Storage with encryption at rest using Microsoft-managed keys.
C.Azure AI Document Intelligence with private endpoints, managed identity authentication, Azure Storage with customer-managed keys (CMK), and Azure RBAC for access control.
D.Azure AI Document Intelligence with service endpoints, shared access signature (SAS) tokens, and Azure Storage with encryption at rest using Microsoft-managed keys.
AnswerC

Private endpoints secure data in transit, managed identities avoid keys, CMK provides encryption control, and RBAC enables granular access.

Why this answer

It ensures HIPAA compliance by using private endpoints to keep traffic within the Azure backbone network, managed identity for secure authentication without storing credentials, customer-managed keys (CMK) for encryption at rest with full control over key rotation, and Azure RBAC to enforce least-privilege access across departments. This combination addresses encryption in transit (private endpoint + HTTPS), encryption at rest (CMK), and audited access (RBAC + Azure Monitor).

Exam trap

The trap here is that candidates often choose a public endpoint with Azure AD authentication (Option A or B) thinking it is secure enough, but HIPAA requires network-level isolation (private endpoints) for protected health information, not just authentication.

How to eliminate wrong answers

Option A is wrong because a public endpoint exposes the service to the internet, violating HIPAA's requirement to minimize attack surface for sensitive patient data. Option B is wrong because Microsoft-managed keys do not provide the customer-controlled encryption at rest required by many HIPAA compliance frameworks, and the public endpoint again fails security best practices. Option D is wrong because service endpoints are less secure than private endpoints (traffic still traverses the Microsoft network but not a private IP), SAS tokens can be leaked and do not support fine-grained RBAC, and Microsoft-managed keys lack customer control over encryption.

710
MCQmedium

You are troubleshooting an Azure AI Search indexer that fails to index a PDF file stored in Azure Blob Storage. The error message indicates that the document is encrypted. What is the most likely cause and solution?

A.The indexer is not configured with the PDF parser; set the parsing mode
B.The file format is unsupported; convert to PDF/A
C.The file is too large; split it into smaller parts
D.The PDF is encrypted; remove encryption before indexing
AnswerD

Encrypted documents cannot be processed; decryption is required.

Why this answer

Azure AI Search cannot index encrypted documents; the solution is to remove encryption before indexing. Option A is incorrect: the indexer does not require a specific PDF parser; it can index PDFs by default with the appropriate skillset. Option B is incorrect: unsupported file formats would generate a different error, and encryption is not a format issue.

Option C is incorrect: file size limits exist (up to 16 MB for PDFs), but the error specifically mentions encryption, not size.

711
MCQmedium

You deploy a chat application using Azure OpenAI Service. Users report that the model sometimes generates inappropriate content. You need to implement a safety system that can be customized for your organization's policies. What should you use?

A.Use the content filter system in Azure OpenAI Studio
B.Use Azure AI Content Safety with custom categories and severity thresholds
C.Apply responsible AI templates from Azure AI Studio
D.Configure Microsoft Entra ID Conditional Access policies
AnswerB

Customizable filters align with organizational policies.

Why this answer

Azure AI Content Safety provides a customizable content moderation service that allows you to define custom categories and severity thresholds aligned with your organization's specific policies. This enables you to filter inappropriate content beyond the default filters, giving you granular control over what the model generates.

Exam trap

The trap here is that candidates often confuse the built-in content filters in Azure OpenAI Studio (which are not customizable) with Azure AI Content Safety (which is a separate, customizable service), leading them to choose option A.

How to eliminate wrong answers

Option A is wrong because the content filter system in Azure OpenAI Studio provides only predefined content categories (e.g., hate, violence) with fixed severity levels, and cannot be customized to match an organization's unique policies. Option C is wrong because responsible AI templates in Azure AI Studio are design patterns and guidelines for building ethical AI, not a runtime content safety system that can filter generated outputs. Option D is wrong because Microsoft Entra ID Conditional Access policies control authentication and access to resources, not the content generated by the AI model.

712
MCQmedium

Your organization is implementing a knowledge mining solution for a research institute that needs to extract chemical compound names and reactions from scientific articles in PDF format. The solution must use a custom model because the scientific terminology is not covered by built-in skills. You have trained a custom model using Azure AI Language's custom entity recognition (NER) and deployed it as a REST endpoint. You are using Azure AI Search with a skillset. How should you integrate the custom NER model into the enrichment pipeline?

A.Create a custom skill that calls the custom NER endpoint and map the output to the index fields.
B.Use a Language Understanding (LUIS) app to extract entities and call it from a custom skill.
C.Use the built-in Entity Recognition skill and configure it with your custom model's endpoint.
D.Configure the indexer to call the custom NER endpoint directly during indexing.
AnswerA

Custom skills allow integration with any REST API, including custom NER.

Why this answer

Custom NER models must be integrated into the enrichment pipeline via a custom skill that calls the model's REST endpoint and maps the extracted entities to index fields. Built-in Entity Recognition skills cannot use custom models (so C is wrong). LUIS is designed for language understanding, not custom NER (so B is wrong).

Indexers cannot directly call external APIs; they rely on skills in the skillset (so D is wrong).

713
MCQeasy

You need to enrich documents with key phrases and sentiment before indexing into Azure AI Search. Which type of skill should you use?

A.Entity Recognition skill
B.Document Extraction skill
C.Custom Web API skill
D.Cognitive Services skill
AnswerD

This skill allows you to call Azure AI Language APIs for key phrases and sentiment.

Why this answer

Key phrase extraction and sentiment analysis are cognitive skills available in the Azure AI Language service. The Cognitive Services skill references a Cognitive Services resource that provides these capabilities.

714
MCQeasy

You need to provide a team of data scientists with access to an Azure Machine Learning workspace. The data scientists should be able to create and run experiments, but they should not be able to delete the workspace or modify its configuration. Which built-in role should you assign?

A.Contributor
B.Reader
C.User Access Administrator
D.Owner
AnswerA

Contributor can manage resources but not delete the workspace or assign roles.

Why this answer

The Contributor role allows creating and managing resources within the workspace, including experiments, but not deleting the workspace or modifying its configuration. Option B is wrong because Reader is read-only and cannot create experiments. Option C is wrong because User Access Administrator primarily manages user access and permissions, not resource creation.

Option D is wrong because Owner grants full control, including the ability to delete the workspace and modify its configuration.

715
MCQhard

You are designing a generative AI solution that uses Azure OpenAI GPT-4 to answer customer support questions. The solution must comply with Microsoft's Responsible AI principles, particularly transparency and accountability. Which implementation approach best meets these requirements?

A.Use the model without any modifications, and have a human review all responses.
B.Fine-tune the model on a curated dataset of support tickets and disable content filtering.
C.Enable content filtering, log all interactions, and include a disclaimer that responses are AI-generated.
D.Use the default model deployment and rely on the model's inherent safety.
AnswerC

Content filtering, logging, and disclaimers address transparency and accountability.

Why this answer

It directly addresses Microsoft's Responsible AI principles of transparency and accountability. Enabling content filtering (via Azure AI Content Safety) ensures harmful outputs are blocked, logging all interactions provides an audit trail for accountability, and including a disclaimer that responses are AI-generated satisfies transparency by clearly informing users they are interacting with an AI system.

Exam trap

The trap here is that candidates assume human review (Option A) or model fine-tuning (Option B) alone satisfy Responsible AI principles, but Microsoft explicitly requires automated content filtering, logging, and transparency disclaimers as part of a comprehensive compliance strategy.

How to eliminate wrong answers

Option A is wrong because using the model without modifications fails to implement content filtering or logging, leaving the solution non-compliant with accountability and safety requirements; human review alone is insufficient for real-time compliance and does not provide automated transparency. Option B is wrong because disabling content filtering violates safety principles, and fine-tuning on a curated dataset does not guarantee compliance with transparency or accountability; it also risks overfitting or introducing bias without proper oversight. Option D is wrong because relying solely on the model's inherent safety is insufficient; Azure OpenAI's default deployment does not enforce logging or disclaimers, and the model can still produce harmful or non-transparent outputs without explicit content filtering and audit mechanisms.

716
MCQhard

An organization is deploying a conversational AI solution using Azure OpenAI. They want to ensure the model's responses are grounded in their own knowledge base documents to reduce hallucinations. Which approach should they implement?

A.Integrate Azure Cognitive Search for retrieval-augmented generation (RAG)
B.Fine-tune the model on the knowledge base documents
C.Implement Azure AI Content Safety filters
D.Use prompt engineering to instruct the model to only use the knowledge base
AnswerA

RAG with Cognitive Search grounds responses in retrieved documents, reducing hallucinations.

Why this answer

Retrieval-Augmented Generation (RAG) with Azure Cognitive Search allows the model to dynamically retrieve relevant chunks from the organization's knowledge base documents at inference time. This grounds responses in authoritative, up-to-date content, directly reducing hallucinations by providing factual context rather than relying solely on the model's parametric memory.

Exam trap

The trap here is that candidates often confuse fine-tuning (B) as a way to 'teach' the model the knowledge base, not realizing that RAG is the recommended pattern for grounding responses in external, query-specific data without retraining.

How to eliminate wrong answers

Option B is wrong because fine-tuning adjusts the model's weights on a static dataset, which can lead to overfitting and does not guarantee that the model will reference the knowledge base for every query; it also fails to incorporate new or updated documents without retraining. Option C is wrong because Azure AI Content Safety filters only block harmful or inappropriate content after generation; they do not provide factual grounding or reduce hallucinations. Option D is wrong because prompt engineering alone cannot enforce factual adherence; the model may still generate plausible-sounding but incorrect information from its training data, as it lacks a retrieval mechanism to verify claims against the knowledge base.

717
MCQmedium

You deploy an Azure AI Services resource using the ARM template shown in the exhibit. You need to test the Language service API from your local machine. What should you do first?

A.Configure a managed identity for the resource
B.Add your public IP address to the ipRules array in the networkAcls
C.Change the defaultAction to Allow
D.Use Azure CLI to enable the resource
AnswerB

This allows your IP to access the resource.

Why this answer

The ARM template in the exhibit sets `defaultAction` to `Deny`, which blocks all traffic not explicitly allowed by the `ipRules` array. To test the Language service API from your local machine, you must add your public IP address to the `ipRules` array so that the resource's network firewall permits inbound requests from your IP. Without this step, all API calls from your local machine will be rejected with a 403 Forbidden error.

Exam trap

The trap here is that candidates assume changing `defaultAction` to `Allow` is the simplest fix, but the question tests understanding that the resource is already deployed and the firewall is blocking traffic—so the correct first step is to explicitly permit your specific IP, not to open the resource to the entire internet.

How to eliminate wrong answers

Option A is wrong because configuring a managed identity is used for authenticating Azure resources to each other (e.g., allowing a VM to access the Language service without keys), but it does not bypass the network firewall; the IP-based access control must still allow the request. Option C is wrong because changing `defaultAction` to `Allow` would open the resource to all internet traffic, which is a security risk and not the minimal required step; the question asks what you should do first, and adding your specific IP is the correct, least-privilege approach. Option D is wrong because using Azure CLI to enable the resource is unnecessary—the resource is already deployed and enabled via the ARM template; the issue is network access control, not resource provisioning.

718
Multi-Selectmedium

You are planning an Azure AI solution that uses Azure AI Search with semantic ranker and a custom skill. The solution must meet the following requirements: - Process documents in multiple languages (English, Spanish, French). - Use a custom skill to extract entities via an Azure Function. - Ensure that the indexer can resume from failures. Which TWO actions should you include in your plan?

Select 2 answers
A.Generate a data change detection policy on the data source.
B.Configure separate indexer data sources for each language.
C.Set the indexer property 'failOnUnprocessedDocuments' to false.
D.Set the indexer property 'maxFailedItems' to a high value.
E.Enable Azure Monitor logs for the indexer to track failures.
AnswersA, C

A change detection policy allows the indexer to identify new/modified documents and resume from the last successful checkpoint.

Why this answer

A data change detection policy (e.g., HighWaterMarkChangeDetectionPolicy or SqlIntegratedChangeTrackingPolicy) enables the indexer to track which documents have been modified or added. This allows the indexer to resume from failures by reprocessing only the changed or unprocessed documents, rather than starting over from scratch. Without this policy, a failure would require a full reindex, which is inefficient and violates the requirement to resume from failures.

Exam trap

The trap here is that candidates often confuse 'maxFailedItems' with a resume mechanism, but it only controls the tolerance for failures during a single run, not the ability to resume after a failure; the correct approach is to combine a change detection policy with 'failOnUnprocessedDocuments' set to false.

719
Multi-Selecthard

You are deploying a generative AI model using Azure AI Foundry. The model must be accessible only from a specific virtual network. Additionally, you need to monitor all API calls for auditing. Which two configurations are required? (Choose two.)

Select 2 answers
A.Enable diagnostic settings to send logs to a Log Analytics workspace.
B.Assign a managed identity to the model deployment.
C.Enable public network access from selected IP addresses.
D.Disable public network access and configure a private endpoint.
E.Configure CORS to allow only the VNet's domain.
AnswersA, D

Logs enable auditing of all API calls.

Why this answer

Enabling diagnostic settings to send logs to a Log Analytics workspace captures all API call details (e.g., request URI, response status, caller IP) for auditing and monitoring. This is the standard Azure method for collecting resource-level logs, and it works with Azure AI Foundry deployments to meet compliance and security requirements.

Exam trap

The trap here is that candidates confuse network access controls (private endpoints) with authentication mechanisms (managed identities) or browser-level restrictions (CORS), leading them to select B or E instead of the correct pairing of D and A.

720
MCQeasy

You need to detect if a photo contains adult or racy content. Which Azure AI Computer Vision feature should you use?

A.Describe Image API
B.OCR API
C.Analyze Image API with the 'adult' parameter
D.Tag Image API
AnswerC

This parameter enables adult content detection.

Why this answer

The Analyze Image API with the 'adult' parameter is the correct feature because it specifically detects adult, racy, and gory content in images. When you call the Analyze Image API and include the 'adult' visual feature, Azure AI Computer Vision returns a boolean flag and a confidence score for adult and racy content classification, enabling content moderation.

Exam trap

The trap here is that candidates often confuse the Tag Image API's generic object tagging with the specialized adult content detection feature, assuming tags like 'swimsuit' or 'underwear' would suffice, but only the Analyze Image API with the 'adult' parameter provides the explicit moderation scores required by the question.

How to eliminate wrong answers

Option A is wrong because the Describe Image API generates human-readable captions summarizing the image content, but it does not provide explicit adult/racy content detection or confidence scores. Option B is wrong because the OCR API extracts printed or handwritten text from images, and has no capability to analyze visual content for adult or racy themes. Option D is wrong because the Tag Image API returns a list of content tags (e.g., 'person', 'tree') based on objects and actions, but it does not include a dedicated adult/racy content moderation feature.

721
MCQhard

Your company uses Azure OpenAI Service to generate product descriptions. You need to reduce costs while maintaining response quality for common requests. What should you implement?

A.Use a smaller model variant (e.g., GPT-3.5 instead of GPT-4).
B.Batch multiple requests into a single API call.
C.Enable semantic caching to reuse responses for similar prompts.
D.Reduce the max_tokens parameter for all requests.
AnswerC

Caching reduces costs without sacrificing quality for common requests.

Why this answer

Semantic caching stores responses for semantically similar prompts, allowing Azure OpenAI Service to return cached results for common requests without incurring per-token inference costs. This directly reduces costs while preserving response quality, as the cached responses are identical to what the model would generate. Unlike other options, it avoids degrading output quality or requiring architectural changes.

Exam trap

The trap here is that candidates confuse semantic caching with simple request caching or assume batching is supported, overlooking that semantic caching specifically reuses responses for similar prompts without degrading quality, while other options either reduce quality or are technically infeasible.

How to eliminate wrong answers

Option A is wrong because using a smaller model variant (e.g., GPT-3.5 instead of GPT-4) reduces response quality and capability, contradicting the requirement to maintain response quality. Option B is wrong because Azure OpenAI Service does not support batching multiple requests into a single API call; each request is processed independently, and batching would require custom orchestration without cost savings. Option D is wrong because reducing max_tokens for all requests truncates responses, degrading quality for common requests that may require longer outputs, and does not address cost reduction for repeated or similar prompts.

722
MCQhard

You are using Azure AI Language to analyze medical records. The built-in NER model does not recognize some medical terms. What should you do?

A.Use the Text Analytics for Health feature
B.Use Entity Linking
C.Use Custom Text Classification
D.Train a custom NER model using Azure AI Language
AnswerD

Custom NER can be trained on your specific medical terms.

Why this answer

Custom NER allows training a model on your specific terms. Text Analytics for Health is a specialized built-in model for healthcare but may not cover all custom terms. Custom Text Classification is for document classification.

Entity Linking disambiguates to a knowledge base.

723
MCQhard

You are deploying a Custom Vision model to a production environment. The model must handle 100 predictions per second with low latency. Which deployment option should you choose?

A.Use the Free tier prediction endpoint.
B.Export the model as a Docker container and run it on Azure Container Instances.
C.Use the Training API to make predictions.
D.Use a paid tier prediction endpoint with sufficient capacity.
AnswerD

Provides dedicated resources for high throughput.

Why this answer

A paid tier prediction endpoint in Azure Custom Vision is designed to handle production-scale workloads with dedicated compute resources, supporting up to 100 predictions per second with low latency. The Free tier is rate-limited and cannot sustain this throughput, while exporting as a Docker container introduces additional overhead and scaling complexity that may not guarantee the required latency or throughput without manual orchestration.

Exam trap

The trap here is that candidates may assume exporting a model as a Docker container (Option B) is always the best for performance, but they overlook the operational overhead and lack of built-in scaling for high-throughput cloud predictions, whereas the paid endpoint is optimized for exactly this scenario.

How to eliminate wrong answers

Option A is wrong because the Free tier prediction endpoint is rate-limited to 20 predictions per minute and cannot handle 100 predictions per second. Option B is wrong because exporting the model as a Docker container and running it on Azure Container Instances requires manual scaling and does not provide built-in load balancing or guaranteed low latency for high-throughput production workloads; it is better suited for offline or edge scenarios. Option C is wrong because the Training API is used for training and managing models, not for making real-time predictions; using it for predictions would be inefficient and unsupported.

724
MCQmedium

Refer to the exhibit. You have an Azure AI Language resource named MyLangService. You need to call the conversational language understanding (CLU) API. Which URL should you use?

A.https://mylangservice.cognitiveservices.azure.com/text/analytics/v3.0/sentiment
B.https://mylangservice.cognitiveservices.azure.com/language/analyze-conversations?api-version=2022-10-01-preview
C.https://mylangservice.cognitiveservices.azure.com/language/:analyze-conversations?api-version=2022-10-01-preview
D.https://mylangservice.cognitiveservices.azure.com/
AnswerC

This is the exact CLU endpoint shown in the exhibit.

Why this answer

The conversational language understanding (CLU) API endpoint requires the `/language/:analyze-conversations` path with a colon prefix before the operation name, which is the correct syntax for the Azure AI Language REST API. The `api-version=2022-10-01-preview` parameter is required to specify the preview version that supports CLU. This URL structure targets the analyze-conversations operation specifically for CLU, not the general text analytics or root endpoint.

Exam trap

The trap here is that candidates often confuse the general `/language/analyze-conversations` path (without the colon) with the correct syntax, or they mistakenly use the Text Analytics sentiment endpoint because they think CLU is part of the older Text Analytics API.

How to eliminate wrong answers

Option A is wrong because it uses the `/text/analytics/v3.0/sentiment` path, which is the endpoint for sentiment analysis in the Text Analytics API, not for conversational language understanding (CLU). Option B is wrong because it uses `/language/analyze-conversations` without the colon prefix before `analyze-conversations`, which is syntactically incorrect for the Azure AI Language REST API; the correct syntax requires a colon (`:`) before the operation name. Option D is wrong because it points to the root endpoint of the Cognitive Services resource, which does not include any specific operation path or API version, and thus cannot invoke the CLU API.

725
MCQmedium

Your company uses Microsoft 365 Copilot to generate meeting summaries. Some users report that summaries include information from meetings they did not attend. What is the most likely cause?

A.The meeting organizer granted everyone in the organization view access.
B.Users have access to meeting artifacts via shared calendars or transcripts.
C.Copilot is using Bing search results to augment summaries.
D.Copilot is incorrectly configured to ignore meeting permissions.
AnswerB

Copilot uses data the user can access.

Why this answer

Microsoft 365 Copilot generates meeting summaries by aggregating content from meeting artifacts such as transcripts, recordings, and shared calendars. If a user has access to a meeting's transcript or recording (e.g., via a shared calendar or because the meeting was recorded and stored in a location the user can access), Copilot can include that meeting's information in summaries even if the user did not attend. This behavior is by design, as Copilot respects existing permissions on the underlying data.

Exam trap

The trap here is that candidates often assume Copilot uses meeting attendance or organizer permissions to filter summaries, when in fact it relies on the underlying permissions of the meeting's artifacts (transcripts, recordings, calendar items), which can be broader than the attendee list.

How to eliminate wrong answers

Option A is wrong because granting everyone view access to a meeting would allow users to see the meeting details, but Copilot does not automatically include meetings in summaries based solely on view access; it requires access to the meeting's artifacts like transcripts or recordings. Option C is wrong because Copilot does not use Bing search results to augment meeting summaries; it relies on the user's Microsoft Graph data and permissions, not external web searches. Option D is wrong because there is no configuration setting in Copilot to 'ignore meeting permissions'; Copilot strictly adheres to the permissions set on the meeting artifacts and does not have a mode that bypasses them.

726
MCQmedium

Your organization is building a chatbot using Azure OpenAI Service. The chatbot must provide citations from a set of internal documents stored in Azure Blob Storage. You need to configure the solution to minimize token usage while ensuring citations are accurate. Which approach should you use?

A.Embed all document content into the system prompt
B.Fine-tune a model on the documents so it can recall them from memory
C.Use a large context window model (e.g., 32K) and include all documents in the prompt
D.Use Azure OpenAI on your data with Azure Cognitive Search for hybrid retrieval
AnswerD

Hybrid retrieval reduces token usage by fetching only relevant chunks.

Why this answer

Azure OpenAI on your data with Azure Cognitive Search for hybrid retrieval combines vector search and keyword search to efficiently find relevant document chunks from Azure Blob Storage, minimizing token usage by only sending the most pertinent content to the model for citation generation. This approach ensures accurate citations without embedding all documents into the prompt or relying on model memory.

Exam trap

The trap here is that candidates often confuse fine-tuning with retrieval-augmented generation (RAG), assuming fine-tuning can store factual knowledge for citation, when in reality RAG with a search index is required for accurate, token-efficient document grounding.

How to eliminate wrong answers

Option A is wrong because embedding all document content into the system prompt would consume an enormous number of tokens, exceeding context limits and incurring high costs, while also being impractical for large document sets. Option B is wrong because fine-tuning a model on documents does not enable it to recall specific citations accurately; fine-tuning adjusts model behavior but does not store document content for retrieval, leading to hallucinations or incorrect references. Option C is wrong because using a large context window model (e.g., 32K) and including all documents in the prompt still wastes tokens on irrelevant content, increases latency and cost, and does not guarantee accurate citations as the model may lose focus on the specific source material.

727
MCQmedium

You are using Azure OpenAI to generate product descriptions. You notice that the descriptions are often too similar to each other. Which parameter should you adjust to increase diversity?

A.Increase the temperature value.
B.Decrease the top_p value.
C.Increase the max_tokens value.
D.Increase the frequency_penalty value.
AnswerA

Higher temperature increases randomness, leading to more diverse outputs.

Why this answer

Increasing the temperature parameter makes the model more creative by raising the probability of sampling lower-probability tokens, which increases diversity in the generated text. A higher temperature (e.g., 0.9) flattens the probability distribution, so the model is less likely to always pick the most probable next word, resulting in more varied outputs.

Exam trap

Microsoft often tests the distinction between temperature (which controls randomness/creativity) and frequency_penalty (which controls repetition), leading candidates to mistakenly choose frequency_penalty when the question asks for diversity in content rather than just avoiding repetition.

How to eliminate wrong answers

Option B is wrong because decreasing top_p (nucleus sampling) reduces the cumulative probability mass considered for token selection, which actually makes outputs less diverse by focusing only on the most likely tokens. Option C is wrong because increasing max_tokens only extends the maximum length of the generated response; it does not affect the randomness or diversity of token choices. Option D is wrong because increasing frequency_penalty reduces the likelihood of repeating the same tokens or phrases, which can increase lexical diversity but does not directly control the overall creativity or randomness of the output like temperature does.

728
MCQmedium

You submit the request shown in the exhibit to the Azure AI Language service. What will the response contain?

A.Only extracted key phrases.
B.Entity recognition results and sentiment scores.
C.Both key phrases and sentiment scores.
D.Only sentiment scores.
AnswerC

Both tasks are included.

Why this answer

The exhibit shows a request to the Azure AI Language service with the `showStats` parameter set to `true` and the `opinionMining` parameter set to `true`. When `opinionMining` is enabled, the service returns both key phrases and sentiment scores (including aspect-based sentiment) for the analyzed text. Therefore, the response contains both key phrases and sentiment scores, making option C correct.

Exam trap

The trap here is that candidates may assume `opinionMining` only affects sentiment analysis and forget that the request also includes `keyPhrases: true`, leading them to incorrectly select option D (only sentiment scores) instead of recognizing that both key phrases and sentiment scores are returned.

How to eliminate wrong answers

Option A is wrong because the request includes `opinionMining: true`, which triggers sentiment analysis in addition to key phrase extraction, so the response is not limited to only extracted key phrases. Option B is wrong because while entity recognition results could be returned if `entityRecognition` were specified, the exhibit only shows `keyPhrases` and `sentiment` tasks; the response will include key phrases and sentiment scores, not entity recognition results. Option D is wrong because the request explicitly includes `keyPhrases: true`, so the response will contain key phrases in addition to sentiment scores.

729
Multi-Selecthard

You are building a document processing solution that extracts information from invoices. The invoices come in various formats and languages. You need to extract line items, totals, and supplier names. Which THREE services should you combine?

Select 3 answers
A.Azure AI Custom Vision
B.Azure AI Translator
C.Azure AI Content Safety
D.Azure AI Document Intelligence
E.Azure AI Vision OCR
AnswersB, D, E

Translates text if invoices are in multiple languages.

Why this answer

Azure AI Translator is correct because invoices arrive in various languages, and translating extracted text to a common language (e.g., English) is necessary for downstream processing like entity extraction and validation. Without translation, multilingual invoice data would be inconsistent or unprocessable by language-specific models.

Exam trap

The trap here is that candidates may mistakenly choose Azure AI Custom Vision for 'extracting' invoice data, confusing its image classification capabilities with the structured document extraction provided by Document Intelligence.

730
MCQeasy

Refer to the exhibit. An Azure Cognitive Services Computer Vision API call for image captioning is returning only one caption. The developer wants to get three possible captions ranked by confidence. Which parameter should be modified in the request?

A.Use a different API version, such as 2023-04-01.
B.Modify the URL to point to a different image.
C.Change the language parameter to 'multi'.
D.Set the maxCandidates value to 3.
AnswerD

maxCandidates defines how many captions the API returns.

Why this answer

The `maxCandidates` parameter in the Computer Vision Image Analysis API controls the maximum number of captions returned in the response. By default, this value is 1, so only the top-ranked caption is returned. Setting `maxCandidates=3` instructs the API to return up to three captions, each with its own confidence score, ranked from highest to lowest confidence.

Exam trap

The trap here is that candidates may confuse the `maxCandidates` parameter with other parameters like `language` or `details`, or assume that changing the API version or image source would increase the number of captions, when in fact the default behavior is to return only one caption unless explicitly overridden.

How to eliminate wrong answers

Option A is wrong because changing the API version (e.g., to 2023-04-01) does not affect the number of captions returned; the `maxCandidates` parameter is available across supported versions. Option B is wrong because pointing to a different image changes the input but does not alter the request parameter that controls the number of captions; the API would still return only one caption per image unless `maxCandidates` is set. Option C is wrong because the `language` parameter specifies the language of the returned text (e.g., 'en' for English), not the count of captions; 'multi' is not a valid language value for this API.

731
MCQmedium

A company builds a knowledge mining solution using Azure AI Search with a custom skillset that includes an OCR skill. They want to ensure that images embedded in PDFs are processed. What should they configure?

A.Set the 'defaultLanguageCode' to 'en'
B.Set the 'textExtractionAlgorithm' to 'printed'
C.Set the 'imageAction' parameter to 'generateNormalizedImages'
D.Set the 'lineEnding' parameter to 'space'
AnswerC

This parameter enables extraction of images from documents.

Why this answer

The 'imageAction' parameter in Azure AI Search's OCR skill controls whether images embedded in documents (including PDFs) are extracted and processed. Setting it to 'generateNormalizedImages' ensures that images within PDFs are normalized and passed to the OCR skill for text extraction, which is essential for processing embedded images.

Exam trap

The trap here is that candidates may confuse parameters that affect OCR output formatting (like 'lineEnding' or 'defaultLanguageCode') with the parameter that actually enables image extraction from PDFs, leading them to overlook the 'imageAction' setting.

How to eliminate wrong answers

Option A is wrong because 'defaultLanguageCode' specifies the language for text recognition, not whether images are extracted from PDFs; it does not enable image processing. Option B is wrong because 'textExtractionAlgorithm' determines the OCR algorithm (e.g., 'printed' or 'handwritten') but does not control the extraction of images from PDFs; it only affects how text is recognized once images are available. Option D is wrong because 'lineEnding' parameter controls the line break character in OCR output (e.g., 'space', 'carriageReturn'), which is irrelevant to enabling image extraction from PDFs.

732
MCQmedium

Refer to the exhibit. An administrator runs this Azure CLI command to deploy a GPT-4 model in Azure AI Foundry. The command fails with an error that the deployment name already exists. What should the administrator do to resolve the issue?

A.Use a different deployment name or delete the existing deployment.
B.Specify a different resource group.
C.Remove the --sku-name parameter.
D.Use a different model version.
AnswerA

Deployment names must be unique within an Azure AI Foundry resource.

Why this answer

The error message indicates that a deployment with the same name already exists in the Azure AI Foundry workspace. In Azure AI Foundry, deployment names must be unique within a workspace. The correct resolution is to either choose a different deployment name or delete the existing deployment before re-running the command.

This aligns with the Azure CLI behavior where resource names (including AI model deployments) must be unique per scope.

Exam trap

The trap here is that candidates may think the error is about model availability or SKU constraints, but the error explicitly states 'deployment name already exists,' which is a naming conflict, not a capacity or version issue.

How to eliminate wrong answers

Option B is wrong because specifying a different resource group does not resolve a deployment name conflict within the same workspace; the deployment name uniqueness is scoped to the workspace, not the resource group. Option C is wrong because removing the --sku-name parameter would change the pricing tier or capacity, but does not address the duplicate name error. Option D is wrong because using a different model version does not change the deployment name; the conflict is on the name, not the model version.

733
Multi-Selectmedium

Which THREE components are required to implement a Retrieval-Augmented Generation (RAG) solution with Azure OpenAI Service? (Choose three.)

Select 3 answers
A.An embedding model (e.g., text-embedding-ada-002)
B.A fine-tuned model
C.An Azure OpenAI Service model (LLM)
D.Azure AI Content Safety
E.A vector database (e.g., Azure AI Search)
AnswersA, C, E

Embedding models convert documents into vector representations.

Why this answer

An embedding model like text-embedding-ada-002 is essential for converting user queries and document chunks into dense vector representations. These vectors enable semantic similarity search in a vector database, which is the core retrieval step in RAG. Without embeddings, the system cannot match user intent to relevant content.

Exam trap

The trap here is that candidates often confuse optional safety or tuning components (like Content Safety or fine-tuning) as mandatory, when the core RAG triad is strictly retrieval (embeddings + vector DB) plus generation (LLM).

734
MCQeasy

You need to create a chatbot that uses Azure OpenAI to answer questions about your company's internal policies. The responses must be based only on the provided policy documents. Which approach should you use?

A.Use the model's pre-existing knowledge about common policies.
B.Fine-tune a GPT model on the policy documents.
C.Use prompt engineering to instruct the model to only use policy knowledge.
D.Use Retrieval-Augmented Generation (RAG) with an Azure AI Search index of the documents.
AnswerD

RAG ensures responses are grounded in the retrieved documents.

Why this answer

Retrieval-Augmented Generation (RAG) uses an Azure AI Search index to retrieve relevant policy documents and then generates answers based solely on that content, ensuring responses are grounded in the provided documents. Option A is wrong because the model's pre‑existing knowledge is generic and not specific to the company's internal policies, so answers may be inaccurate or unsupported. Option B is wrong because fine‑tuning a GPT model on the policy documents can still lead to hallucination; the model might generate plausible‑sounding but ungrounded content not directly from the documents.

Option C is wrong because prompt engineering alone cannot force the model to ignore its training data; without retrieval, the model may incorporate external knowledge or fabricate information.

735
Multi-Selecthard

You are developing a custom text classification model using Azure AI Language. You have labeled 2000 documents across 10 categories. You need to evaluate the model's performance before deploying to production. Which THREE metrics should you examine?

Select 3 answers
A.Recall
B.Word Error Rate
C.BLEU Score
D.F1 Score
E.Precision
AnswersA, D, E

Measures the proportion of actual positives correctly identified.

Why this answer

Recall is correct because it measures the proportion of actual positive instances correctly identified by the model, which is critical in custom text classification to ensure that relevant documents are not missed. In Azure AI Language, recall helps assess how well the model captures all instances of each category, especially when class distribution is imbalanced across the 10 categories.

Exam trap

The trap here is that candidates may confuse metrics from other NLP tasks (like speech recognition or translation) with classification metrics, leading them to select Word Error Rate or BLEU Score instead of the standard classification triad of precision, recall, and F1 score.

736
MCQmedium

You are using Azure OpenAI Service with the system message shown in the exhibit. The model sometimes answers questions using general knowledge even when the context does not contain the answer. Which modification should you make to enforce the behavior?

A.Add a user message repeating the instruction
B.Reduce the temperature to 0
C.Fine-tune the model with examples of refusing to answer
D.Set the 'strict' parameter to true in Azure OpenAI On Your Data configuration
AnswerD

The strict setting forces the model to use only the provided context.

Why this answer

The 'strict' parameter in Azure OpenAI On Your Data configuration forces the model to rely exclusively on the provided data sources and refuse to answer when the context lacks the information. This directly enforces the desired behavior of not falling back on general knowledge.

Exam trap

Microsoft often tests the misconception that prompt engineering (like repeating instructions) or temperature adjustments can enforce strict data-only behavior, when in reality the 'strict' parameter in Azure OpenAI On Your Data is the specific mechanism designed for this purpose.

How to eliminate wrong answers

Option A is wrong because adding a user message repeating the instruction does not override the model's inherent tendency to use general knowledge; it only provides a prompt-level hint that can be ignored. Option B is wrong because reducing the temperature to 0 makes the model more deterministic but does not prevent it from generating answers from its pre-trained knowledge when the context is insufficient. Option C is wrong because fine-tuning with examples of refusing to answer requires custom training data and is not a direct configuration for Azure OpenAI On Your Data; it also does not enforce strict context-only behavior at inference time.

737
MCQeasy

You are using Azure AI Language to perform sentiment analysis on customer feedback. You need to monitor the number of requests sent to the endpoint per minute. Which Azure service should you use?

A.Azure Monitor
B.Azure Cost Management
C.Azure Advisor
D.Azure Log Analytics
AnswerA

Azure Monitor collects and analyzes metrics like requests per minute.

Why this answer

Azure Monitor is the correct service because it provides platform metrics, including the 'Requests Per Minute' metric for Azure AI Language endpoints. This metric is automatically collected and can be viewed in the Azure portal, set up alerts on, or queried via the Azure Monitor REST API. It directly answers the need to monitor request rate without additional configuration.

Exam trap

The trap here is that candidates often confuse Azure Monitor with Azure Log Analytics, assuming that all monitoring requires log ingestion, when in fact Azure Monitor provides built-in metrics without the need for logging or additional costs.

How to eliminate wrong answers

Option B (Azure Cost Management) is wrong because it focuses on tracking and optimizing cloud spending, not on real-time operational metrics like request rate. Option C (Azure Advisor) is wrong because it provides best-practice recommendations for cost, security, reliability, and performance, but does not expose per-minute request counts. Option D (Azure Log Analytics) is wrong because while it can ingest and query logs, it is not the primary service for out-of-the-box metrics; Azure Monitor collects metrics natively, and Log Analytics is used for log-based data, not for simple metric monitoring like requests per minute.

738
MCQmedium

A company uses Azure AI Speech to transcribe customer service calls. They need to identify callers by name and account number. Which feature should be enabled?

A.Speaker recognition
B.Pronounciation assessment
C.Batch transcription
D.Custom speech model
AnswerD

Custom speech models improve recognition of domain-specific terms.

Why this answer

A custom speech model is required because the company needs to recognize specific domain terms like caller names and account numbers, which are not part of the default base speech model. By training a custom speech model with relevant audio and text data, Azure AI Speech can accurately transcribe these specialized terms, improving recognition accuracy for the call center scenario.

Exam trap

The trap here is that candidates may confuse speaker recognition (identifying who spoke) with speech recognition (transcribing what was said), leading them to select Option A when the actual need is to improve transcription accuracy for specific terms.

How to eliminate wrong answers

Option A is wrong because speaker recognition identifies who is speaking (verification or identification) but does not improve transcription accuracy for specific words like names or account numbers. Option B is wrong because pronunciation assessment evaluates how well a speaker pronounces words, typically used for language learning, not for transcribing specific domain terms. Option C is wrong because batch transcription is a processing mode for transcribing large volumes of audio asynchronously, but it does not add domain-specific vocabulary or improve recognition of custom terms.

739
MCQeasy

You are deploying a chatbot using Azure AI Bot Service and Language Understanding (LUIS). The bot must understand user intent from free-text input. Which component should you train?

A.Language Understanding (LUIS) model
B.Speech-to-text model
C.QnA Maker knowledge base
D.Computer Vision model
AnswerA

LUIS extracts intents and entities from free-text input.

Why this answer

The Language Understanding (LUIS) model is the correct component to train because the bot needs to interpret free-text user input and extract intent. LUIS is a natural language processing service specifically designed for intent recognition and entity extraction from conversational phrases. Training the LUIS model with labeled utterances teaches it to map user expressions to predefined intents, enabling the bot to understand and respond appropriately.

Exam trap

The trap here is that candidates may confuse the role of LUIS with QnA Maker, assuming both handle any text input, but LUIS is for intent classification from free-text conversation, while QnA Maker is for retrieving answers from a fixed knowledge base, not for understanding dynamic user intents.

How to eliminate wrong answers

Option B is wrong because a Speech-to-text model converts audio to text, but the question specifies free-text input, not spoken input; training this model would be unnecessary and irrelevant for text-based intent understanding. Option C is wrong because QnA Maker knowledge base is designed for answering factual questions from a structured FAQ or document, not for understanding free-form intents from conversational input; it lacks the intent classification capability required here. Option D is wrong because a Computer Vision model processes images and video, not text; it has no role in interpreting user intent from free-text input.

740
Multi-Selectmedium

You are building a solution that must translate customer chat messages from Spanish to English in real-time. The solution must also detect the language of incoming messages to handle cases where users write in other languages. Which TWO Azure AI service features should you use?

Select 2 answers
A.Azure AI Translator - Language Detection
B.Azure AI Translator - Translation
C.Azure AI Speech - Speech Translation
D.Azure AI Language Understanding (LUIS)
E.Azure AI Custom Question Answering
AnswersA, B

Detects the language of text input.

Why this answer

Azure AI Translator's Language Detection feature can identify the language of incoming chat messages, which is necessary to handle cases where users write in languages other than Spanish. Option B is correct because Azure AI Translator's Translation feature can then translate those detected Spanish messages into English in real-time, meeting the core requirement of the solution.

Exam trap

Microsoft Azure exams often test the distinction between text-based and speech-based services, so the trap here is assuming that Speech Translation (Option C) is appropriate for text chat, when it is actually designed for audio input and would require unnecessary speech-to-text conversion.

741
MCQeasy

A developer is building a mobile app that uses Azure Computer Vision to analyze images. The app needs to handle many requests with low latency. Which pricing tier should they choose?

A.Video Analyzer S1 tier.
B.Free F0 tier.
C.Custom Vision S0 tier.
D.Computer Vision S1 tier.
AnswerD

S1 offers up to 30 calls per second.

Why this answer

The Computer Vision S1 tier is designed for production workloads requiring high throughput and low latency, making it suitable for a mobile app that handles many image analysis requests. Unlike the Free F0 tier, which has strict rate limits (e.g., 20 transactions per minute), the S1 tier offers higher transactions per second (e.g., up to 10 TPS) and guaranteed performance for real-time scenarios.

Exam trap

The trap here is that candidates may confuse the Computer Vision S1 tier with the Custom Vision S0 tier or the Video Analyzer S1 tier, not realizing that each Azure AI service has its own distinct pricing tiers and that the question specifically targets the Computer Vision service for image analysis.

How to eliminate wrong answers

Option A is wrong because Video Analyzer S1 is a pricing tier for Azure Video Analyzer, a service for video indexing and analysis, not for image analysis with Computer Vision. Option B is wrong because the Free F0 tier has severe rate limits (e.g., 20 calls per minute) and is intended only for evaluation and small-scale testing, not for production apps with many requests. Option C is wrong because Custom Vision S0 is a tier for the Custom Vision service, which is used to train and deploy custom image classification models, not the general-purpose Computer Vision API for analyzing images.

742
MCQmedium

You are designing an Azure AI solution that uses Language Understanding (LUIS) for intent detection. The solution must handle multiple languages dynamically based on the user's locale. What should you do?

A.Use Azure Translator to translate user input to English before sending to LUIS.
B.Create separate LUIS applications for each language and route based on locale.
C.Train a single LUIS app with utterances in all languages.
D.Enable the 'Multi-Language' feature in the LUIS app.
AnswerB

This is the recommended approach for multi-language support.

Why this answer

LUIS does not natively support multi-language within a single application; each LUIS app is designed for a single language. To handle multiple languages dynamically, you must create separate LUIS applications for each language and route user utterances based on the detected locale, ensuring accurate intent and entity recognition per language.

Exam trap

The trap here is that candidates assume LUIS has a built-in multi-language feature or that translation is a viable shortcut, but Microsoft explicitly requires separate LUIS apps per language and does not support multi-language training within a single app.

How to eliminate wrong answers

Option A is wrong because translating user input to English before sending to LUIS introduces translation latency, potential loss of nuance, and inaccuracies in intent detection, as LUIS is optimized for native language patterns. Option C is wrong because training a single LUIS app with utterances in multiple languages degrades performance, as LUIS expects consistent language structure and cannot distinguish between languages during prediction. Option D is wrong because there is no 'Multi-Language' feature in LUIS; the platform requires separate apps for each language, and enabling such a feature would not resolve the fundamental single-language limitation.

743
Multi-Selecthard

A company is planning to use Azure AI Document Intelligence to extract data from invoices. The solution must handle variations in invoice formats. Which TWO actions should be taken to improve accuracy?

Select 2 answers
A.Avoid using custom models; rely on prebuilt models only.
B.Include samples of different layouts in the training set.
C.Use a large number of unlabeled samples.
D.Use a single prebuilt model for all invoices.
E.Train a custom model with labeled invoice samples.
AnswersB, E

Diverse layouts improve generalization.

Why this answer

Including samples of different invoice layouts in the training set enables the custom model to learn variations in structure, field placement, and formatting. This improves the model's ability to generalize across diverse invoice formats, reducing extraction errors. Azure AI Document Intelligence custom models require labeled training data to adapt to specific document types, and diverse samples directly address format variability.

Exam trap

The trap here is that candidates often assume prebuilt models are sufficient for all invoice formats, ignoring that custom models with diverse labeled samples are necessary to handle layout variations and achieve high accuracy.

744
Multi-Selecthard

Which TWO of the following are best practices for managing Azure AI services costs?

Select 2 answers
A.Use the S0 pricing tier for production workloads
B.Always use the Free tier to avoid charges
C.Scale up partitions to improve performance
D.Increase batch size to reduce number of API calls
E.Set up budget alerts in Azure Cost Management
AnswersA, E

S0 provides predictable pricing for production.

Why this answer

The S0 pricing tier is the standard paid tier for Azure AI services, such as Cognitive Services, and is designed for production workloads. It provides higher throughput, reliability, and support compared to lower tiers, making it a cost-effective choice for production scenarios where performance and availability are critical.

Exam trap

The trap here is that candidates often confuse cost-saving strategies (like using the Free tier or batching) with best practices for managing costs in production, overlooking that the Free tier is not for production and that batching may not be applicable or effective for all services.

745
MCQmedium

You are implementing an agentic solution using Azure AI Agent Service. The agent needs to maintain conversation context across multiple turns. You configure the agent with a custom prompt that includes a 'system message' and 'few-shot examples'. However, after a few turns, the agent starts repeating the same responses. What is the most likely cause?

A.The 'max_tokens' parameter is set too low for the response
B.The 'max_context_length' is set too low, causing earlier turns to be truncated
C.The agent is using a 'context recycling' feature that resets after each turn
D.The temperature is set too high, causing the model to become deterministic
AnswerB

Truncation loses context, leading to repetition.

Why this answer

When the 'max_context_length' is set too low, the agent's conversation history is truncated after a few turns, removing earlier user inputs and assistant responses. This loss of context causes the model to lose track of the conversation flow and revert to repeating responses, as it no longer has the full context to generate varied replies.

Exam trap

The trap here is that candidates often confuse 'max_tokens' (response length) with context window limits, or assume that repetition is caused by high temperature, when in fact it is the loss of conversation history due to context truncation that leads to repetitive outputs.

How to eliminate wrong answers

Option A is wrong because 'max_tokens' controls the length of each individual response, not the retention of conversation history; a low value would produce short replies, not repetitive ones. Option C is wrong because Azure AI Agent Service does not have a 'context recycling' feature that resets after each turn; context is maintained via the conversation history until truncated. Option D is wrong because a high temperature increases randomness, making responses less deterministic, not more repetitive; low temperature would cause deterministic, repetitive outputs.

746
MCQmedium

Refer to the exhibit. You send this request to the Azure AI Language Service for custom entity recognition. The response returns no entities. What is the most likely reason?

A.The text input is too short for entity recognition
B.The language parameter is set incorrectly
C.The model version is not specified
D.The projectName and deploymentName are missing from the body parameters
AnswerD

Custom entity recognition requires project and deployment names in the body.

Why this answer

The Azure AI Language Service for custom entity recognition requires both `projectName` and `deploymentName` in the request body to identify which trained custom model to invoke. Without these parameters, the service cannot route the request to the correct custom model, so it returns no entities. The standard pre-built entity recognition does not require these fields, but custom entity recognition mandates them.

Exam trap

The trap here is that candidates assume the request is valid because it includes text and a language parameter, overlooking that custom entity recognition requires explicit project and deployment identifiers to invoke the trained model.

How to eliminate wrong answers

Option A is wrong because the Azure AI Language Service does not impose a minimum text length for entity recognition; even very short text can return entities if they are present. Option B is wrong because the language parameter, while important for language detection, is not the cause of returning no entities in a custom entity recognition request; the service will still attempt to process the text and return entities from the custom model if properly configured. Option C is wrong because the model version is an optional parameter; if not specified, the service uses the latest available version of the custom model, so its absence does not cause a failure to return entities.

747
MCQhard

Your company has an existing Azure AI Search index used for e-commerce product search. The index is populated by an indexer that runs every hour. Recently, the product team added a new field 'promotionPrice' that should be searchable. You need to update the index to include this field without reindexing all documents. The field should be of type Edm.Double, searchable, filterable, and sortable. What should you do?

A.Add the new field to the data source mapping in the indexer. The indexer will automatically update the index schema.
B.Update the index schema to add the new field using the portal or REST API. Then update the indexer to map the field.
C.Change the indexer schedule to run every 5 minutes to pickup the new field faster.
D.Delete the index and recreate it with the new field. Then run the indexer to repopulate all documents.
AnswerB

No downtime; incremental update.

Why this answer

Azure AI Search allows you to add new fields to an existing index schema without reindexing all documents, as long as the new field is nullable or has a default value. After updating the index schema via the portal or REST API, you must update the indexer's field mappings to map the new 'promotionPrice' field from the data source to the index. The indexer will then populate the field for existing documents on its next run, and new documents will include the field automatically.

Exam trap

The trap here is that candidates assume the indexer can automatically update the index schema when a new field is added to the data source, but Azure AI Search requires explicit schema updates before the indexer can map and populate the new field.

How to eliminate wrong answers

Option A is wrong because the indexer's data source mapping only defines how source fields map to index fields; it cannot modify the index schema itself. Option C is wrong because changing the indexer schedule does not add new fields to the index; the indexer can only write to fields that already exist in the index schema. Option D is wrong because deleting and recreating the index is unnecessary and causes downtime; Azure AI Search supports adding new fields to an existing index without full reindexing, provided the new field is nullable or has a default value.

748
MCQmedium

Your organization is using Azure OpenAI Service to generate content. You need to ensure that the content meets safety guidelines by filtering harmful outputs. What should you configure?

A.Enable the Responsible AI dashboard.
B.Configure the content filters in the Azure OpenAI Studio.
C.Use Azure AI Content Safety APIs to analyze outputs.
D.Set the system message to instruct the model to avoid harmful content.
AnswerB

Azure OpenAI provides configurable content filters.

Why this answer

Content filters in Azure OpenAI Studio allow you to define severity levels (safe, low, medium, high) for categories like hate, sexual, violence, and self-harm, which are enforced at the inference API level to block or flag harmful outputs before they reach the user. This is the primary configuration for filtering model-generated content in Azure OpenAI Service.

Exam trap

The trap here is that candidates often confuse the Responsible AI dashboard (a monitoring tool) with active content filtering, or they assume that system messages alone are sufficient for safety, when in fact content filters provide the only guaranteed enforcement layer at the API level.

How to eliminate wrong answers

Option A is wrong because the Responsible AI dashboard is a monitoring and reporting tool that provides visibility into model behavior and fairness metrics, but it does not actively filter or block harmful outputs in real-time. Option C is wrong because Azure AI Content Safety APIs are a separate service for analyzing user-generated or third-party content, not for filtering outputs from Azure OpenAI models directly; they would require an additional integration layer. Option D is wrong because system messages are instructional prompts that guide model behavior but are not a reliable enforcement mechanism—they can be overridden by adversarial inputs or model quirks, and they lack the deterministic filtering capabilities of content filters.

749
MCQmedium

A developer uses the Azure OpenAI SDK to generate code snippets. The generated code sometimes contains security vulnerabilities. What is the most effective way to mitigate this risk?

A.Set the temperature parameter to 0 to make the output deterministic.
B.Post-process the generated code using a static code analysis tool.
C.Fine-tune the model on a dataset of secure code examples.
D.Include a system message that instructs the model to avoid insecure coding patterns.
AnswerD

System messages can guide the model to produce safer code.

Why this answer

A system message sets the behavioral context for the model at inference time, instructing it to avoid insecure coding patterns without requiring retraining. This is the most direct and effective mitigation as it leverages the model's instruction-following capability to reduce vulnerabilities in generated code, aligning with Azure OpenAI's content filtering and safety system guidance.

Exam trap

Microsoft often tests the misconception that fine-tuning is the only way to customize model behavior, but the trap here is that a system message is a simpler, more flexible, and equally effective method for guiding output without the overhead of retraining.

How to eliminate wrong answers

Option A is wrong because setting temperature to 0 makes the output deterministic but does not address security; it only reduces randomness, not insecure patterns. Option B is wrong because post-processing with static analysis detects vulnerabilities after generation but does not prevent them at the source, adding latency and requiring separate tooling. Option C is wrong because fine-tuning on secure code examples is resource-intensive, requires a curated dataset, and may not generalize to all insecure patterns; it is less practical than a simple system message for immediate risk mitigation.

750
MCQmedium

You need to create a solution that extracts key-value pairs from scanned invoices using Azure AI Document Intelligence. The invoices have varying layouts. Which model should you use?

A.Layout model
B.Custom extraction model
C.Read model
D.Prebuilt invoice model
AnswerD

Prebuilt invoice model is trained on many invoice layouts and extracts key-value pairs.

Why this answer

The Prebuilt invoice model (Option D) is specifically designed to extract key-value pairs, line items, and other structured fields from invoices, even when layouts vary. It is trained on thousands of invoice samples and uses deep learning to handle diverse formats without requiring custom training, making it the correct choice for this scenario.

Exam trap

The trap here is that candidates often confuse the Layout model's ability to extract tables and text with the specific key-value pair extraction needed for invoices, leading them to choose Option A instead of the purpose-built Prebuilt invoice model.

How to eliminate wrong answers

Option A is wrong because the Layout model extracts text, tables, and selection marks but does not extract key-value pairs or invoice-specific fields like invoice number or vendor details. Option B is wrong because a Custom extraction model requires labeled training data and is overkill when a prebuilt model already exists for invoices; it is intended for documents not covered by prebuilt models. Option C is wrong because the Read model only extracts printed and handwritten text (OCR) without any structure or key-value pair extraction.

Page 9

Page 10 of 13

Page 11