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

988 questions total · 14pages · All types, answers revealed

Page 9

Page 10 of 14

Page 11
676
MCQeasy

Refer to the exhibit. You are deploying a GPT-4 model using Azure OpenAI Service. The deployment uses the Standard scale type. Which statement is true about this deployment?

A.The model version is not specified and will default to the latest.
B.Content filtering is disabled for this deployment.
C.The deployment uses provisioned throughput with reserved capacity.
D.The deployment uses pay-as-you-go pricing and global rate limits.
AnswerD

Standard scale type uses pay-as-you-go with global rate limits.

Why this answer

Option B is correct because Standard scale type means the endpoint uses pay-as-you-go pricing with global rate limits. Option A is wrong because provisioned throughput uses reserved capacity. Option C is wrong because the model version is specified as 0613.

Option D is wrong because content filtering is enabled by default, not disabled.

677
MCQeasy

A company wants to use Azure AI services to extract text from scanned PDF documents. Which Azure AI service should they use?

A.Azure AI Language Understanding (LUIS)
B.Azure AI Document Intelligence
C.Azure AI Computer Vision API
D.Azure Cognitive Search
AnswerB

Document Intelligence is optimized for document extraction.

Why this answer

Azure AI Document Intelligence (formerly Form Recognizer) is the correct service because it is specifically designed for extracting text, tables, and key-value pairs from scanned PDFs and images using optical character recognition (OCR) and deep learning models. Unlike general OCR APIs, Document Intelligence can handle complex layouts and preserve document structure, making it ideal for this use case.

Exam trap

The trap here is that candidates often confuse the general-purpose Computer Vision OCR API with the specialized Document Intelligence service, overlooking that Document Intelligence offers superior layout understanding and prebuilt models for document-centric extraction tasks.

How to eliminate wrong answers

Option A is wrong because Azure AI Language Understanding (LUIS) is a conversational language understanding service for intent and entity extraction from natural language utterances, not for extracting text from scanned documents. Option C is wrong because while Azure AI Computer Vision API includes OCR capabilities, it is a general-purpose image analysis service that lacks the specialized layout analysis, table extraction, and form understanding features that Document Intelligence provides for scanned PDFs. Option D is wrong because Azure Cognitive Search is a search indexing and query service that can index extracted text but does not perform the initial extraction from scanned PDFs itself.

678
MCQeasy

You are designing a conversational AI solution using Microsoft Copilot Studio. The exhibit shows part of a topic configuration. What is the purpose of the 'triggers' section?

A.To define the response the bot sends
B.To define the authentication method
C.To define the conditions that activate the topic
D.To define the entities to extract
AnswerC

Triggers specify when a topic should be invoked.

Why this answer

Triggers define conditions that activate the topic, such as specific user utterances. Actions define the response. The trigger type 'Utterance' means the topic fires when a user says that phrase.

679
MCQhard

An organization uses Microsoft Copilot Studio to build an agent that handles customer inquiries. The agent uses a custom topic with a Power Automate flow to check order status. The flow returns a JSON object with order details. The agent needs to display the order status and estimated delivery date in a formatted message. How should the agent parse the JSON response?

A.Write a custom code action in C# to parse the JSON.
B.Use the built-in JSON parser in Copilot Studio.
C.Modify the Power Automate flow to return individual variables instead of JSON.
D.Use the ParseJSON Power Fx function to convert the JSON string to a record.
AnswerD

ParseJSON in Copilot Studio converts a JSON string to a record that can be accessed with dot notation.

Why this answer

Option D is correct because the ParseJSON function in Copilot Studio converts a JSON string into a Power Fx record that can be used to access properties. Option A is wrong because the agent does not have a generic JSON parser built-in. Option B is wrong because Power Automate can parse JSON, but the agent needs to parse it in Copilot Studio.

Option C is wrong because the agent cannot use C# directly.

680
Multi-Selecthard

Your organization uses Azure AI Language to perform sentiment analysis and opinion mining on product reviews. You notice that the sentiment scores are often neutral even when the review text contains clearly positive or negative opinions. You suspect the model is not capturing the nuances. Which three actions could improve the sentiment analysis accuracy? (Choose three.)

Select 3 answers
A.Provide more labeled training examples that cover a wider variety of writing styles and sentiments.
B.Pre-process the text with key phrase extraction to highlight important terms before sentiment analysis.
C.Use the opinion mining feature to capture sentiment targets and associated opinions.
D.Use the basic sentiment analysis API without any customization.
E.Enable the domain-specific model for 'Reviews' if available.
AnswersA, C, E

More diverse training data helps the model generalize better and capture nuances.

Why this answer

Options A, B, and D are correct because adding more training data, using opinion mining, and enabling domain-specific models are proven ways to improve sentiment accuracy. Option C is wrong because key phrase extraction does not directly affect sentiment scoring. Option E is wrong because using only the basic sentiment analysis API is what you already have; it does not improve accuracy.

