Microsoft AI-901 (Microsoft Azure AI Fundamentals) Practice Test 46

Question 450

A user sends a very long contract and expects the model to consider every section. Which method gives the team the most relevant capability?

  1. Grounding with retrieval
  2. Embeddings
  3. Temperature sampling
  4. Context window budget

Explanation

Correct Answer

D:

The goal matches Context window budget, for which context windows constrain how much input and output a model can process in one request; the practical safeguard is to budget tokens and retrieve the most relevant sections when necessary, especially since oversized context may be rejected, truncated, or crowd out needed material.

Incorrect Answers

A:

Grounding with retrieval is useful when retrieval-augmented grounding supplies relevant source content at question time, and its usual work includes efforts to retrieve permission-filtered authoritative passages and cite them in responses; it is not the most direct choice for the Context window budget requirement.

B:

Choosing Embeddings would target the behavior where embeddings encode inputs as vectors for semantic comparison and retrieval; the scenario instead needs Context window budget, which achieves a different goal because context windows constrain how much input and output a model can process in one request.

C:

Temperature sampling normally serves work in which lower temperature typically concentrates sampling on higher-probability tokens; this case calls for Context window budget, for which context windows constrain how much input and output a model can process in one request, rather than that adjacent result.

Question 451

The documented technical capability is that vision content moderation evaluates risk categories on submitted visuals. Before release, a reviewer wants a negative test for Visual safety screening. Which scenario belongs in that test?

  1. Captioning describes an existing picture rather than creating one.
  2. Image tagging may name pallets without supplying coordinates.
  3. Image generation creates pixels rather than extracting existing writing.
  4. One short overall caption may omit important objects and spatial details.
  5. OCR alone can miss unsafe material without readable text.

Explanation

Correct Answer

E:

Visual safety screening is intended to deliver the following behavior: vision content moderation evaluates risk categories on submitted visuals; a failure occurs when OCR alone can miss unsafe material without readable text, and the appropriate check is to use supported image safety checks before displaying public uploads.

Incorrect Answers

A:

Image generation workload is associated with the problem where captioning describes an existing picture rather than creating one; a review of Visual safety screening should instead investigate whether OCR alone can miss unsafe material without readable text, not that neighboring case.

B:

The described issue pertains to Object detection workload in cases where image tagging may name pallets without supplying coordinates; the central failure mode for Visual safety screening is different, specifically that OCR alone can miss unsafe material without readable text.

C:

The alternative risk relates to Optical character recognition workload, in which image generation creates pixels rather than extracting existing writing; that does not directly verify the particular failure condition of Visual safety screening.

D:

This is a plausible warning about Dense image description, because region-level captions provide localized descriptions beyond a single global sentence; it is less diagnostic for Visual safety screening, whose boundary is exposed when OCR alone can miss unsafe material without readable text.

Question 452

The documented technical capability is that image tags provide descriptive category predictions, often with confidence estimates. In a quality review of Image tag scoring, which false assumption is most likely to undermine the outcome?

  1. Retrying corrupt bytes without correction does not make them decodable.
  2. Assuming every version supports the same output fields can break parsing.
  3. Treating low-confidence tags as certain can pollute the search index.
  4. Classification categories alone may be too terse for natural-language descriptions.
  5. An image caption may paraphrase the label rather than preserve its characters.

Explanation

Correct Answer

C:

This is a specific operational limitation of Image tag scoring, whose function is that image tags provide descriptive category predictions, often with confidence estimates; the response is to apply confidence checks and inspect representative tagging errors.

Incorrect Answers

A:

This is a plausible warning about Vision API input validation, because valid image encoding, size, and request structure are prerequisites for vision analysis; it is less diagnostic for Image tag scoring, whose boundary is exposed when treating low-confidence tags as certain can pollute the search index.

B:

Vision-feature version check is associated with the problem where assuming every version supports the same output fields can break parsing; a review of Image tag scoring should instead investigate whether treating low-confidence tags as certain can pollute the search index, not that neighboring case.

