Question 1020
A digital accessibility service passed its test to prevent an evaluation script from changing production deployments through the approach “Use Microsoft Entra authorization and least privilege for project access”. It failed a different test to implement a content-safety boundary beyond simple prompt instructions. Which change resolves the failed test?
- Reject prompt-injection attempts from retrieved or tool-returned text
- Audit sensitive agent actions and protect telemetry data
- Apply content filters and safety policy at supported model endpoints
- Use Microsoft Entra authorization and least privilege for project access
Explanation
Correct Answer
C:The second test calls for a capability that can implement a content-safety boundary beyond simple prompt instructions. safety controls can screen incoming prompts and generated content according to configured risk categories; this supplements authorization and must be tested for the target use case; this is the missing implementation, rather than another adjustment to Use Microsoft Entra authorization and least privilege for project access.
Incorrect Answers
A:This alternative addresses a separate task to isolate untrusted retrieval text from privileged application controls, not the explicit requirement to implement a content-safety boundary beyond simple prompt instructions; its mechanism is that external material should be treated as data and denied authority to change system instructions or access permissions; tool execution needs independent validation; the requested outcome demands a different operation.
B:If the target were to investigate an unexpected privilege-change request through an agent, this would be useful; however the acceptance test is to implement a content-safety boundary beyond simple prompt instructions; its technical role is that logs and traces help attribute privileged tool usage and detect misuse, but must follow access and data-retention policies; observability should not become a new source of secret leakage; it does not resolve the stated gap.
D:The previously considered capability is useful to prevent an evaluation script from changing production deployments, whereas the present acceptance test is to implement a content-safety boundary beyond simple prompt instructions; its mechanism is that authenticated identities should receive only the permissions needed for their project and resource operations; broad access increases the impact of stolen tokens or mistaken commands; it does not itself deliver the new requirement.
Question 1021
A feature request for a factory operations assistant reads: “show an English version of a customer message written in Italian.” Which technical approach is most directly applicable?
- Apply sentiment analysis to determine expressed polarity
- Apply personally identifiable information detection to find sensitive spans
- Apply key phrase extraction to find central topics
- Apply text translation to change the message language
Explanation
Correct Answer
D:The requested outcome is to show an English version of a customer message written in Italian; this action is the focused implementation: translation conveys content from one language to another while aiming to preserve meaning; detecting the source language alone does not produce translated text; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:This choice addresses a separate goal to track how opinions change after a product launch, which is different from the requested outcome to show an English version of a customer message written in Italian; the relevant technical behavior is sentiment classification estimates whether text expresses positive, negative, neutral, or mixed sentiment; it does not establish a customer's actual intention or verify claims; this is not the focused implementation here.
B:Its role is to flag sensitive personal details before analysis, while the present test is about the ability to show an English version of a customer message written in Italian; the underlying operation is that PII analysis identifies text segments corresponding to personal identifiers for redaction or review; the operation differs from general entity detection because the objective is privacy-sensitive content; the two needs must not be conflated.
C:This alternative addresses a separate task to surface important terms from an article for search indexing, not the explicit requirement to show an English version of a customer message written in Italian; its mechanism is that key phrase extraction identifies salient words and short phrases in text without requiring a manually predefined set of topic labels; it is different from detecting named entities or measuring emotional polarity; the requested outcome demands a different operation.
Question 1022
A feature request for a customer-service automation app reads: “improve a rubric using labeled examples from real cases.” Which technical approach is most directly applicable?
- Collect user feedback and expert labels for quality improvement
- Evaluate an agent against representative task scenarios
- Compare model versions with an explicit regression set
- Measure latency and failure rates for deployed inference
Explanation
Correct Answer
A:The requested outcome is to improve a rubric using labeled examples from real cases; this action is the focused implementation: human feedback provides evidence about usefulness, correctness, and harmful behavior, especially where automated metrics are limited; samples should be reviewed against explicit criteria; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
B:This alternative addresses a separate task to quantify whether an agent follows its operating boundaries, not the explicit requirement to improve a rubric using labeled examples from real cases; its mechanism is that scenario-based evaluation tests whether the agent completes intended work within defined constraints; A single successful demo conversation is insufficient for production confidence; the requested outcome demands a different operation.
C:If the target were to catch a new deployment that stops returning required JSON keys, this would be useful; however the acceptance test is to improve a rubric using labeled examples from real cases; its technical role is that regression testing reruns stable representative inputs after changes to detect degradations in established behavior; model updates can improve one metric while breaking another; it does not resolve the stated gap.
D:This choice addresses a separate goal to observe authorization failures in model requests, which is different from the requested outcome to improve a rubric using labeled examples from real cases; the relevant technical behavior is telemetry such as response duration and unsuccessful requests evaluates operational health; it does not by itself measure whether the answer is correct; this is not the focused implementation here.
Question 1023
For a media processing service, the proposal “Use object detection for individual item locations” addresses the ability to return object positions instead of only a scene category. Which different action is needed when the requirement is to improve contrast before extracting faint printed text?
- Use object detection for individual item locations
- Use OCR to transcribe legible text in images
- Use segmentation to delineate detailed object regions
- Preprocess poor-quality images before inference
Explanation
Correct Answer
D:For the requirement to improve contrast before extracting faint printed text, this action has the relevant behavior: input correction or recapture can improve readability when blur, rotation, glare, or low resolution obstruct analysis; an unsuitable image cannot be repaired by assuming the model will guess correctly; by contrast, Use object detection for individual item locations addresses the separate goal to return object positions instead of only a scene category.
Incorrect Answers
A:The previously considered capability is useful to return object positions instead of only a scene category, whereas the present acceptance test is to improve contrast before extracting faint printed text; its mechanism is that object detection reports object classes and locations such as bounding boxes; it suits counting or locating multiple instances in an image; it does not itself deliver the new requirement.
B:Its role is to digitize a scanned handwritten note, while the present test is about the ability to improve contrast before extracting faint printed text; the underlying operation is that optical character recognition extracts characters and words from visual input; A description model may paraphrase text rather than preserve exact transcription; the two needs must not be conflated.
C:This alternative addresses a separate task to mark exact scene regions instead of approximate boxes, not the explicit requirement to improve contrast before extracting faint printed text; its mechanism is that segmentation identifies which pixels belong to a class or instance; it is more precise for shape measurement than a rectangular detection bounding box; the requested outcome demands a different operation.
Question 1024
In a business reporting workflow, the team has already implemented the action “Test interface flows with assistive technologies” to confirm that explanatory errors are announced by a screen reader. A separate test now requires the system to provide concise steps for users with limited technical vocabulary. Which additional action addresses this new requirement?
- Use plain-language summaries at adjustable reading levels
- Test interface flows with assistive technologies
- Offer accessible text alternatives for visual outputs
- Provide captions and transcripts for spoken content
Explanation
Correct Answer
A:The earlier implementation covers a different outcome; to provide concise steps for users with limited technical vocabulary, use this approach because clear wording and adjustable complexity help users with different literacy or cognitive needs; this is a usability decision, not proof that the underlying facts were validated; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
B:The previously considered capability is useful to confirm that explanatory errors are announced by a screen reader, whereas the present acceptance test is to provide concise steps for users with limited technical vocabulary; its mechanism is that screen readers, keyboard navigation, and focus management should be tested in the actual interface, not inferred from visual appearance; accessible operation depends on the whole user journey; it does not itself deliver the new requirement.
C:This alternative addresses a separate task to support image-based guidance without requiring visual perception, not the explicit requirement to provide concise steps for users with limited technical vocabulary; its mechanism is that descriptive alternative text helps people using screen readers understand essential visual meaning; it should convey useful context rather than simply say that an image exists; the requested outcome demands a different operation.
D:If the target were to allow deaf learners to follow a narrated training video, this would be useful; however the acceptance test is to provide concise steps for users with limited technical vocabulary; its technical role is that text counterparts of speech help people with hearing disabilities and enable searchable, reviewable records; good captions may also distinguish speakers or provide timing cues; it does not resolve the stated gap.
Question 1025
A developer checking an analyzer output contract finds {"type": "object", "properties": {"city": {"type": "string"}}}. What does the declaration establish?
- Request source-location and confidence information for a supported field
- Define a nested object containing a city property
- Configure a field with fixed classification labels
- Configure an inferred or summarized text field
Explanation
Correct Answer
B:The expression {"type": "object", "properties": {"city": {"type": "string"}}} has precisely this role: the nested properties mapping declares a composite field with a named city string, rather than flattening all address data into one text value.
Incorrect Answers
A:That description applies to a different expression, {"estimateSourceAndConfidence": true}: this analyzer setting enables evidence and confidence estimates when supported, allowing an application to review where an extracted value came from; it does not describe the operation of {"type": "object", "properties": {"city": {"type": "string"}}}.
C:That description applies to a different expression, {"method": "classify", "enum": ["yes", "no"]}: classify chooses among a predefined set of values such as yes and no; the analyzer is not asked to create arbitrary new categories; it does not describe the operation of {"type": "object", "properties": {"city": {"type": "string"}}}.
D:That description applies to a different expression, {"method": "generate", "type": "string"}: generate uses model interpretation to produce a field value, such as a summary, that need not appear verbatim in the source input; it does not describe the operation of {"type": "object", "properties": {"city": {"type": "string"}}}.
Question 1026
The proposed design adopts the action “Handle failed tool calls with a bounded recovery path” to explain a failed external lookup instead of fabricating its result. The implementation target for a claims-processing workflow is instead to review the result of an agent's access-change request. Which method fits the target?
- Use a retrieval tool for factual data not in model context
- Handle failed tool calls with a bounded recovery path
- Use a read-only API tool for inspecting live records
- Record tool invocations for accountable agent operations
Explanation
Correct Answer
D:For the requirement to review the result of an agent's access-change request, this action has the relevant behavior: audit evidence should include the authorized actor, attempted operation, outcome, and relevant identifiers within privacy limits; tool logs support investigations beyond the natural-language summary; by contrast, Handle failed tool calls with a bounded recovery path addresses the separate goal to explain a failed external lookup instead of fabricating its result.
Incorrect Answers
A:If the target were to look up a newly revised company policy during a conversation, this would be useful; however the acceptance test is to review the result of an agent's access-change request; its technical role is that retrieval tools can fetch authoritative current content during an agent run; this helps answer questions without granting unrelated write permissions; it does not resolve the stated gap.
B:The previously considered capability is useful to explain a failed external lookup instead of fabricating its result, whereas the present acceptance test is to review the result of an agent's access-change request; its mechanism is that tool errors such as timeouts or invalid parameters should be surfaced and retried only when safe; non-idempotent actions require care to avoid duplicate side effects; it does not itself deliver the new requirement.
C:Its role is to fetch a live inventory count during an answer, while the present test is about the ability to review the result of an agent's access-change request; the underlying operation is that A read-only tool can retrieve account or ticket state without making changes; separating it from mutating tools reduces risk when the task needs observation only; the two needs must not be conflated.
Question 1027
The team operating a government-service intake application recommends the approach “Apply named entity recognition to label people and organizations” to locate person and city references in incident reports. The acceptance criterion, however, is to summarize complaint themes as short topical phrases rather than complete sentences. Which approach should be selected instead?
- Apply document summarization to condense long prose
- Apply sentiment analysis to determine expressed polarity
- Apply key phrase extraction to find central topics
- Apply language detection to identify input language
- Apply named entity recognition to label people and organizations
Explanation
Correct Answer
C:For the requirement to summarize complaint themes as short topical phrases rather than complete sentences, this action has the relevant behavior: key phrase extraction identifies salient words and short phrases in text without requiring a manually predefined set of topic labels; it is different from detecting named entities or measuring emotional polarity; by contrast, Apply named entity recognition to label people and organizations addresses the separate goal to locate person and city references in incident reports.
Incorrect Answers
A:This choice addresses a separate goal to generate a concise overview of an extensive policy document, which is different from the requested outcome to summarize complaint themes as short topical phrases rather than complete sentences; the relevant technical behavior is summarization produces a concise representation of important information from a source; extractive approaches select existing sentences; abstractive approaches compose new wording; this is not the focused implementation here.
B:Its role is to detect broadly dissatisfied tone in a review collection, while the present test is about the ability to summarize complaint themes as short topical phrases rather than complete sentences; the underlying operation is that sentiment classification estimates whether text expresses positive, negative, neutral, or mixed sentiment; it does not establish a customer's actual intention or verify claims; the two needs must not be conflated.
D:If the target were to route incoming messages according to whether they are Spanish or French, this would be useful; however the acceptance test is to summarize complaint themes as short topical phrases rather than complete sentences; its technical role is that language detection infers the language or locale of provided text so a pipeline can select suitable downstream processing; it does not itself translate the content; it does not resolve the stated gap.
E:The previously considered capability is useful to locate person and city references in incident reports, whereas the present acceptance test is to summarize complaint themes as short topical phrases rather than complete sentences; its mechanism is that NER identifies spans such as person names, places, dates, and organizations and assigns entity categories; it extracts mentions, not a document's overall emotional tone; it does not itself deliver the new requirement.
Question 1028
For a field-inspection app, the proposal “Apply image quality checks before visual inference” addresses the ability to prompt a user to retake an overexposed ID image. Which different action is needed when the requirement is to respond to a question about objects relative to each other?
- Apply image generation to create synthetic pictures
- Apply image classification to assign a whole-image category
- Apply visual question answering with an image-capable model
- Apply image quality checks before visual inference
Explanation
Correct Answer
C:For the requirement to respond to a question about objects relative to each other, this action has the relevant behavior: vision-language systems can jointly interpret image input and a textual question; the resulting answer is contextual reasoning, not merely fixed category prediction; by contrast, Apply image quality checks before visual inference addresses the separate goal to prompt a user to retake an overexposed ID image.
Incorrect Answers
A:Its role is to create a fictional background for a game scene, while the present test is about the ability to respond to a question about objects relative to each other; the underlying operation is that generative image models synthesize new pictures from prompts rather than labeling existing images; output should be reviewed for safety, authenticity, and suitability; the two needs must not be conflated.
B:This alternative addresses a separate task to classify an entire leaf image by its disease category, not the explicit requirement to respond to a question about objects relative to each other; its mechanism is that image classification predicts a label for an image as a whole, such as damaged versus undamaged; it does not normally provide a separate bounding box for each object; the requested outcome demands a different operation.
D:The previously considered capability is useful to prompt a user to retake an overexposed ID image, whereas the present acceptance test is to respond to a question about objects relative to each other; its mechanism is that blurring, glare, cropping, low resolution, and occlusion can degrade image recognition; A preflight quality gate identifies unsuitable input before downstream inference; it does not itself deliver the new requirement.
Question 1029
While checking an agent deployment script, an engineer reviews agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition). Which reading is accurate?
- Specify an agent's model and stable behavioral instructions
- Choose a status indicator using a Python conditional expression
- Save a named version of the prompt agent definition
- Import the current prompt-agent definition type
Explanation
Correct Answer
C:The expression agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition) has precisely this role: the project agents API persists a version for a named agent so it can be tested or invoked; it is not a one-off inference call.
Incorrect Answers
A:That description applies to a different expression, definition = PromptAgentDefinition(model=MODEL, instructions=SYSTEM_RULES): the definition sets the model and persistent guidance for a prompt agent; it does not by itself save an agent version to the service; it does not describe the operation of agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition).
B:That description applies to a different expression, status = 429 if throttled else 200: the conditional expression evaluates throttled and selects one of the two numeric values; it is local Python logic rather than an HTTP call; it does not describe the operation of agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition).
D:That description applies to a different expression, from azure.ai.projects.models import PromptAgentDefinition: the model type represents a persistent prompt agent's model and instructions in the current Azure AI Projects SDK example; it does not describe the operation of agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition).
Question 1030
A feature request for a claims-processing workflow reads: “account for pronoun interpretation using words earlier in a paragraph.” Which technical approach is most directly applicable?
- Represent meaning with learned vector embeddings
- Tokenize text into model-specific token identifiers
- Identify hallucination as an unsupported generated claim
- Use attention to relate different positions in the input sequence
Explanation
Correct Answer
D:The requested outcome is to account for pronoun interpretation using words earlier in a paragraph; this action is the focused implementation: transformer attention helps representations incorporate relevant information from other tokens in context; it supports contextual relationships rather than requiring a fixed dictionary lookup for each word; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:Its role is to encode a product description for vector-based nearest-neighbor search, while the present test is about the ability to account for pronoun interpretation using words earlier in a paragraph; the underlying operation is that embeddings map text or other content into numeric vectors so semantically related items can be compared geometrically; they are useful for retrieval but are not themselves readable answer text; the two needs must not be conflated.
B:This alternative addresses a separate task to distinguish raw characters from identifiers fed into a language model, not the explicit requirement to account for pronoun interpretation using words earlier in a paragraph; its mechanism is that tokenization maps text to units such as subwords and punctuation for model processing; token counts depend on the tokenizer and need not equal word counts; the requested outcome demands a different operation.
C:If the target were to label a fabricated policy citation as a factual generation failure, this would be useful; however the acceptance test is to account for pronoun interpretation using words earlier in a paragraph; its technical role is that generative models can produce confident, fluent statements that do not follow from evidence; detecting hallucinations requires checking claims against trusted sources or constraints, not evaluating grammar alone; it does not resolve the stated gap.