681
MCQeasy

You plan to use Azure AI Content Safety to detect hate speech in user-generated content. Which type of content safety is most appropriate for this scenario?

A.Custom categories
B.Image moderation
C.Prompt Shields
D.Text moderation
AnswerD

Detects hate speech and offensive language in text.

Why this answer

Text moderation is the correct choice because Azure AI Content Safety's text moderation API is specifically designed to detect and filter hate speech, along with other harmful content categories like violence and self-harm, in user-generated text. It uses machine learning classifiers trained on a vast corpus to assign severity scores across predefined categories, making it the direct and most appropriate tool for this scenario.

Exam trap

The trap here is that candidates may confuse the broad 'text moderation' capability with the more specialized 'Prompt Shields' feature, mistakenly thinking prompt injection protection is the same as hate speech detection, or assume 'custom categories' are needed when the built-in hate category already suffices.

How to eliminate wrong answers

Option A is wrong because custom categories allow you to define your own specific terms or patterns for blocking, but they are not the primary or most appropriate method for detecting broad, nuanced hate speech; the service's built-in text moderation categories already cover hate speech comprehensively. Option B is wrong because image moderation is designed to analyze visual content for adult, racy, or violent imagery, not to detect hate speech in text. Option C is wrong because Prompt Shields are a feature of Azure AI Content Safety that protects against prompt injection attacks in generative AI applications, not for detecting hate speech in general user-generated content.

682
MCQhard

You are creating a new Custom Vision project with the above JSON. The domainId corresponds to the 'Logo' domain. Which type of model will this project train?

A.An object detection model for logo detection
B.An optical character recognition model
C.A multilabel image classification model for logo detection
D.A general image classification model
AnswerC

Logo domain with Multilabel type means classification, not detection.

Why this answer

Option A is correct because the 'Logo' domain is optimized for logo detection. The classificationType 'Multilabel' indicates image classification (multiple labels per image), not object detection. Option B is wrong because object detection requires a different classificationType.

Option C is wrong because OCR is not a Custom Vision domain. Option D is wrong because the domain is 'Logo', not 'General'.

683
MCQmedium

You are deploying a generative AI application using Azure OpenAI Service. The application must generate responses in multiple languages while maintaining high accuracy. You need to minimize token usage. Which approach should you recommend?

A.Use a base model with a system message to output in the desired language
B.Translate all input to English and then translate output back
C.Fine-tune a model for each target language
D.Use a separate deployment for each language
AnswerA

Base models already support multilingual output; system message guides without extra cost.

Why this answer

Using a base model with a system message instructing multilingual output is efficient because the base model already supports multiple languages and the system message guides behavior without fine-tuning. Option A is wrong because fine-tuning for each language is costly and not necessary. Option B is wrong because using separate deployments increases cost and complexity.

Option D is wrong because pre-processing input into English may lose nuances.

684
MCQhard

An application uses Azure AI Face API to perform face detection and verification. The application must ensure that only users with verified identities can access sensitive data. Which additional Azure service should you integrate to comply with Microsoft's Responsible AI standards for facial recognition?

A.Azure Video Indexer
B.Azure AI Content Safety
C.Azure AI Vision Image Analysis
D.Microsoft Entra ID and Face API Limited Access
AnswerD

Microsoft Entra ID provides identity management, and Face API Limited Access ensures compliance with Responsible AI standards for facial recognition.

Why this answer

The correct answer is to integrate Microsoft Entra ID for identity management and use Face API with Limited Access approval. Responsible AI standards require that facial recognition for identity verification is used with proper consent and access control. Option A is wrong because Azure AI Content Safety is for content moderation, not identity.

Option B is wrong because Azure AI Vision does not handle identity verification. Option D is wrong because Azure AI Video Indexer is for video analysis, not identity verification.

685
MCQmedium

A company is using Azure Form Recognizer to extract data from invoices. The prebuilt model does not correctly extract a custom field that is specific to the company's invoices. What is the most appropriate action to improve extraction accuracy for this field?

A.Use the prebuilt model with a custom field mapping.
B.Train a custom model using labeled invoices that include the custom field.
C.Adjust the confidence threshold for the prebuilt model.
D.Retrain the prebuilt model with additional invoices.
AnswerB

A custom model with labeled examples can learn the custom field.

Why this answer

The prebuilt Form Recognizer model is designed for common invoice layouts and may not recognize company-specific fields. Training a custom model with labeled invoices that include the custom field allows the model to learn the field's location and semantics, significantly improving extraction accuracy for that specific field.

Exam trap

The trap here is that candidates may think prebuilt models can be customized via mapping or retraining, but Azure Form Recognizer prebuilt models are immutable and only custom models can be trained to recognize new fields.