D:

The alternative risk relates to Image caption processing, in which classification categories alone may be too terse for natural-language descriptions; that does not directly verify the particular failure condition of Image tag scoring.

E:

This is a plausible warning about OCR result interpretation, because OCR returns recognized text with associated layout details in supported responses; it is less diagnostic for Image tag scoring, whose boundary is exposed when treating low-confidence tags as certain can pollute the search index.

Question 453

The documented technical capability is that visual extraction requires safeguards for sensitive image content and derived fields. Which concern should appear in a risk register specifically for Image extraction privacy?

  1. Removing filenames alone does not de-identify the picture or OCR results.
  2. OCR without layout relationships loses the meaning of arrows and labels.
  3. Unrestricted prose may invent a state when the indicator is obscured.
  4. Scene classification cannot produce the exact printed serial code.

Explanation

Correct Answer

A:

For Image extraction privacy, the identified risk undermines this benefit: visual extraction requires safeguards for sensitive image content and derived fields; therefore a targeted validation would limit stored images and redact unauthorized identifiers before sharing output.

Incorrect Answers

B:

This is a plausible warning about Mixed-content image analysis, because multimodal image understanding can reason about text and spatial relationships; it is less diagnostic for Image extraction privacy, whose boundary is exposed when removing filenames alone does not de-identify the picture or OCR results.

C:

Object-state extraction is associated with the problem where unrestricted prose may invent a state when the indicator is obscured; a review of Image extraction privacy should instead investigate whether removing filenames alone does not de-identify the picture or OCR results, not that neighboring case.

D:

The described issue pertains to Photo text extraction in cases where scene classification cannot produce the exact printed serial code; the central failure mode for Image extraction privacy is different, specifically that removing filenames alone does not de-identify the picture or OCR results.

Question 454

The documented technical capability is that postprocessing and schema validation prevent malformed responses from entering business records. Which design assumption would create a specific risk when relying on Response validation after inference?

  1. Plain text containing a path provides no image pixels to remote inference.
  2. Passing a model name with no input does not define the task to generate.
  3. Infinite immediate retry loops increase service pressure and user latency.
  4. A successful HTTP status does not guarantee that model text satisfies application constraints.

Explanation

Correct Answer

D:

For Response validation after inference, the identified risk undermines this benefit: postprocessing and schema validation prevent malformed responses from entering business records; therefore a targeted validation would validate type, allowed ranges, and required fields before writing the result.

Incorrect Answers

A:

The described issue pertains to Input format and modality in cases where plain text containing a path provides no image pixels to remote inference; the central failure mode for Response validation after inference is different, specifically that a successful HTTP status does not guarantee that model text satisfies application constraints.

B:

The alternative risk relates to Responses API call construction, in which passing a model name with no input does not define the task to generate; that does not directly verify the particular failure condition of Response validation after inference.

C:

This is a plausible warning about SDK exception and retry policy, because client resilience requires bounded retries, backoff, and distinct handling of invalid requests; it is less diagnostic for Response validation after inference, whose boundary is exposed when a successful HTTP status does not guarantee that model text satisfies application constraints.

Question 455

The documented technical capability is that tool-result isolation prevents lower-trust content from authorizing new actions. Which concern should appear in a risk register specifically for Prompt injection in agent tools?

  1. Serializing the whole envelope is not equivalent to extracting the answer.
  2. A user prompt asking for a write operation does not grant the application permission.
  3. Treating a search result as a trusted instruction can lead to data exfiltration.
  4. Creating an agent resource does not by itself generate a user response.

Explanation

Correct Answer

C:

For Prompt injection in agent tools, the identified risk undermines this benefit: tool-result isolation prevents lower-trust content from authorizing new actions; therefore a targeted validation would limit tool capability and verify requests against trusted policies before execution.

Incorrect Answers

A:

Agent result parsing is associated with the problem where serializing the whole envelope is not equivalent to extracting the answer; a review of Prompt injection in agent tools should instead investigate whether treating a search result as a trusted instruction can lead to data exfiltration, not that neighboring case.

