Question 100
The team operating an employee knowledge assistant recommends the approach “Reject prompt-injection attempts from retrieved or tool-returned text” to discard an injected request for unauthorized account changes. The acceptance criterion, however, is to protect an integration token from accidental log capture. Which approach should be selected instead?
- Apply content filters and safety policy at supported model endpoints
- Constrain agent network and external data access as required
- Reject prompt-injection attempts from retrieved or tool-returned text
- Keep credentials out of prompts, source control, and response logs
Explanation
Correct Answer
D:For the requirement to protect an integration token from accidental log capture, this action has the relevant behavior: secrets should live in supported secure credential mechanisms or managed identity paths, not in model context or committed code; prompts and traces may be exposed during debugging; by contrast, Reject prompt-injection attempts from retrieved or tool-returned text addresses the separate goal to discard an injected request for unauthorized account changes.
Incorrect Answers
A:Its role is to review filtering behavior when a new model deployment is introduced, while the present test is about the ability to protect an integration token from accidental log capture; the underlying operation is that 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; the two needs must not be conflated.
B:This alternative addresses a separate task to review network paths before a tool-enabled workflow goes live, not the explicit requirement to protect an integration token from accidental log capture; its mechanism is that network restrictions, connection governance, and tool allowlists reduce accidental exposure of sensitive systems; A model cannot override enforced endpoint access limits; the requested outcome demands a different operation.
C:The previously considered capability is useful to discard an injected request for unauthorized account changes, whereas the present acceptance test is to protect an integration token from accidental log capture; 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; it does not itself deliver the new requirement.
Question 101
The team operating a field-service mobile app recommends the approach “Install the current Azure AI Projects Python client for Foundry development” to select the supported package family for a lightweight chat client. The acceptance criterion, however, is to bind client operations to a configured Foundry project. Which approach should be selected instead?
- Maintain conversation state explicitly when the API requires it
- Install the current Azure AI Projects Python client for Foundry development
- Obtain a model inference client from the Foundry project SDK
- Create AIProjectClient with a project endpoint and credential
Explanation
Correct Answer
C:For the requirement to bind client operations to a configured Foundry project, this action has the relevant behavior: A project can provide an OpenAI-compatible client for supported model inference and agent interactions; calls must target an available model or prebound agent as appropriate; by contrast, Install the current Azure AI Projects Python client for Foundry development addresses the separate goal to select the supported package family for a lightweight chat client.
Incorrect Answers
A:This alternative addresses a separate task to implement stateful chat rather than stateless isolated requests, not the explicit requirement to bind client operations to a configured Foundry project; its mechanism is that A model request does not automatically retain arbitrary prior messages unless the client or service supplies conversation context; applications should use the supported conversation mechanism or pass relevant history; the requested outcome demands a different operation.
B:The previously considered capability is useful to select the supported package family for a lightweight chat client, whereas the present acceptance test is to bind client operations to a configured Foundry project; its mechanism is that the azure-ai-projects package supplies the project SDK, and azure-identity provides credential classes; current Foundry project API examples use the 2.x client family, not classic 1.x patterns; it does not itself deliver the new requirement.
D:Its role is to authenticate project operations using Azure identity rather than plain text prompts, while the present test is about the ability to bind client operations to a configured Foundry project; the underlying operation is that aIProjectClient is initialized with the Foundry project endpoint and an appropriate Azure credential; the client gives code access to supported project operations; the two needs must not be conflated.
Question 102
A release test for a media processing service asks the system to explain a depicted assembly process rather than only copy labels. What implementation is the best fit?
- Evaluate visual answers against representative images and questions
- Reduce image ambiguity by providing contextual instructions
- Ask a focused question grounded in observable image features
- Distinguish image reasoning from optical character recognition
- Ask a model to acknowledge uncertainty when visual evidence is insufficient
Explanation
Correct Answer
D:The requested outcome is to explain a depicted assembly process rather than only copy labels; this action is the focused implementation: vision-language reasoning answers contextual questions about imagery, while OCR specifically returns recognized text regions; selecting the correct approach depends on whether semantic interpretation or precise transcription is needed; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:Its role is to verify answers against labeled examples of common image tasks, while the present test is about the ability to explain a depicted assembly process rather than only copy labels; the underlying operation is that multimodal tests should cover resolution, lighting, layout, and unseen examples; A demonstration on one clear image cannot establish reliability for every visual input; the two needs must not be conflated.
B:This alternative addresses a separate task to specify which product is being discussed in a busy shelf photo, not the explicit requirement to explain a depicted assembly process rather than only copy labels; its mechanism is that user-provided context can narrow which part or objective matters when an image contains many elements; the model still must rely on pixels for visible facts; the requested outcome demands a different operation.
C:If the target were to ask which labeled switch is currently in the up position, this would be useful; however the acceptance test is to explain a depicted assembly process rather than only copy labels; its technical role is that A precise prompt names the visual detail to inspect and limits the answer to evidence visible in the picture; this reduces speculative explanations about unseen objects; it does not resolve the stated gap.
E:Its role is to ask for a clearer screenshot when small text is illegible, while the present test is about the ability to explain a depicted assembly process rather than only copy labels; the underlying operation is that low-resolution or obscured images may not support reliable reading; A prompt should permit abstention or request a clearer image rather than invent details; the two needs must not be conflated.
Question 103
A feature request for a field-inspection app reads: “prevent unrelated users from accessing private image attachments.” Which technical approach is most directly applicable?
- Use multiple images only with a model and API that support them
- Send image content in the request's supported multimodal structure
- Ask a model to acknowledge uncertainty when visual evidence is insufficient
- Validate privacy and consent before analyzing uploaded pictures
Explanation
Correct Answer
D:The requested outcome is to prevent unrelated users from accessing private image attachments; this action is the focused implementation: images can reveal faces, documents, location clues, and other personal data; the application should apply access controls and limit data retention regardless of model capability; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:This alternative addresses a separate task to avoid assuming a single-image endpoint accepts an arbitrary image array, not the explicit requirement to prevent unrelated users from accessing private image attachments; its mechanism is that some multimodal configurations permit several image inputs in one request; availability and size limits must be checked; comparative reasoning requires all relevant images to reach the model; the requested outcome demands a different operation.
B:If the target were to include a user's uploaded image in a model request, this would be useful; however the acceptance test is to prevent unrelated users from accessing private image attachments; its technical role is that image-capable APIs distinguish text input from image attachments or image URL parts; correct request formatting is required for the model to process pixels; it does not resolve the stated gap.
C:This choice addresses a separate goal to avoid guessing the contents of a hidden part of an image, which is different from the requested outcome to prevent unrelated users from accessing private image attachments; the relevant technical behavior is low-resolution or obscured images may not support reliable reading; A prompt should permit abstention or request a clearer image rather than invent details; this is not the focused implementation here.
Question 104
In a factory operations assistant, the team has already implemented the action “Create AIProjectClient with a project endpoint and credential” to start application code with a reusable project API client. A separate test now requires the system to surface useful diagnostics when model deployment names are wrong. Which additional action addresses this new requirement?
- Create AIProjectClient with a project endpoint and credential
- Obtain a model inference client from the Foundry project SDK
- Catch API errors and handle throttling within safe retry limits
- Use DefaultAzureCredential for token-based development authentication
- Maintain conversation state explicitly when the API requires it
Explanation
Correct Answer
C:The earlier implementation covers a different outcome; to surface useful diagnostics when model deployment names are wrong, use this approach because production clients need error handling for authorization, invalid requests, rate limits, and temporary failures; retries help transient conditions but should not conceal permanent configuration errors; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to start application code with a reusable project API client, whereas the present acceptance test is to surface useful diagnostics when model deployment names are wrong; its mechanism is that aIProjectClient is initialized with the Foundry project endpoint and an appropriate Azure credential; the client gives code access to supported project operations; it does not itself deliver the new requirement.
B:Its role is to prepare a lightweight application for supported Responses API calls, while the present test is about the ability to surface useful diagnostics when model deployment names are wrong; the underlying operation is that A project can provide an OpenAI-compatible client for supported model inference and agent interactions; calls must target an available model or prebound agent as appropriate; the two needs must not be conflated.
D:If the target were to avoid storing an access key in a sample Python script, this would be useful; however the acceptance test is to surface useful diagnostics when model deployment names are wrong; its technical role is that DefaultAzureCredential attempts supported credential sources such as developer sign-in or managed identity depending on environment; the principal must still have sufficient resource permissions; it does not resolve the stated gap.
E:This choice addresses a separate goal to prevent each call from acting like an unrelated first turn, which is different from the requested outcome to surface useful diagnostics when model deployment names are wrong; the relevant technical behavior is A model request does not automatically retain arbitrary prior messages unless the client or service supplies conversation context; applications should use the supported conversation mechanism or pass relevant history; this is not the focused implementation here.
Question 105
A regression checklist for a media review workflow has two independent outcomes: it already can process spoken survey answers into analysis fields, but it must also select appropriate language settings for regional customer audio. Which capability is needed for the second outcome?
- Extract sensitive information carefully from audio-derived text
- Use speaker attribution when analyzing multi-person calls
- Specify expected audio languages to improve processing
- Use audio content analysis to obtain transcripts and structured insights
Explanation
Correct Answer
C:The second test calls for a capability that can select appropriate language settings for regional customer audio. narrowing known language options reduces unnecessary guessing during transcription or media analysis when the service supports language configuration; language assumptions should match the actual audio population; this is the missing implementation, rather than another adjustment to Use audio content analysis to obtain transcripts and structured insights.
Incorrect Answers
A:If the target were to redact spoken customer identifiers before sharing call summaries, this would be useful; however the acceptance test is to select appropriate language settings for regional customer audio; its technical role is that recordings and transcripts may contain names, account numbers, and private details; downstream systems should minimize exposure and apply authorization and retention controls; it does not resolve the stated gap.
B:This choice addresses a separate goal to see which speaker made a particular promise in a transcript, which is different from the requested outcome to select appropriate language settings for regional customer audio; the relevant technical behavior is speaker-related transcript structure can distinguish dialogue turns where supported by the chosen analysis configuration; it need not identify a speaker's real-world identity; this is not the focused implementation here.
D:The previously considered capability is useful to process spoken survey answers into analysis fields, whereas the present acceptance test is to select appropriate language settings for regional customer audio; its mechanism is that audio analyzers can recognize speech and derive configured fields from recordings; they support downstream analytics where the source is spoken rather than written; it does not itself deliver the new requirement.
Question 106
An existing feature in an accessibility service uses the approach “Use video analysis for time-based multimodal content” to summarize both speech and visuals from a training recording. The next release must review a segment whose spoken words were masked by background noise. Which action implements the additional behavior?
- Use video analysis for time-based multimodal content
- Use scene segmentation to isolate meaningful video sections
- Build video-search segments for retrieval-augmented applications
- Combine transcript and visual cues for video summaries
- Review low-confidence media findings before automation
Explanation
Correct Answer
E:The earlier implementation covers a different outcome; to review a segment whose spoken words were masked by background noise, use this approach because complex video extraction can be uncertain because of overlapping speech, motion blur, or rapid scene changes; an automated decision should expose evidence and allow review when stakes are high; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to summarize both speech and visuals from a training recording, whereas the present acceptance test is to review a segment whose spoken words were masked by background noise; its mechanism is that video analyzers can combine visual scenes and spoken transcripts to produce temporally grounded insights; A single image analysis call cannot capture an entire sequence of events; it does not itself deliver the new requirement.
B:If the target were to break a tutorial at scene transitions, this would be useful; however the acceptance test is to review a segment whose spoken words were masked by background noise; its technical role is that segmentation divides a video into temporal units based on content changes; segment-level output helps locate which part of a recording supports a finding; it does not resolve the stated gap.
C:This choice addresses a separate goal to retrieve the segment discussing a known maintenance issue, which is different from the requested outcome to review a segment whose spoken words were masked by background noise; the relevant technical behavior is search-oriented video analyzers prepare indexed segments with transcripts and descriptions; retrieval then locates relevant intervals rather than generating a new video; this is not the focused implementation here.
D:Its role is to describe a silent visual event alongside the narrated sequence, while the present test is about the ability to review a segment whose spoken words were masked by background noise; the underlying operation is that video understanding can draw on recognized speech and scene descriptions together; speech-only transcription misses actions shown without narration; the two needs must not be conflated.
Question 107
The team operating an image-review application recommends the approach “Iterate prompts using reviewed visual outputs” to improve a generated product scene whose main subject is too small. The acceptance criterion, however, is to generate a background image from natural-language specifications. Which approach should be selected instead?
- Use text-to-image generation for new visual content
- Distinguish image editing from generating an unrelated new scene
- Label generated images where provenance matters
- Iterate prompts using reviewed visual outputs
Explanation
Correct Answer
A:For the requirement to generate a background image from natural-language specifications, this action has the relevant behavior: image generation produces original pixels conditioned on a prompt and supported settings; it does not by itself extract fields from an existing invoice; by contrast, Iterate prompts using reviewed visual outputs addresses the separate goal to improve a generated product scene whose main subject is too small.
Incorrect Answers
B:Its role is to keep the core composition while changing an image's style, while the present test is about the ability to generate a background image from natural-language specifications; the underlying operation is that image editing uses a supplied image as conditioning or reference where supported, preserving selected content while changing requested features; text-to-image starts without an existing picture; the two needs must not be conflated.
C:This alternative addresses a separate task to avoid presenting fabricated scenes as actual documentary evidence, not the explicit requirement to generate a background image from natural-language specifications; its mechanism is that clear identification of synthetic imagery helps viewers understand its origin; provenance and disclosure complement content review and are not substitutes for factual verification; the requested outcome demands a different operation.
D:The previously considered capability is useful to improve a generated product scene whose main subject is too small, whereas the present acceptance test is to generate a background image from natural-language specifications; its mechanism is that prompt iteration compares generated images against goals and refines constraints based on observed shortcomings; it does not change the model's training weights; it does not itself deliver the new requirement.
Question 108
The proposed design adopts the action “Adjust top-p nucleus sampling only when supported” to tune generated prose variability through a supported nucleus parameter. The implementation target for a customer-service automation app is instead to ensure an application rejects malformed generated objects. Which method fits the target?
- Apply a maximum output-token budget
- Raise sampling temperature when diverse wording is desirable
- Adjust top-p nucleus sampling only when supported
- Use a structured output schema when machine-readable fields are required
Explanation
Correct Answer
D:For the requirement to ensure an application rejects malformed generated objects, this action has the relevant behavior: constrained structured output or schema validation helps align generation to expected JSON keys and types; model support and validation behavior must be checked; syntax conformity alone does not establish factual correctness; by contrast, Adjust top-p nucleus sampling only when supported addresses the separate goal to tune generated prose variability through a supported nucleus parameter.
Incorrect Answers
A:Its role is to prevent very long answers from consuming excessive output budget, while the present test is about the ability to ensure an application rejects malformed generated objects; the underlying operation is that an output-token cap constrains how many tokens a model may emit; A low cap can truncate an answer even when plenty of prompt context remains; the two needs must not be conflated.
B:This alternative addresses a separate task to trade predictability for diversity in creative text outputs, not the explicit requirement to ensure an application rejects malformed generated objects; its mechanism is that higher temperature generally flattens token-selection preferences and increases output variety for supported models; it can also increase inconsistency and is unsuitable as a factuality control; the requested outcome demands a different operation.
C:The previously considered capability is useful to tune generated prose variability through a supported nucleus parameter, whereas the present acceptance test is to ensure an application rejects malformed generated objects; its mechanism is that top-p selection restricts candidate tokens to a cumulative probability mass before sampling; it changes diversity, not the model's trained knowledge or input modality; it does not itself deliver the new requirement.
Question 109
An existing feature in an image-review application uses the approach “Use image classification to label whole photographs” to decide whether an entire image depicts a warehouse aisle. The next release must preserve checkbox states in a digital form. Which action implements the additional behavior?
- Use layout-aware extraction for forms and tables
- Use object detection for individual item locations
- Use image captioning for descriptive scene summaries
- Use image classification to label whole photographs
Explanation
Correct Answer
A:The earlier implementation covers a different outcome; to preserve checkbox states in a digital form, use this approach because layout processing preserves relationships among text lines, headings, selection marks, and tables; plain OCR text may omit row and column structure; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
B:This alternative addresses a separate task to return object positions instead of only a scene category, not the explicit requirement to preserve checkbox states in a digital form; 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; the requested outcome demands a different operation.
C:If the target were to write a short description of a warehouse photograph, this would be useful; however the acceptance test is to preserve checkbox states in a digital form; its technical role is that image captioning generates natural-language descriptions of what is visible; it is useful for indexing or accessibility, but it is not a guarantee of precise numerical reading; it does not resolve the stated gap.
D:The previously considered capability is useful to decide whether an entire image depicts a warehouse aisle, whereas the present acceptance test is to preserve checkbox states in a digital form; its mechanism is that classification produces one or more image-level categories and may include confidence values; it does not report exact object coordinates by default; it does not itself deliver the new requirement.
Question 110
In a decision-support application, the team has already implemented the action “Compare false-positive and false-negative rates for fairness evaluation” to distinguish inequitable missed detections from inequitable false alarms. A separate test now requires the system to evaluate different population cohorts independently after a model update rather than accept one combined test score. Which additional action addresses this new requirement?
- Compare false-positive and false-negative rates for fairness evaluation
- Audit prediction quality separately for demographic subgroups
- Monitor fairness metrics after deployment and retraining
- Provide human review and appeal for consequential automated outcomes
Explanation
Correct Answer
B:The earlier implementation covers a different outcome; to evaluate different population cohorts independently after a model update rather than accept one combined test score, use this approach because disaggregated evaluation compares outcomes such as false positives and false negatives across affected populations; aggregate accuracy can conceal systematic differences for a smaller group; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to distinguish inequitable missed detections from inequitable false alarms, whereas the present acceptance test is to evaluate different population cohorts independently after a model update rather than accept one combined test score; its mechanism is that error-rate comparisons reveal different harms when a model's mistakes fall unevenly across groups; overall prediction volume is not a substitute for reviewing both error types; it does not itself deliver the new requirement.
C:This choice addresses a separate goal to catch a representation gap after launching in a new region, which is different from the requested outcome to evaluate different population cohorts independently after a model update rather than accept one combined test score; the relevant technical behavior is continuous monitoring can detect subgroup performance changes as the input population or labeling practices evolve; A one-time prelaunch audit cannot reveal new skews introduced by live traffic; this is not the focused implementation here.
D:Its role is to give applicants a documented route to challenge an adverse model output, while the present test is about the ability to evaluate different population cohorts independently after a model update rather than accept one combined test score; the underlying operation is that human oversight lets affected people challenge decisions and supplies context that automated scores can omit; it does not make the model inherently unbiased but reduces harm from an opaque adverse result; the two needs must not be conflated.