How to eliminate wrong answers

Option A is wrong because prebuilt models do not support custom field mapping; they extract only predefined fields based on their training data. Option C is wrong because adjusting the confidence threshold only filters results based on confidence scores, it does not teach the model to recognize a new field. Option D is wrong because prebuilt models cannot be retrained; they are fixed by Microsoft and only custom models can be trained with additional data.

686
MCQhard

You deploy the ARM template above to create an Azure AI Language resource. After deployment, you try to use the custom question answering feature but it is not available. What is the most likely reason?

A.The apiVersion is too old to support custom question answering.
B.The 'kind' property is set to 'TextAnalytics', which does not enable custom question answering.
C.The SKU is set to S, but custom question answering requires a higher SKU.
D.The location does not support custom question answering.
AnswerB

TextAnalytics kind does not include custom question answering.

Why this answer

Option C is correct because the 'kind' property is set to 'TextAnalytics', which does not include custom question answering. The correct kind for custom question answering is 'CognitiveServices' or a specific kind. Option A is wrong because the SKU does not affect feature availability for custom question answering.

Option B is wrong because the location is not the issue. Option D is wrong because the apiVersion is recent.

687
MCQmedium

A healthcare organization uses Azure AI Language to extract medical entities from clinical notes. The solution must comply with HIPAA and data residency requirements. Which configuration is essential?

A.Enable diagnostic logging for all operations.
B.Use a customer-managed key (CMK) for encryption.
C.Enable private endpoint for the AI resource.
D.Create the AI resource in the required Azure region.
AnswerD

Data stays in the region where the resource is provisioned, meeting residency.

Why this answer

Data residency requirements dictate that the Azure AI Language resource must be physically located in the specific Azure region where the clinical notes and extracted medical entities are permitted to reside. Creating the resource in the required Azure region ensures that all data at rest and in transit stays within that geographic boundary, which is a fundamental compliance step for HIPAA and data residency. Other configurations like encryption keys or private endpoints enhance security but do not satisfy the core residency requirement.

Exam trap

The trap here is that candidates often confuse network-level security (private endpoints) or encryption controls (CMK) with data residency, assuming any security measure automatically satisfies geographic compliance requirements.

How to eliminate wrong answers

Option A is wrong because enabling diagnostic logging captures operational telemetry but does not enforce data residency or HIPAA compliance; it may even introduce additional data handling concerns. Option B is wrong because using a customer-managed key (CMK) controls encryption keys but does not control where the data is stored or processed; data residency is a separate requirement. Option C is wrong because enabling a private endpoint restricts network access to the AI resource via a VNet but does not change the physical region where the resource and its data reside.

688
MCQhard

Refer to the exhibit. You are configuring a system message for an Azure OpenAI deployment. The assistant is still generating harmful code despite the instruction. Which additional measure should you implement?

A.Fine-tune the model on safe code examples.
B.Lower the temperature parameter to 0.
C.Add more examples to the prompt.
D.Enable Azure AI Content Safety with a custom blocklist for harmful code.
AnswerD

Content filtering can block harmful content.

Why this answer

Option D is correct because Azure AI Content Safety provides a dedicated content filtering layer that can block harmful code generation at the inference level, regardless of the system message. A custom blocklist allows you to define specific patterns (e.g., code snippets for malware) that the model is prohibited from outputting, enforcing safety beyond prompt instructions.

Exam trap

The trap here is that candidates often assume prompt engineering (system messages or few-shot examples) is sufficient for safety, but Azure OpenAI requires explicit content filtering via Azure AI Content Safety to reliably block harmful outputs at scale.

How to eliminate wrong answers

Option A is wrong because fine-tuning on safe code examples would require retraining the model, which is costly, time-consuming, and not a quick mitigation for an existing deployment; it also does not guarantee blocking of harmful code at inference time. Option B is wrong because lowering the temperature to 0 makes the model more deterministic but does not prevent it from generating harmful code if that code is the most likely completion. Option C is wrong because adding more examples to the prompt (few-shot prompting) can guide behavior but is unreliable for safety enforcement, as the model may still generate harmful code if the examples are not exhaustive or if the model overfits to the instruction.

689
MCQeasy

You need to transcribe customer service calls into text for analysis. Which Azure service should you use?

A.Conversational Language Understanding
B.Azure AI Speech-to-Text
C.Azure AI Translator
D.Azure AI Text-to-Speech
AnswerB

Speech-to-Text transcribes audio into text.

Why this answer

Azure AI Speech-to-Text is the correct service for converting audio to text. Text-to-Speech does the opposite. Translator translates text.

Language Understanding (CLU) interprets intents.

690
MCQmedium