B:

The described issue pertains to Tool-call authorization in client in cases where a user prompt asking for a write operation does not grant the application permission; the central failure mode for Prompt injection in agent tools is different, specifically that treating a search result as a trusted instruction can lead to data exfiltration.

D:

This is a plausible warning about Agent response creation, because a response invokes the specified agent against supplied conversation input; it is less diagnostic for Prompt injection in agent tools, whose boundary is exposed when treating a search result as a trusted instruction can lead to data exfiltration.

Question 456

A model mislabels internal ticket priorities because the company's severity rules differ from common usage. Which option is most closely aligned with the required outcome?

  1. Prompt regression testing
  2. Instruction-scope safety review
  3. Specific user task prompts
  4. Few-shot prompt examples

Explanation

Correct Answer

D:

The direct link between the scenario and Few-shot prompt examples is that representative input-output examples demonstrate a task's intended label boundaries; testing must also account for situations where examples that contradict the written rubric confuse classification, so the team should supply small, consistent labeled examples covering borderline priorities.

Incorrect Answers

A:

Prompt regression testing normally serves work in which evaluation sets reveal behavioral regressions when prompt wording changes; this case calls for Few-shot prompt examples, for which representative input-output examples demonstrate a task's intended label boundaries, rather than that adjacent result.

B:

The function of Instruction-scope safety review is that prompt controls must avoid exposing secrets and should delegate access verification to application code; although it may complement the overall solution, Few-shot prompt examples is the capability tied to the actual requested outcome.

C:

Specific user task prompts is useful when a clear user prompt identifies the source, audience, requested detail, and desired task, and its usual work includes efforts to state the specific document section, audience, and required summary length; it is not the most direct choice for the Few-shot prompt examples requirement.

Question 457

An engineer is troubleshooting Entity span offset handling. The investigation finds: Assuming a different string-indexing unit can corrupt substitutions. What should the engineer prioritize?

  1. Interpret sentiment at the supported document or sentence granularity.
  2. Label representative samples and test confusion between close classes.
  3. Process target-opinion pairs and display sentiment by attribute.
  4. Follow the response offset unit when slicing or replacing text.

Explanation

Correct Answer

D:

Entity span offset handling is meant to achieve this result: offsets define where entity spans appear and must match the API's indexing convention; the cited corrective step addresses the concrete error in this workflow, where assuming a different string-indexing unit can corrupt substitutions.

Incorrect Answers

A:

Work involving Sentiment scoring interpretation would normally interpret sentiment at the supported document or sentence granularity, because sentiment analysis returns polarity information for the evaluated text; it would not directly correct the Entity span offset handling problem where assuming a different string-indexing unit can corrupt substitutions.

B:

Custom classification labels is relevant when an off-the-shelf polarity model cannot infer proprietary routing rules reliably, and work on it might label representative samples and test confusion between close classes; the stem instead describes a Entity span offset handling failure in which assuming a different string-indexing unit can corrupt substitutions.

C:

For Opinion target extraction, the underlying goal is that opinion mining associates polarity with particular discussed aspects, and a typical action is to process target-opinion pairs and display sentiment by attribute; that action alone does not resolve the identified Entity span offset handling weakness.

Question 458

During prelaunch testing of Deployment safety review, the team discovers that good prompt wording alone cannot replace layered safety mechanisms. Which activity should it carry out?

  1. Choose a supported serverless deployment and verify billing and throughput policies.
  2. Deploy an appropriate model and verify its named deployment is ready.
  3. Filter for visual input support and run representative image-text prompts.
  4. Test sensitive cases and configure supported content filtering and escalation.

Explanation

Correct Answer

D:

The action is a direct correction to the Deployment safety review defect where good prompt wording alone cannot replace layered safety mechanisms; it matters because the capability should work as follows: supported safety filters and application controls constrain risky inputs and outputs.

Incorrect Answers

A:

