Question 900
An engineer is troubleshooting Prompt-injection separation. The investigation finds: Executing directions inside retrieved text lets outsiders influence agent behavior. What should the engineer prioritize?
- Treat documents as evidence only and restrict what tools can disclose or execute.
- Budget tokens and retrieve the most relevant sections when necessary.
- Use clear structure and unambiguous references in prompts.
- Reduce sampling variability and still validate the output schema.
- Measure prompts and expected outputs using the tokenizer appropriate to the model.
Explanation
Correct Answer
A:Prompt-injection separation is meant to achieve this result: instruction hierarchy and data boundaries distinguish trusted instructions from untrusted content; the cited corrective step addresses the concrete error in this workflow, where executing directions inside retrieved text lets outsiders influence agent behavior.
Incorrect Answers
B:For Context window budget, the underlying goal is that context windows constrain how much input and output a model can process in one request, and a typical action is to budget tokens and retrieve the most relevant sections when necessary; that action alone does not resolve the identified Prompt-injection separation weakness.
C:The proposed activity is appropriate to Transformer attention, whose function is that attention mechanisms model relationships among tokens within available context; the actual remediation needs to target Prompt-injection separation, specifically the issue that executing directions inside retrieved text lets outsiders influence agent behavior.
D:Work involving Temperature sampling would normally reduce sampling variability and still validate the output schema, because lower temperature typically concentrates sampling on higher-probability tokens; it would not directly correct the Prompt-injection separation problem where executing directions inside retrieved text lets outsiders influence agent behavior.
E:Tokenization is relevant when assuming one character equals one token leads to faulty prompt-size estimates, and work on it might measure prompts and expected outputs using the tokenizer appropriate to the model; the stem instead describes a Prompt-injection separation failure in which executing directions inside retrieved text lets outsiders influence agent behavior.
Question 901
The documented technical capability is that language detection estimates text language to guide later processing. A reviewer checks whether Language detection call is being used appropriately. Which warning best matches its technical boundary?
- A raw summary is not a typed list of named entities.
- Single-label sentiment loses the distinction between service and food.
- Creating a resource without making an analysis request produces no results.
- Keyword lists alone miss decisions and responsibilities.
- Sentiment categories do not indicate which translation model to select.
- A general NER result does not guarantee the required PII coverage.
Explanation
Correct Answer
E:For Language detection call, the identified risk undermines this benefit: language detection estimates text language to guide later processing; therefore a targeted validation would evaluate detected language and apply a low-confidence fallback.
Incorrect Answers
A:The alternative risk relates to Named entity extraction call, in which a raw summary is not a typed list of named entities; that does not directly verify the particular failure condition of Language detection call.
B:This is a plausible warning about Opinion target extraction, because opinion mining associates polarity with particular discussed aspects; it is less diagnostic for Language detection call, whose boundary is exposed when sentiment categories do not indicate which translation model to select.
C:Azure Language client setup is associated with the problem where creating a resource without making an analysis request produces no results; a review of Language detection call should instead investigate whether sentiment categories do not indicate which translation model to select, not that neighboring case.
D:The described issue pertains to Summarization pipeline in cases where keyword lists alone miss decisions and responsibilities; the central failure mode for Language detection call is different, specifically that sentiment categories do not indicate which translation model to select.
F:This is a plausible warning about PII analysis call, because PII detection identifies sensitive categories and offsets useful for masking; it is less diagnostic for Language detection call, whose boundary is exposed when sentiment categories do not indicate which translation model to select.
Question 902
The implementation plan includes this step: Include verified speaker segmentation in the input or postprocessing. During a design walkthrough of Speaker-sensitive audio handling, which effect should the engineer describe?
- Voice agents need conversation context as well as the current audio segment.
- Streaming and appropriately chosen real-time audio processing can reduce perceived latency.
- Turn-detection controls determine when an audio input segment is considered complete.
- Reliable attribution requires speech-turn or speaker labeling rather than a plain text transcript alone.
Explanation
Correct Answer
D:The observed behavior is distinctive for Speaker-sensitive audio handling: reliable attribution requires speech-turn or speaker labeling rather than a plain text transcript alone; the reviewer can validate that contract by choosing to include verified speaker segmentation in the input or postprocessing.
Incorrect Answers
A:A tester of Audio prompt context preservation may reasonably look for this behavior since voice agents need conversation context as well as the current audio segment; a Speaker-sensitive audio handling test should examine its own function rather than that neighbor.
B:Multimodal audio latency planning is expected to produce the described result as streaming and appropriately chosen real-time audio processing can reduce perceived latency; the question tests Speaker-sensitive audio handling, where success depends on whether reliable attribution requires speech-turn or speaker labeling rather than a plain text transcript alone.
C:The cited result comes from Turn detection in voice conversations because turn-detection controls determine when an audio input segment is considered complete; it cannot serve as the main success criterion for Speaker-sensitive audio handling, which addresses a different task.
Question 903
A design review of Generative drafting workload identifies this gap: A rules-only keyword counter cannot create a coherent contextual draft. Which measure best closes that gap?
- Require a verified human confirmation before exposing the transfer tool action.
- Expose a scoped order lookup tool and check its authorization.
- Configure narrow tools and approvals for write operations.
- Include safe tool-use scenarios and inspect traces for policy violations.
- Provide relevant facts and require human review of consequential wording.
Explanation
Correct Answer
E:Correcting the behavior of Generative drafting workload requires dealing with the case where a rules-only keyword counter cannot create a coherent contextual draft; the expected mechanism remains that generative AI composes novel text from instructions and supplied context.
Incorrect Answers
A:For Human-in-the-loop agent action, the underlying goal is that approval gates keep high-impact actions under explicit human control, and a typical action is to require a verified human confirmation before exposing the transfer tool action; that action alone does not resolve the identified Generative drafting workload weakness.
B:The proposed activity is appropriate to Agent tool invocation workload, whose function is that an agent can plan a tool invocation and use returned data to complete a task; the actual remediation needs to target Generative drafting workload, specifically the issue that a rules-only keyword counter cannot create a coherent contextual draft.
C:Work involving Single-agent task workflow would normally configure narrow tools and approvals for write operations, because a single agent combines instructions, a model, and a limited tool set for task completion; it would not directly correct the Generative drafting workload problem where a rules-only keyword counter cannot create a coherent contextual draft.
D:Agent evaluation is relevant when measuring only text similarity misses inappropriate tool execution, and work on it might include safe tool-use scenarios and inspect traces for policy violations; the stem instead describes a Generative drafting workload failure in which a rules-only keyword counter cannot create a coherent contextual draft.
Question 904
A rollout using Speech configuration endpoint surfaces this problem: Valid keys cannot repair requests sent to the wrong service endpoint. Which practical response directly addresses it?
- Set the correct regional endpoint or resource details and authorized credential.
- Configure the source and one or more supported translation targets.
- Bind the intended microphone stream to the speech recognizer.
- Configure speech credentials, language, and microphone input for recognition.
Explanation
Correct Answer
A:Speech configuration endpoint is meant to achieve this result: speech configuration selects the resource and authorization context for calls; the cited corrective step addresses the concrete error in this workflow, where valid keys cannot repair requests sent to the wrong service endpoint.
Incorrect Answers
B:For Speech translation recognizer, the underlying goal is that speech translation recognition combines speech input with target-language conversion, and a typical action is to configure the source and one or more supported translation targets; that action alone does not resolve the identified Speech configuration endpoint weakness.
C:The proposed activity is appropriate to Microphone audio configuration, whose function is that audio configuration selects where recognition input arrives from; the actual remediation needs to target Speech configuration endpoint, specifically the issue that valid keys cannot repair requests sent to the wrong service endpoint.
D:Work involving Speech SDK recognition client would normally configure speech credentials, language, and microphone input for recognition, because a speech recognizer connects an audio source and speech configuration to recognition services; it would not directly correct the Speech configuration endpoint problem where valid keys cannot repair requests sent to the wrong service endpoint.
Question 905
The documented technical capability is that a Language client or supported REST request sends text to specialized NLP endpoints. A developer is debugging an application that uses Azure Language client setup. Which problem points most directly to misuse?
- Permanent unrestricted transcript logs are not required for every analytic task.
- A positive overall label does not reveal every critical phrase.
- Treating partial failures as complete success silently drops records.
- A raw summary is not a typed list of named entities.
- Creating a resource without making an analysis request produces no results.
Explanation
Correct Answer
E:For Azure Language client setup, the identified risk undermines this benefit: a Language client or supported REST request sends text to specialized NLP endpoints; therefore a targeted validation would initialize the appropriate client with authorized credentials and endpoint.
Incorrect Answers
A:The alternative risk relates to NLP privacy boundary, in which permanent unrestricted transcript logs are not required for every analytic task; that does not directly verify the particular failure condition of Azure Language client setup.
B:This is a plausible warning about Sentiment scoring interpretation, because sentiment analysis returns polarity information for the evaluated text; it is less diagnostic for Azure Language client setup, whose boundary is exposed when creating a resource without making an analysis request produces no results.
C:Language service error handling is associated with the problem where treating partial failures as complete success silently drops records; a review of Azure Language client setup should instead investigate whether creating a resource without making an analysis request produces no results, not that neighboring case.
D:The described issue pertains to Named entity extraction call in cases where a raw summary is not a typed list of named entities; the central failure mode for Azure Language client setup is different, specifically that creating a resource without making an analysis request produces no results.
Question 906
The implementation plan includes this step: Apply confidence checks and inspect representative tagging errors. Before approving Image tag scoring, a reviewer asks for a clear functional outcome. Which one is appropriate?
- Image tags provide descriptive category predictions, often with confidence estimates.
- OCR returns recognized text with associated layout details in supported responses.
- Valid image encoding, size, and request structure are prerequisites for vision analysis.
- Valid resource-scoped credentials and endpoint configuration are necessary for authorized calls.
- Image feature support and lifecycle vary by API and model generation.
Explanation
Correct Answer
A:A working Image tag scoring component yields this result because image tags provide descriptive category predictions, often with confidence estimates; testing should confirm it while checking for conditions where treating low-confidence tags as certain can pollute the search index.
Incorrect Answers
B:OCR result interpretation is expected to produce the described result as OCR returns recognized text with associated layout details in supported responses; the question tests Image tag scoring, where success depends on whether image tags provide descriptive category predictions, often with confidence estimates.
C:The cited result comes from Vision API input validation because valid image encoding, size, and request structure are prerequisites for vision analysis; it cannot serve as the main success criterion for Image tag scoring, which addresses a different task.
D:This observation is relevant to Visual analysis authorization, whose behavior is that valid resource-scoped credentials and endpoint configuration are necessary for authorized calls; an acceptance test of Image tag scoring instead needs to establish that image tags provide descriptive category predictions, often with confidence estimates.
E:A tester of Vision-feature version check may reasonably look for this behavior since image feature support and lifecycle vary by API and model generation; a Image tag scoring test should examine its own function rather than that neighbor.
Question 907
An agent must shorten a long customer call transcript while keeping the documented action items. Which design choice addresses the business requirement most precisely?
- Opinion target extraction
- Summarization pipeline
- Custom classification labels
- NLP privacy boundary
- Language service error handling
Explanation
Correct Answer
B:Choosing Summarization pipeline gives the workflow the required function: summarization transforms long text into a concise account of essential information; engineers can verify the choice by choosing to summarize the transcript and review whether key commitments survived compression.
Incorrect Answers
A:The function of Opinion target extraction is that opinion mining associates polarity with particular discussed aspects; although it may complement the overall solution, Summarization pipeline is the capability tied to the actual requested outcome.
C:Choosing Custom classification labels would target the behavior where custom text classification predicts domain-specific classes learned from labeled examples; the scenario instead needs Summarization pipeline, which achieves a different goal because summarization transforms long text into a concise account of essential information.
D:NLP privacy boundary normally serves work in which minimized text submission and controlled storage reduce exposure from NLP workflows; this case calls for Summarization pipeline, for which summarization transforms long text into a concise account of essential information, rather than that adjacent result.
E:The function of Language service error handling is that validation and service responses indicate which requests are malformed or unsupported; although it may complement the overall solution, Summarization pipeline is the capability tied to the actual requested outcome.
Question 908
A new tool-enabled assistant answers questions but sometimes invokes a dangerous operation. Which method gives the team the most relevant capability?
- Single-agent task workflow
- Agent tool invocation workload
- Agent evaluation
- Human-in-the-loop agent action
Explanation
Correct Answer
C:Agent evaluation is appropriate because agent evaluation must test tool decisions and outcomes in addition to final answer quality; in the described case, the implementation should include safe tool-use scenarios and inspect traces for policy violations to avoid the problem that measuring only text similarity misses inappropriate tool execution.
Incorrect Answers
A:Single-agent task workflow normally serves work in which a single agent combines instructions, a model, and a limited tool set for task completion; this case calls for Agent evaluation, for which agent evaluation must test tool decisions and outcomes in addition to final answer quality, rather than that adjacent result.
B:The function of Agent tool invocation workload is that an agent can plan a tool invocation and use returned data to complete a task; although it may complement the overall solution, Agent evaluation is the capability tied to the actual requested outcome.
D:Choosing Human-in-the-loop agent action would target the behavior where approval gates keep high-impact actions under explicit human control; the scenario instead needs Agent evaluation, which achieves a different goal because agent evaluation must test tool decisions and outcomes in addition to final answer quality.
Question 909
The implementation plan includes this step: Use a supported image-generation model and review generated content before publication. The operator wants evidence that Image generation model is being used for the intended workload. What evidence is relevant?
- A structured extraction model or analyzer maps document content to named fields.
- An embedding model turns text into vectors suitable for similarity-based retrieval.
- Speech recognition converts captured audio into text suitable for search and captioning.
- Model selection should consider reasoning capability, reliability, latency, and cost rather than model size alone.
- An image-generation model creates novel visual assets from a prompt.
- A vision-capable multimodal model can interpret image and text inputs together.
Explanation
Correct Answer
E:The observed behavior is distinctive for Image generation model: an image-generation model creates novel visual assets from a prompt; the reviewer can validate that contract by choosing to use a supported image-generation model and review generated content before publication.
Incorrect Answers
A:Specialized extraction model is expected to produce the described result as a structured extraction model or analyzer maps document content to named fields; the question tests Image generation model, where success depends on whether an image-generation model creates novel visual assets from a prompt.
B:The cited result comes from Text embedding model because an embedding model turns text into vectors suitable for similarity-based retrieval; it cannot serve as the main success criterion for Image generation model, which addresses a different task.
C:This observation is relevant to Speech recognition model, whose behavior is that speech recognition converts captured audio into text suitable for search and captioning; an acceptance test of Image generation model instead needs to establish that an image-generation model creates novel visual assets from a prompt.
D:A tester of Reasoning-capable language model may reasonably look for this behavior since model selection should consider reasoning capability, reliability, latency, and cost rather than model size alone; a Image generation model test should examine its own function rather than that neighbor.
F:The cited result comes from Multimodal interpretation model because a vision-capable multimodal model can interpret image and text inputs together; it cannot serve as the main success criterion for Image generation model, which addresses a different task.
Question 910
The documented technical capability is that input modalities depend on the model and deployment capabilities. The operations group studies unsuccessful uses of Vision model suitability check. Which failure pattern deserves particular attention?
- Converting a photo to a model prompt does not remove its privacy risk.
- Vague prompts produce broad descriptions rather than targeted safety checks.
- Appending an image field does not turn a text-only model into a vision model.
- A fluent numeral in the answer is not evidence the pixels supported that value.
Explanation
Correct Answer
C:The normal function of Vision model suitability check is that input modalities depend on the model and deployment capabilities; the keyed warning describes how its use can go wrong, so verification should verify the chosen model supports visual input before constructing the request.
Incorrect Answers
A:The described issue pertains to Visual-content safeguards in cases where converting a photo to a model prompt does not remove its privacy risk; the central failure mode for Vision model suitability check is different, specifically that appending an image field does not turn a text-only model into a vision model.
B:The alternative risk relates to Visual-question specificity, in which vague prompts produce broad descriptions rather than targeted safety checks; that does not directly verify the particular failure condition of Vision model suitability check.
D:Visual uncertainty review is associated with the problem where a fluent numeral in the answer is not evidence the pixels supported that value; a review of Vision model suitability check should instead investigate whether appending an image field does not turn a text-only model into a vision model, not that neighboring case.