A company is building a chatbot using Azure Bot Service and Language Understanding (LUIS). The chatbot needs to handle user intents for booking flights and checking flight status. After testing, the chatbot frequently fails to distinguish between the two intents when users mention flight numbers. Which action should the engineer take to improve intent recognition?

A.Increase the number of intents to split the flight-related queries further.
B.Add more utterances that include flight numbers to the training data for both intents.
C.Reduce the confidence score threshold for intent detection.
D.Use the prebuilt domain for flight booking to improve accuracy.
AnswerB

This provides more examples for the model to learn the subtle differences.

Why this answer

Option B is correct because adding more utterances that include flight numbers to both intents provides LUIS with more varied examples of how flight numbers appear in natural language, enabling the model to learn distinguishing patterns. Without sufficient training data containing flight numbers, LUIS cannot reliably differentiate between 'BookFlight' and 'CheckFlightStatus' when users mention flight numbers, as the entity alone does not determine intent.

Exam trap

The trap here is that candidates often think reducing the confidence threshold or adding more intents will fix misclassification, but the real issue is insufficient representative training data for the specific ambiguous patterns (flight numbers) that cause confusion.

How to eliminate wrong answers

Option A is wrong because increasing the number of intents would further fragment the training data, making it harder for LUIS to distinguish between similar queries, and does not address the core issue of insufficient examples with flight numbers. Option C is wrong because reducing the confidence score threshold would cause more false positives, increasing misclassification rather than improving accuracy. Option D is wrong because prebuilt domains provide generic intents and entities that may not match the company's specific flight-related queries, and they do not solve the problem of distinguishing between two custom intents when flight numbers are present.

691
MCQmedium

You are building a computer vision solution to detect defects on a manufacturing assembly line. The solution must process images in real-time with low latency, and you need to choose an Azure service. Which service should you use?

A.Azure Computer Vision API
B.Azure Video Indexer
C.Azure Form Recognizer
D.Azure Custom Vision
AnswerD

Custom image classification and object detection with low-latency prediction endpoint.

Why this answer

Option C is correct because Azure Custom Vision is optimized for image classification and object detection with custom training, and it supports real-time predictions with low latency via its prediction endpoint. Option A is wrong because Computer Vision API is a pre-built service for general image analysis, not custom defect detection. Option B is wrong because Form Recognizer is for document analysis, not manufacturing images.

Option D is wrong because Video Indexer is for video analysis, not real-time image processing.

692
MCQhard

Refer to the exhibit. You are configuring an Azure AI Language resource using an ARM template. The settings include PII recognition with domain set to 'phi'. What is the effect of this setting?

A.It will detect all standard PII categories plus additional health-specific entities.
B.It will enable the entity recognition model to detect health entities.
C.It will ignore PII detection and only detect health-related entities.
D.It will detect protected health information (PHI) such as medical record numbers.
AnswerD

'phi' domain enables detection of PHI entities.

Why this answer

Option C is correct. The 'phi' domain setting in PII recognition configures the service to detect protected health information (PHI) as per HIPAA. Option A is wrong because 'phi' is specifically for health information, not general PII.

Option B is wrong because 'phi' does not ignore PII categories; it focuses on health-related ones. Option D is wrong because the domain setting does not affect entity recognition.

693
Multi-Selecthard

Which THREE factors should you consider when selecting a pricing tier for Azure Computer Vision in a production environment?

Select 3 answers
A.Availability of free tier
B.Type of storage account for images
C.Data residency requirements
D.Latency requirements
E.Transactions per second limit
AnswersC, D, E

May require specific region and tier.

Why this answer

A, B, and D are correct. Transactions per second (TPS) is a key constraint. Data residency requirements may influence region selection and tier features.

Latency requirements may lead to choosing a tier with guaranteed performance. C is wrong because storage type is not a factor for Computer Vision. E is wrong because the free tier is not suitable for production.

694
MCQeasy

A company wants to extract key-value pairs from scanned invoices using Azure AI. Which service should they use?

A.Read API
B.Custom Vision
C.OCR API
D.Azure AI Document Intelligence
AnswerD

Document Intelligence uses prebuilt or custom models to extract key-value pairs.

Why this answer

Option A is correct because Azure AI Document Intelligence (formerly Form Recognizer) is designed to extract key-value pairs from documents. Option B is wrong because Custom Vision is for image classification. Option C is wrong because OCR only extracts text without structure.

Option D is wrong because the Read API extracts text but not key-value pairs.

695
MCQeasy

A company wants to generate product descriptions for thousands of items using an Azure OpenAI GPT-4 model. They need to ensure the descriptions match a consistent brand voice. Which approach is most efficient and cost-effective?

A.Write a separate prompt for each product category
B.Use Azure OpenAI on your data with a vector database of brand guidelines
C.Set a system message with brand voice guidelines and use few-shot examples
D.Fine-tune a base model on existing product descriptions
AnswerC

System message sets consistent tone; few-shot examples guide output.

Why this answer

Option C is correct because setting a system message with brand voice guidelines and providing few-shot examples allows the GPT-4 model to consistently apply the desired tone and style across all product descriptions without retraining. This approach is efficient and cost-effective as it avoids the high compute and data preparation costs of fine-tuning, while still enabling precise control over output through in-context learning.

Exam trap

Microsoft often tests the misconception that fine-tuning is always the best approach for consistency, but in Azure OpenAI, in-context learning via system messages and few-shot examples is more efficient and cost-effective for tasks like brand voice adherence, as fine-tuning is reserved for deep customization of model behavior.

How to eliminate wrong answers

Option A is wrong because writing a separate prompt for each product category would be highly inefficient and inconsistent, as it requires manual effort for thousands of items and does not leverage the model's ability to generalize from a single system message. Option B is wrong because using Azure OpenAI on your data with a vector database of brand guidelines is overkill for this task; vector databases are designed for retrieval-augmented generation (RAG) to ground responses in external data, but brand voice guidelines are better conveyed via system messages and examples, not as searchable documents. Option D is wrong because fine-tuning a base model on existing product descriptions is costly, requires significant labeled data, and risks overfitting to the training set, whereas in-context learning with a system message and few-shot examples achieves the same goal with far less expense and complexity.

696
MCQmedium

Your team is building an AI-powered search application using Azure AI Search with semantic ranking. During testing, the search results are not showing the expected relevance improvements. What should you check first?

A.Verify that CORS is enabled for your application
B.Check that your index has an RBAC role assignment for semantic search
C.Confirm that the search service is at least Standard S1 and semantic ranking is enabled
D.Ensure the search service is on the Free tier
AnswerC

Semantic ranking requires Standard S1 or higher and must be enabled in the service configuration.

Why this answer

Semantic ranking in Azure AI Search requires a service tier of at least Standard S1 (or higher) and the feature must be explicitly enabled on the index. Without meeting these prerequisites, the search results will not benefit from semantic reranking, regardless of other configurations. Therefore, confirming the service tier and semantic ranking enablement is the first and most critical check.

Exam trap

The trap here is that candidates often assume semantic ranking is automatically available on any paid tier or that configuration issues like CORS or RBAC are the root cause, when in fact the service tier and explicit enablement are the strict prerequisites.

How to eliminate wrong answers

Option A is wrong because CORS (Cross-Origin Resource Sharing) controls browser-based cross-domain requests and has no impact on the relevance improvements provided by semantic ranking. Option B is wrong because RBAC (Role-Based Access Control) assignments manage permissions for accessing the search service, not the activation or functionality of semantic ranking itself. Option D is wrong because the Free tier does not support semantic ranking at all; it is a limited tier with no SLA and lacks the capacity for semantic reranking, so ensuring it is on the Free tier would actually prevent the feature from working.

697
MCQmedium

You are building a multilingual customer support chatbot using Azure AI Language. The bot must understand user intents in English, Spanish, and French. You have pre-existing labeled data in English only. The solution should minimize manual labeling effort. Which approach should you recommend?

A.Use Azure AI Translator to detect the language and route to a rules-based intent handler for each language.
B.Build a separate CLU project for each language and use the English data to bootstrap labeling with active learning.
C.Use the multilingual option in conversational language understanding (CLU) and train on the English data only.
D.Translate the English labeled data into Spanish and French using Azure AI Translator, then train a separate CLU model per language.
AnswerC

The multilingual option leverages the model's cross-lingual capabilities, allowing you to train on one language and predict intents in multiple languages without additional labeled data.

Why this answer

Option A is correct because the multilingual option in conversational language understanding (CLU) allows training on English data and generalizing to other languages without additional labeled data. Option B is wrong because translate-train requires translating the entire dataset, which is extra effort. Option C is wrong because building separate projects for each language increases maintenance and labeling effort.

Option D is wrong because Azure AI Translator does not handle intent detection.

698
MCQmedium

You are implementing a knowledge mining solution using Azure AI Search with a custom skillset. The custom skill is an Azure Function that enriches documents with additional metadata. You need to ensure that the custom skill receives the entire document content as input. How should you configure the skill's context and inputs?

A.Set context to '/document/content' and input source to '/document/metadata'.
B.Set context to '/document/content' and input source to '/document/content'.
C.Set context to '/document' and input source to '/document/normalized_images/*'.
D.Set context to '/document' and input source to '/document/content'.
AnswerD

Correct: passes entire content.

Why this answer

To pass the entire document, set context to '/document' and inputs to reference '/document/content'. Option A passes only the content. Option B passes only metadata.

Option D uses wrong path separators.

699
Multi-Selecthard

A company uses Azure AI Speech to provide real-time transcription for customer support calls. The solution must handle multiple languages and filter out profanity. Which THREE configurations are needed?

Select 3 answers
A.Use the Batch Transcription REST API
B.Deploy a custom speech model for each language
C.Set the SpeechConfig.SpeechRecognitionLanguage property
D.Use the Speech SDK with intermediate results
E.Enable the ProfanityFilter option in the Speech SDK
AnswersC, D, E

Sets the source language for recognition.

Why this answer

Options A, B, and D are correct. SpeechConfig with source language configuration, profanity filter settings, and using the Speech SDK with intermediate results are necessary. Option C is wrong because batch transcription is not real-time.

Option E is wrong because custom speech models are not required for profanity filtering.

700
MCQeasy

You need to translate a large batch of documents from English to multiple languages. Which Azure service should you use?

A.Azure AI Translator
B.Conversational Language Understanding
C.Azure AI Language Detection
D.Azure AI Speech Translation
AnswerA

Translator supports batch translation for multiple languages.

Why this answer

Azure AI Translator is the correct service for text translation. Speech Translation is for real-time speech. Language Detection identifies language.

CLU is for intents.

701
MCQhard

Refer to the exhibit. A developer runs this PowerShell script to call Azure OpenAI. The script fails with an authentication error. What is the most likely cause?

A.The script uses the wrong HTTP header; it should use 'api-key' instead of 'Authorization: Bearer'.
B.The script uses the wrong HTTP method; it should use GET.
C.The API version is incorrect.
D.The endpoint URI is missing the resource name.
AnswerA

Azure OpenAI uses the 'api-key' header for key-based authentication.

Why this answer

The script uses 'Authorization: Bearer' header, but Azure OpenAI requires the API key to be passed in the 'api-key' header. The 'Authorization: Bearer' header is used for Azure AD token-based authentication, not for direct API key authentication. Since the script is using an API key (as indicated by the PowerShell script), the correct header is 'api-key'.

Exam trap

The trap here is that candidates confuse Azure OpenAI's API key authentication with Azure AD token authentication, assuming 'Authorization: Bearer' is always correct, when in fact the header name differs based on the authentication method.

How to eliminate wrong answers

Option A is correct because Azure OpenAI API key authentication requires the 'api-key' header, not 'Authorization: Bearer'. Option B is wrong because the Azure OpenAI chat completions endpoint requires a POST method, not GET, to send the prompt and parameters in the request body. Option C is wrong because the API version is specified in the URI (e.g., '2023-12-01-preview') and an incorrect version would return a '400 Bad Request' or '404 Not Found', not an authentication error.

Option D is wrong because the endpoint URI includes the resource name (e.g., 'https://<resource>.openai.azure.com'), and a missing resource name would cause a DNS resolution failure or '404 Not Found', not an authentication error.

702
MCQhard

Refer to the exhibit. You are configuring an agent in Azure AI Agent Service. You want the agent to be able to execute Python code and call a custom function to get weather data. What is the issue with the JSON configuration?

A.The function definition is missing the 'strict' parameter
B.The 'code_interpreter' tool type should be 'code_interpreter' not 'code_interpreter'
C.The model 'gpt-4o' is not supported
D.The 'assistant_id' should be a thread ID
AnswerA

The 'strict' parameter is required for function definitions.

Why this answer

The function definition is missing the 'strict' parameter, which is required for function calling in the current API. The other parameters are correct. The model name is valid, and the code_interpreter tool is correctly enabled.

703
MCQmedium

You are reviewing an index definition created with PowerShell. The index is used for a knowledge mining solution that extracts people and organizations from documents. Users report that when they type partial names in the search bar, the suggester does not return suggestions. What is the most likely reason?

A.The people and organizations fields should be Edm.String instead of Collection(Edm.String)
B.The id field is not defined as a key in the index
C.The suggester sourceFields do not include people or organizations
D.The suggester searchMode should be 'analyzingInfixMatching' which is incorrect
AnswerC

Suggestions are only generated from the content field.

Why this answer

Option C is correct because the suggester's sourceFields only include "content", not the "people" or "organizations" fields. Users likely want suggestions from those entity fields. Option A is wrong because the key field is required and correct.

Option B is wrong because the suggester mode is valid. Option D is wrong because the fields are correctly defined as collections.

704
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

Option C is correct because middleware runs on every incoming message and can translate before the bot logic runs, minimizing latency by avoiding multiple round trips. Option A is wrong because translating in the activity handler would still be in the pipeline but more coupled. Option B is wrong because the language detection API is separate.

Option D is wrong because client-side translation is not possible in this scenario.

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

706
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

Option C is correct because 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.

707
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

Option B is correct because Custom Vision does not have built-in drift detection, so you must capture new images and labels, then retrain the model in the cloud and redeploy the updated container. Option A is wrong because Custom Vision does not provide automatic retraining based on feedback. Option C is wrong because Azure Machine Learning is not directly integrated with Custom Vision for this purpose.