The proposed activity is appropriate to Serverless API deployment choice, whose function is that serverless API deployments provide managed inference access for supported model offerings; the actual remediation needs to target Deployment safety review, specifically the issue that good prompt wording alone cannot replace layered safety mechanisms.

B:

Work involving Foundry model deployment creation would normally deploy an appropriate model and verify its named deployment is ready, because a model deployment makes a selected supported model available for inference requests; it would not directly correct the Deployment safety review problem where good prompt wording alone cannot replace layered safety mechanisms.

C:

Model catalog task filtering is relevant when choosing solely by name or popularity may select a text-only deployment, and work on it might filter for visual input support and run representative image-text prompts; the stem instead describes a Deployment safety review failure in which good prompt wording alone cannot replace layered safety mechanisms.

Question 459

An agent call invokes an external tool that sometimes takes too long to answer. Select the approach that best fits this exact situation.

  1. Agent timeout and cancellation
  2. Agent response creation
  3. Agent reference from Python
  4. Prompt injection in agent tools
  5. Agent result parsing
  6. Agent trace correlation

Explanation

Correct Answer

A:

The direct link between the scenario and Agent timeout and cancellation is that timeouts and cancellation prevent stalled client requests and support recovery; testing must also account for situations where allowing calls to block indefinitely hurts usability and resource control, so the team should set client deadlines and return a recoverable status when execution exceeds them.

Incorrect Answers

B:

Agent response creation is useful when a response invokes the specified agent against supplied conversation input, and its usual work includes efforts to submit a response call with the correct agent reference and conversation data; it is not the most direct choice for the Agent timeout and cancellation requirement.

C:

Choosing Agent reference from Python would target the behavior where an agent reference enables requests against a configured model, instructions, and tools; the scenario instead needs Agent timeout and cancellation, which achieves a different goal because timeouts and cancellation prevent stalled client requests and support recovery.

D:

Prompt injection in agent tools normally serves work in which tool-result isolation prevents lower-trust content from authorizing new actions; this case calls for Agent timeout and cancellation, for which timeouts and cancellation prevent stalled client requests and support recovery, rather than that adjacent result.

E:

The function of Agent result parsing is that reading structured response items correctly separates text from tool events and other metadata; although it may complement the overall solution, Agent timeout and cancellation is the capability tied to the actual requested outcome.

F:

Agent trace correlation is useful when correlation identifiers and telemetry connect client requests with server-side traces, and its usual work includes efforts to record request identifiers securely and inspect associated agent traces; it is not the most direct choice for the Agent timeout and cancellation requirement.

Question 460

An engineer is troubleshooting Visual-content safeguards. The investigation finds: Converting a photo to a model prompt does not remove its privacy risk. What should the engineer prioritize?

  1. Minimize captured regions and apply approved access and retention controls.
  2. Include both image and list content in the same supported request.
  3. Verify the chosen model supports visual input before constructing the request.
  4. Use an image-capable prompt that requests both the words and their context.

Explanation

Correct Answer

A:

Visual-content safeguards is meant to achieve this result: visual input needs the same privacy and safety policies as text content; the cited corrective step addresses the concrete error in this workflow, where converting a photo to a model prompt does not remove its privacy risk.

Incorrect Answers

B:

For Image and text combined reasoning, the underlying goal is that a multimodal prompt can compare visible objects with accompanying text, and a typical action is to include both image and list content in the same supported request; that action alone does not resolve the identified Visual-content safeguards weakness.

C:

The proposed activity is appropriate to Vision model suitability check, whose function is that input modalities depend on the model and deployment capabilities; the actual remediation needs to target Visual-content safeguards, specifically the issue that converting a photo to a model prompt does not remove its privacy risk.

D:

Work involving Visual OCR versus scene understanding would normally use an image-capable prompt that requests both the words and their context, because multimodal visual analysis can relate recognized text to scene context; it would not directly correct the Visual-content safeguards problem where converting a photo to a model prompt does not remove its privacy risk.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests