Question 20
In a factory operations assistant, the team has already implemented the action “Apply key phrase extraction to find central topics” to surface important terms from an article for search indexing. A separate test now requires the system to mask account numbers in stored support transcripts. Which additional action addresses this new requirement?
- Apply personally identifiable information detection to find sensitive spans
- Apply language detection to identify input language
- Apply text translation to change the message language
- Apply key phrase extraction to find central topics
Explanation
Correct Answer
A:The earlier implementation covers a different outcome; to mask account numbers in stored support transcripts, use this approach because 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; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
B:Its role is to select a language-specific model after receiving text, while the present test is about the ability to mask account numbers in stored support transcripts; the underlying operation 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; the two needs must not be conflated.
C:This alternative addresses a separate task to bridge text communication between employees using different languages, not the explicit requirement to mask account numbers in stored support transcripts; its mechanism is that translation conveys content from one language to another while aiming to preserve meaning; detecting the source language alone does not produce translated text; the requested outcome demands a different operation.
D:The previously considered capability is useful to surface important terms from an article for search indexing, whereas the present acceptance test is to mask account numbers in stored support transcripts; 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; it does not itself deliver the new requirement.
Question 21
The team operating an internal policy assistant recommends the approach “Inspect agent traces to debug tool selection and response quality” to follow a failed multi-step workflow through its tool calls. The acceptance criterion, however, is to choose the underlying model and define how the agent should behave. Which approach should be selected instead?
- Define a prompt agent using a model plus persistent instructions
- Inspect agent traces to debug tool selection and response quality
- Limit an agent to approved task-relevant tools
- Test a new agent in the Foundry portal before production use
Explanation
Correct Answer
A:For the requirement to choose the underlying model and define how the agent should behave, this action has the relevant behavior: A prompt agent packages a selected model with behavior instructions and optional tools into a reusable agent definition; the current Foundry Agent Service supports versioned prompt-agent definitions; by contrast, Inspect agent traces to debug tool selection and response quality addresses the separate goal to follow a failed multi-step workflow through its tool calls.
Incorrect Answers
B:The previously considered capability is useful to follow a failed multi-step workflow through its tool calls, whereas the present acceptance test is to choose the underlying model and define how the agent should behave; its mechanism is that tracing can reveal the sequence of model decisions, tool invocations, errors, and timing; it helps explain observed behavior, but trace access should be controlled for sensitive content; it does not itself deliver the new requirement.
C:This choice addresses a separate goal to restrict a travel agent to specific itinerary-search operations, which is different from the requested outcome to choose the underlying model and define how the agent should behave; the relevant technical behavior is A narrow tool set reduces unintended actions and limits the agent's operational surface; broad unrestricted tools are not required for a single-purpose assistant; this is not the focused implementation here.
D:Its role is to inspect the response to unusual inputs before application integration, while the present test is about the ability to choose the underlying model and define how the agent should behave; the underlying operation is that the portal allows developers to interact with agents, inspect behavior, and refine their configurations; testing should include representative tasks and failure cases; the two needs must not be conflated.
Question 22
For a university learning application, the proposal “Detect and redact personally identifiable information before sharing text” addresses the ability to remove customer phone numbers before archiving a chat transcript. Which different action is needed when the requirement is to prevent indefinite archival of customer prompts in application logs?
- Apply least-privilege role-based access to AI resources
- Set data-retention and deletion controls for prompts and artifacts
- Detect and redact personally identifiable information before sharing text
- Treat retrieved documents as untrusted instructions and constrain tool use
- Apply content safety checks to harmful generated or user-supplied material
- Authenticate applications by managed identity where supported
Explanation
Correct Answer
B:For the requirement to prevent indefinite archival of customer prompts in application logs, this action has the relevant behavior: retention policies limit how long requests, logs, transcripts, and extracted content persist; these controls should reflect legal obligations and minimize unnecessary personal-data storage; by contrast, Detect and redact personally identifiable information before sharing text addresses the separate goal to remove customer phone numbers before archiving a chat transcript.
Incorrect Answers
A:If the target were to prevent a contractor from modifying deployments while allowing permitted testing, this would be useful; however the acceptance test is to prevent indefinite archival of customer prompts in application logs; its technical role is that authorization should restrict who can read, configure, or invoke relevant resources according to job duties; A valid sign-in does not automatically grant every operation; it does not resolve the stated gap.
C:The previously considered capability is useful to remove customer phone numbers before archiving a chat transcript, whereas the present acceptance test is to prevent indefinite archival of customer prompts in application logs; its mechanism is that PII detection locates identifiers such as account numbers and contact details so they can be removed or masked; redaction limits unnecessary exposure in logs, prompts, and downstream systems; it does not itself deliver the new requirement.
D:This alternative addresses a separate task to keep a retrieved search snippet from overriding tool permissions, not the explicit requirement to prevent indefinite archival of customer prompts in application logs; its mechanism is that prompt-injection defenses separate retrieved content from higher-priority app instructions and restrict possible actions; external text should be treated as data, not authority to exfiltrate secrets or override safeguards; the requested outcome demands a different operation.
E:If the target were to block an unsafe chatbot response before it reaches a minor, this would be useful; however the acceptance test is to prevent indefinite archival of customer prompts in application logs; its technical role is that Content moderation screens relevant risk categories and can block, flag, or route material for review; it addresses content harm rather than data access or network authentication; it does not resolve the stated gap.
F:This choice addresses a separate goal to allow an application to access an authorized resource using its workload identity, which is different from the requested outcome to prevent indefinite archival of customer prompts in application logs; the relevant technical behavior is managed identities let workloads obtain Microsoft Entra tokens without storing long-lived secrets in source code; Azure permissions still must be granted to the identity for each protected resource; this is not the focused implementation here.
Question 23
A claims-processing workflow passed its test to ground an answer in approved source documents through a tool through the approach “Use a retrieval tool for factual data not in model context”. It failed a different test to restrict a tool's write capability to a particular resource scope. Which change resolves the failed test?
- Use a write-capable tool only with narrowly scoped permissions
- Record tool invocations for accountable agent operations
- Define tool arguments with a validated schema
- Use a retrieval tool for factual data not in model context
Explanation
Correct Answer
A:The second test calls for a capability that can restrict a tool's write capability to a particular resource scope. mutating APIs change records or external state, so they require permission checks, input validation, and appropriate review; A model's text response cannot substitute for successful API execution; this is the missing implementation, rather than another adjustment to Use a retrieval tool for factual data not in model context.
Incorrect Answers
B:This alternative addresses a separate task to tie a sensitive tool operation to a traceable user identity, not the explicit requirement to restrict a tool's write capability to a particular resource scope; its mechanism is that 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; the requested outcome demands a different operation.
C:If the target were to require a numeric invoice identifier for a lookup tool, this would be useful; however the acceptance test is to restrict a tool's write capability to a particular resource scope; its technical role is that tool schemas describe legal fields and types, helping applications validate calls before executing backend work; they provide structure rather than conferring authorization on their own; it does not resolve the stated gap.
D:The previously considered capability is useful to ground an answer in approved source documents through a tool, whereas the present acceptance test is to restrict a tool's write capability to a particular resource scope; its mechanism 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 itself deliver the new requirement.
Question 24
A customer feedback pipeline currently meets a requirement to measure the polarity of support survey answers through the technique “Apply sentiment analysis to determine expressed polarity”. A new test asks it to provide multilingual copies of a simple service announcement. What change should be made?
- Apply text translation to change the message language
- Apply document summarization to condense long prose
- Apply personally identifiable information detection to find sensitive spans
- Apply key phrase extraction to find central topics
- Apply sentiment analysis to determine expressed polarity
Explanation
Correct Answer
A:The earlier implementation covers a different outcome; to provide multilingual copies of a simple service announcement, use this approach because translation conveys content from one language to another while aiming to preserve meaning; detecting the source language alone does not produce translated text; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
B:Its role is to reduce a large article to its key points for readers, while the present test is about the ability to provide multilingual copies of a simple service announcement; the underlying operation is that summarization produces a concise representation of important information from a source; extractive approaches select existing sentences; abstractive approaches compose new wording; the two needs must not be conflated.
C:This alternative addresses a separate task to identify contact information that should not enter public logs, not the explicit requirement to provide multilingual copies of a simple service announcement; its mechanism 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 requested outcome demands a different operation.
D:If the target were to find common themes in thousands of free-form product reviews, this would be useful; however the acceptance test is to provide multilingual copies of a simple service announcement; its technical role 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; it does not resolve the stated gap.
E:The previously considered capability is useful to measure the polarity of support survey answers, whereas the present acceptance test is to provide multilingual copies of a simple service announcement; its mechanism 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; it does not itself deliver the new requirement.
Question 25
A regression checklist for a digital accessibility service has two independent outcomes: it already can prevent a contractor from modifying deployments while allowing permitted testing, but it must also prevent a public-facing assistant from publishing prohibited instructions. Which capability is needed for the second outcome?
- Treat retrieved documents as untrusted instructions and constrain tool use
- Apply least-privilege role-based access to AI resources
- Detect and redact personally identifiable information before sharing text
- Apply content safety checks to harmful generated or user-supplied material
Explanation
Correct Answer
D:The second test calls for a capability that can prevent a public-facing assistant from publishing prohibited instructions; Content moderation screens relevant risk categories and can block, flag, or route material for review; it addresses content harm rather than data access or network authentication; this is the missing implementation, rather than another adjustment to Apply least-privilege role-based access to AI resources.
Incorrect Answers
A:If the target were to stop an agent from following a malicious instruction embedded in a PDF, this would be useful; however the acceptance test is to prevent a public-facing assistant from publishing prohibited instructions; its technical role is that prompt-injection defenses separate retrieved content from higher-priority app instructions and restrict possible actions; external text should be treated as data, not authority to exfiltrate secrets or override safeguards; it does not resolve the stated gap.
B:The previously considered capability is useful to prevent a contractor from modifying deployments while allowing permitted testing, whereas the present acceptance test is to prevent a public-facing assistant from publishing prohibited instructions; its mechanism is that authorization should restrict who can read, configure, or invoke relevant resources according to job duties; A valid sign-in does not automatically grant every operation; it does not itself deliver the new requirement.
C:Its role is to prevent raw addresses from appearing in debugging logs, while the present test is about the ability to prevent a public-facing assistant from publishing prohibited instructions; the underlying operation is that PII detection locates identifiers such as account numbers and contact details so they can be removed or masked; redaction limits unnecessary exposure in logs, prompts, and downstream systems; the two needs must not be conflated.
Question 26
A feature request for a customer-service automation app reads: “diagnose a rising p95 latency after a release.” Which technical approach is most directly applicable?
- Measure groundedness of generated factual answers
- Collect user feedback and expert labels for quality improvement
- Measure latency and failure rates for deployed inference
- Run safety evaluations for harmful or injected prompts
Explanation
Correct Answer
C:The requested outcome is to diagnose a rising p95 latency after a release; this action is the focused implementation: telemetry such as response duration and unsuccessful requests evaluates operational health; it does not by itself measure whether the answer is correct; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:Its role is to flag fabricated details in model-generated summaries, while the present test is about the ability to diagnose a rising p95 latency after a release; the underlying operation is that groundedness evaluation examines whether claims are supported by the provided evidence; A coherent answer can still add invented facts; the two needs must not be conflated.
B:This alternative addresses a separate task to prioritize corrections using documented reviewer feedback, not the explicit requirement to diagnose a rising p95 latency after a release; its mechanism is that human feedback provides evidence about usefulness, correctness, and harmful behavior, especially where automated metrics are limited; samples should be reviewed against explicit criteria; the requested outcome demands a different operation.
D:This choice addresses a separate goal to test whether unsafe content slips through a moderation step, which is different from the requested outcome to diagnose a rising p95 latency after a release; the relevant technical behavior is safety tests probe misuse, prompt injection, and policy-violating outputs under defined risk scenarios; passing ordinary functional tests does not establish resilience to adversarial use; this is not the focused implementation here.
Question 27
After adding the action “Apply image segmentation to label pixel-level regions” to label each pixel belonging to water in satellite imagery, engineers verify that a field-inspection app still cannot check whether a low-resolution image is fit for OCR. Which addition addresses the remaining gap?
- Apply image quality checks before visual inference
- Apply image similarity search to find visually related examples
- Apply image generation to create synthetic pictures
- Apply image segmentation to label pixel-level regions
Explanation
Correct Answer
A:The second test calls for a capability that can check whether a low-resolution image is fit for OCR. blurring, glare, cropping, low resolution, and occlusion can degrade image recognition; A preflight quality gate identifies unsuitable input before downstream inference; this is the missing implementation, rather than another adjustment to Apply image segmentation to label pixel-level regions.
Incorrect Answers
B:This alternative addresses a separate task to search an image library using a reference picture, not the explicit requirement to check whether a low-resolution image is fit for OCR; its mechanism is that image embeddings or feature comparisons can rank pictures by visual similarity; retrieval selects existing content, while generation creates new media; the requested outcome demands a different operation.
C:If the target were to draw a concept poster from a creative brief, this would be useful; however the acceptance test is to check whether a low-resolution image is fit for OCR; its technical role is that generative image models synthesize new pictures from prompts rather than labeling existing images; output should be reviewed for safety, authenticity, and suitability; it does not resolve the stated gap.
D:The previously considered capability is useful to label each pixel belonging to water in satellite imagery, whereas the present acceptance test is to check whether a low-resolution image is fit for OCR; its mechanism is that segmentation partitions image pixels into meaningful categories or instances; it provides finer spatial detail than rectangular object-detection boxes; it does not itself deliver the new requirement.
Question 28
A multi-turn conversational client executes result = openai.responses.create(conversation=conversation.id, input=user_text). What role does the operation play?
- Choose a status indicator using a Python conditional expression
- Submit a user turn within an existing conversation
- Read a deployment identifier from an environment variable
- Save a named version of the prompt agent definition
Explanation
Correct Answer
B:The expression result = openai.responses.create(conversation=conversation.id, input=user_text) has precisely this role: the Responses API associates the supplied user text with the specified conversation identifier, permitting contextual follow-up behavior.
Incorrect Answers
A: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 result = openai.responses.create(conversation=conversation.id, input=user_text).
C:That description applies to a different expression, model_name = os.getenv("MODEL_DEPLOYMENT"): os.getenv returns the configured environment value or None when absent unless a fallback is supplied; it does not resolve or create a deployment; it does not describe the operation of result = openai.responses.create(conversation=conversation.id, input=user_text).
D:That description applies to a different expression, agent = project.agents.create_version(agent_name=AGENT_NAME, definition=definition): 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; it does not describe the operation of result = openai.responses.create(conversation=conversation.id, input=user_text).
Question 29
After adding the action “Disclose when a user is interacting with AI-generated content” to inform customers that a support reply was generated by a model, engineers verify that a customer feedback pipeline still cannot describe prohibited uses and operational limits of a prediction system. Which addition addresses the remaining gap?
- Keep auditable records of important AI-assisted decisions
- Disclose when a user is interacting with AI-generated content
- Mark or document provenance of synthetic media
- Document model purpose, limitations, and evaluation results
Explanation
Correct Answer
D:The second test calls for a capability that can describe prohibited uses and operational limits of a prediction system; A model card or system documentation records intended use, known failure modes, performance caveats, and evaluation context; it helps stakeholders avoid applying the model beyond tested conditions; this is the missing implementation, rather than another adjustment to Disclose when a user is interacting with AI-generated content.
Incorrect Answers
A:If the target were to reconstruct which deployed model version produced a disputed result, this would be useful; however the acceptance test is to describe prohibited uses and operational limits of a prediction system; its technical role is that logging inputs, outputs, versions, and human approvals enables investigation and traceability when appropriately protected; logs must follow privacy and retention requirements; it does not resolve the stated gap.
B:The previously considered capability is useful to inform customers that a support reply was generated by a model, whereas the present acceptance test is to describe prohibited uses and operational limits of a prediction system; its mechanism is that clear notices help people understand that outputs are automated and may need verification; they should be placed where users make meaningful decisions, not hidden in unrelated terms; it does not itself deliver the new requirement.
C:Its role is to reduce confusion between authentic recordings and fabricated visuals, while the present test is about the ability to describe prohibited uses and operational limits of a prediction system; the underlying operation is that Content provenance information can help viewers assess origins and edits of AI-generated media; it supports transparency but does not guarantee that all manipulated content can be detected; the two needs must not be conflated.
Question 30
An existing feature in a media processing service uses the approach “Use object detection for individual item locations” to draw bounding boxes around safety helmets in a photograph. The next release must trace the boundary of a road-surface defect. Which action implements the additional behavior?
- Use object detection for individual item locations
- Use segmentation to delineate detailed object regions
- Preprocess poor-quality images before inference
- Use layout-aware extraction for forms and tables
Explanation
Correct Answer
B:The earlier implementation covers a different outcome; to trace the boundary of a road-surface defect, use this approach because segmentation identifies which pixels belong to a class or instance; it is more precise for shape measurement than a rectangular detection bounding box; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to draw bounding boxes around safety helmets in a photograph, whereas the present acceptance test is to trace the boundary of a road-surface defect; 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.
C:This choice addresses a separate goal to request a replacement photo for an illegible serial number, which is different from the requested outcome to trace the boundary of a road-surface defect; the relevant technical behavior is 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; this is not the focused implementation here.
D:Its role is to map columns from a two-column PDF, while the present test is about the ability to trace the boundary of a road-surface defect; the underlying operation is that layout processing preserves relationships among text lines, headings, selection marks, and tables; plain OCR text may omit row and column structure; the two needs must not be conflated.