Option D is wrong because there is no built-in drift detection; you must implement custom monitoring.

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

709
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

Option C is correct because 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.

710
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

Option C is correct because the health text analytics feature (or general entity linking and relation extraction) is not directly for topic evolution; however, Azure AI Language includes a 'custom text classification' that can be trained to classify documents into topics. But the question asks for 'identify emerging topics over time' – the correct answer is to use the 'custom text classification' with a model that categorizes feedback into topic categories and then track changes over time. However, among the options, the 'entity linking' and 'key phrase extraction' are not designed for topic evolution.

The best answer is C because Azure AI Language's 'custom text classification' allows you to define categories and classify documents, enabling trend analysis. Option A (key phrase extraction) can be used to identify key terms but not to group them into topics. Option B (named entity recognition) identifies entities but not topics.

Option D (conversation summarization) is for conversations, not survey text. So C is correct.

711
MCQmedium

Refer to the exhibit. You are designing a Data Factory pipeline to perform sentiment analysis on a text column. The pipeline fails with a 'BadRequest' error. What is the most likely issue?

A.The output variable 'sentimentResult' is not defined
B.The activity type should be 'AzureFunction'
C.The input format is incorrect; it should be a JSON array of documents
D.The linked service name is misspelled
AnswerC

The Cognitive Service activity requires input as a JSON object with 'documents' array, not a single string.

Why this answer

The Cognitive Service activity expects a specific format for the input, typically a JSON structure with 'documents' array. The current input is just the text value, which is incorrect. The linked service name is correct.

The activity type is appropriate. The output reference is not causing the error.

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

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

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

715
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 from invoices, and Azure AI Vision OCR can extract text from images. Option A is incorrect because Azure AI Language doesn't process images. Option B is incorrect because Azure AI Search is for indexing, not extraction.

Option D is incorrect because Azure AI Translator is for translation.

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

717
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

The correct answer is to use Azure AI Document Intelligence Read for OCR and then Azure AI Translator for translation. Read supports multiple languages and preserves layout, and Translator can translate the extracted text. Option A is wrong because Azure AI Vision OCR does not preserve layout as well.

Option C is wrong because Azure AI Language is for NLP tasks, not translation. Option D is wrong because Azure AI Speech is for speech-to-text, not OCR.

718
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

Option B is correct because the SplitSkill splits the document into pages, and the SentimentSkill runs per page. If the split output is not properly mapped, sentiment only runs on the first page. Option A is wrong because the skill order is correct (split before sentiment).

Option C is wrong because the skill version is V3, which is valid. Option D is wrong because the context is correct.

719
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

Option C is correct because 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.

720
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

Option C is correct because 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.

721
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

Option D is correct because Document Intelligence (formerly Form Recognizer) extracts text from documents (including scanned images), and Custom Entity Extraction in Azure AI Language extracts the needed entities. Option A is wrong because Translator is for translation, not extraction. Option B is wrong because Computer Vision can read text but does not extract custom entities.

Option C is wrong because Speech is for audio, not documents.

722
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

Option A (Azure AI Vision) includes OCR and handwriting recognition. Option D (Azure AI Document Intelligence) is optimized for document extraction including handwriting. Option B is for search, not OCR.

Option C is for text analytics. Option E is for speech.

723
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

Options A, B, and D are correct. A: Create a custom classification model to differentiate document types. B: Label at least 5 samples per class to train the classifier.

D: Use the classification model as part of a composed model or in a workflow. Option C is wrong because prebuilt models are for extraction, not classification. Option E is wrong because training with only one sample is insufficient.

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

725
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

Option C is correct because Azure OpenAI Service includes DALL-E models for image generation from text. Option A is wrong because Azure Machine Learning is for custom model training, not directly for DALL-E. Option B is wrong because Azure AI Vision is for image analysis, not generation.

Option D is wrong because Azure AI Language is for text processing.

726
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

Option B is correct. 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.

727
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

Deploying resources in multiple regions, using a load balancer to distribute traffic, and using a global endpoint provide high availability. Single region and disabling regional endpoints do not improve resilience.

728
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
AnswerA

Active learning enables the model to learn from conversational context and handle multiple intents.

Why this answer

Option B is correct because active learning allows the model to learn from user interactions and adapt to multi-intent scenarios. Option A is wrong because orchestration workflow is for routing to different skills, not for multi-intent within a single skill. Option C is wrong because prebuilt domain components are fixed and not adaptive.

Option D is wrong because dynamic entity extraction is about entities, not intents.

729
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

Option B is correct because 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.

730
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

Option D is correct because 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.

731
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

Option D is correct because it uses Azure OpenAI's batch API to process all product descriptions in a single asynchronous job, which is cost-effective (pay-per-page) and scalable without requiring model retraining. The batch output is stored in Azure Blob Storage and then imported into Azure SQL Database, meeting the requirement for a cost-effective, scalable solution that avoids retraining.

Exam trap

The trap here is that candidates may choose Option B (Azure Logic Apps) because it seems like a straightforward orchestration solution, but they overlook the scalability and cost implications of making individual API calls for each product, which is inefficient for batch processing at scale.

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.

732
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

Option C is correct because converting the model to TensorFlow and using the Deep Learning module on IoT Edge with hardware acceleration (e.g., Intel OpenVINO) can significantly reduce latency. Option A is wrong because moving to the cloud increases network latency. Option B is wrong because increasing image resolution increases processing time.

Option D is wrong because retraining with more images does not reduce inference latency.

733
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 can use a document understanding model to classify documents and extract entities. Option A is wrong because Syntex does not use the out-of-the-box entity extraction from AI Builder directly; it uses its own models. Option B is wrong because Power Automate with AI Builder is a separate approach, not integrated with Syntex.

Option D is wrong because Azure AI Search is not needed for this scenario.

734
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

Option C is correct because Azure AI Document Intelligence's pre-built layout model can extract checkboxes, signatures, and handwritten text. Option A is wrong because Azure AI Language works with typed text. Option B is wrong because Azure AI Speech is for audio.

Option D is wrong because Azure AI Computer Vision (now part of Azure AI Vision) provides OCR but not form-specific extraction.

735
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
AnswerA

Stepwise strategy ensures API is called only when needed.

Why this answer

Option D is correct because a SequentialPlanner combined with a stepwise strategy ensures the agent only invokes the API when the context explicitly requires it, reducing token waste. Option A is incorrect because AutoInvoke with greedy planning may over-call APIs. Option B is incorrect because ManualInvoke requires user intervention, defeating autonomy.

Option C is incorrect because ParallelPlanner may invoke multiple APIs concurrently, increasing token usage.

736
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

Option C is correct because Key Phrase Extraction is a built-in feature of Azure AI Language. Option A is incorrect because sentiment analysis detects sentiment, not key phrases. Option B is incorrect because entity recognition identifies entities like names and dates.

Option D is incorrect because language detection identifies the language of the text.

737
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

Option B is correct because 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.

738
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

Option C is correct because 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.

739
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

Option C is correct because Azure AI Search cannot index encrypted documents; the solution is to decrypt the PDF before uploading or use a decryption step. Option A is incorrect because indexers can handle large files (up to 16 MB). Option B is incorrect because unsupported file types would give a different error.

Option D is incorrect because the indexer does not need a specific parser for encrypted files.

740
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

Option D is correct because Azure AI Content Safety provides customizable content filters that can be tailored to organizational policies. Option A is wrong because Azure AD provides authentication, not content filtering. Option B is wrong because while it has some safety, it is not as customizable as Content Safety.

Option C is wrong because responsible AI templates are guidelines, not a deployable filter.

741
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

Option B is correct because custom NER models can be called via a custom skill in the skillset. Option A is wrong because the built-in Entity Recognition skill cannot use custom models. Option C is wrong because Language Understanding is not for NER.

Option D is wrong because the indexer does not directly call external APIs; skills do.

742
MCQeasy

You need to analyze a video stream from a security camera to count the number of people entering a building. Which Azure AI service is most suitable?

A.Azure AI Spatial Analysis
B.Azure AI Custom Vision
C.Azure AI Computer Vision
D.Azure AI Video Indexer
AnswerD

Video Indexer provides video analysis including people counting.

Why this answer

Option A is correct because Azure AI Video Indexer can analyze video streams and detect people. Custom Vision (B) would require custom training for each camera setup. Computer Vision (C) is for images, not video streams.

Spatial Analysis (D) is a part of Computer Vision but is designed for spatial understanding; Video Indexer is more straightforward for counting people in video.

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

744
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

Option A is correct because the Contributor role allows creating and managing resources within the workspace but not deleting the workspace itself. Option B is wrong because Reader is read-only. Option C is wrong because Owner allows full control including deletion.

Option D is wrong because User Access Administrator focuses on permissions.

745
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

Option C is correct because 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.

746
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

Option A is correct because 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.

747
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 template sets network access to Deny with no IP rules, blocking all traffic. You must add your public IP address to the ipRules array to allow access. Disabling network ACLs globally or using managed identity won't help if network access is denied.

748
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

Option A is correct because 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.

749
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

Option A is correct because 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.

750
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

Option A is correct because the Analyze Image API with the adult parameter is designed to detect adult, racy, and gory content. Describe Image (B) generates captions. OCR (C) extracts text.

Tag Image (D) returns tags.

Page 9

Page 10 of 14

Page 11