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

Question 880

A factory operations assistant currently meets a requirement to isolate untrusted retrieval text from privileged application controls through the technique “Reject prompt-injection attempts from retrieved or tool-returned text”. A new test asks it to prevent unsafe generated output from being shown directly. What change should be made?

  1. Reject prompt-injection attempts from retrieved or tool-returned text
  2. Constrain agent network and external data access as required
  3. Use Microsoft Entra authorization and least privilege for project access
  4. Apply content filters and safety policy at supported model endpoints

Explanation

Correct Answer

D:

The earlier implementation covers a different outcome; to prevent unsafe generated output from being shown directly, use this approach because 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; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

The previously considered capability is useful to isolate untrusted retrieval text from privileged application controls, whereas the present acceptance test is to prevent unsafe generated output from being shown directly; 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.

B:

Its role is to limit which external APIs a production agent may call, while the present test is about the ability to prevent unsafe generated output from being shown directly; the underlying operation is that network restrictions, connection governance, and tool allowlists reduce accidental exposure of sensitive systems; A model cannot override enforced endpoint access limits; the two needs must not be conflated.

C:

This alternative addresses a separate task to separate read access to results from authority to modify resources, not the explicit requirement to prevent unsafe generated output from being shown directly; 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; the requested outcome demands a different operation.

Question 881

A digital accessibility service passed its test to describe visible objects and answer follow-up image questions through the approach “Select a multimodal vision-language model for image questions”. It failed a different test to process microphone speech before sending content to a text analyzer. Which change resolves the failed test?

  1. Select a speech synthesis model for spoken output
  2. Select a multimodal vision-language model for image questions
  3. Select a text generation model for prose and dialogue
  4. Select a speech recognition model for audio transcription

Explanation

Correct Answer

D:

The second test calls for a capability that can process microphone speech before sending content to a text analyzer. automatic speech recognition transforms spoken audio into words and may attach timestamps or speaker-related metadata; it does not inherently produce spoken output or translate all content; this is the missing implementation, rather than another adjustment to Select a multimodal vision-language model for image questions.

Incorrect Answers

A:

If the target were to read a generated explanation aloud to a user, this would be useful; however the acceptance test is to process microphone speech before sending content to a text analyzer; its technical role is that text-to-speech systems transform textual content into audible speech, often with voice and pronunciation settings; they are distinct from recognizing speech that has already been recorded; it does not resolve the stated gap.

B:

The previously considered capability is useful to describe visible objects and answer follow-up image questions, whereas the present acceptance test is to process microphone speech before sending content to a text analyzer; its mechanism is that A multimodal model accepting images and text can reason over visual input and answer questions about it; support varies by model and deployment, so image input capability must be verified; it does not itself deliver the new requirement.

C:

Its role is to create alternative wording for a product description, while the present test is about the ability to process microphone speech before sending content to a text analyzer; the underlying operation is that text-oriented generative models produce contextual natural-language responses and support tasks such as drafting and conversation; they are not, by that fact alone, optical character recognition or speech synthesis systems; the two needs must not be conflated.

Question 882

A pilot of a contact-center application successfully uses “Use scene segmentation to isolate meaningful video sections” to analyze only the segments relevant to a reported event. The next milestone requires it to flag blurry frames for inspection before assigning a formal outcome. Which step would meet the milestone?

  1. Use video analysis for time-based multimodal content
  2. Use scene segmentation to isolate meaningful video sections
  3. Review low-confidence media findings before automation
  4. Combine transcript and visual cues for video summaries

Explanation

Correct Answer

C:

The second test calls for a capability that can flag blurry frames for inspection before assigning a formal outcome. 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; this is the missing implementation, rather than another adjustment to Use scene segmentation to isolate meaningful video sections.

Incorrect Answers

A:

This choice addresses a separate goal to summarize both speech and visuals from a training recording, which is different from the requested outcome to flag blurry frames for inspection before assigning a formal outcome; the relevant technical behavior is 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; this is not the focused implementation here.

B:

The previously considered capability is useful to analyze only the segments relevant to a reported event, whereas the present acceptance test is to flag blurry frames for inspection before assigning a formal outcome; its mechanism 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 itself deliver the new requirement.

D:

If the target were to summarize a demonstration where gestures explain part of the procedure, this would be useful; however the acceptance test is to flag blurry frames for inspection before assigning a formal outcome; its technical role is that video understanding can draw on recognized speech and scene descriptions together; speech-only transcription misses actions shown without narration; it does not resolve the stated gap.

Question 883

A Python post-processing snippet contains value = payload.get("confidence", 0.0). What operation is being performed?

  1. Remove surrounding whitespace from a text value
  2. Create a collection containing distinct label values
  3. Build a list of ID values from the record dictionaries
  4. Read a dictionary field with a default value

Explanation

Correct Answer

D:

The expression value = payload.get("confidence", 0.0) has precisely this role: the dict.get method returns the confidence value if present and uses 0.0 when the key is missing; this is not a model confidence calculation.

Incorrect Answers

A:

That description applies to a different expression, cleaned = message.strip(): the str.strip method trims leading and trailing whitespace, without translating the message or removing characters from its interior; it does not describe the operation of value = payload.get("confidence", 0.0).

B:

That description applies to a different expression, unique = set(labels): the set constructor removes duplicate elements from the iterable and does not preserve a guaranteed list order for display; it does not describe the operation of value = payload.get("confidence", 0.0).

C:

That description applies to a different expression, ids = [row["id"] for row in records]: the list comprehension iterates over records and extracts each id key into a new list while preserving the input order; it does not describe the operation of value = payload.get("confidence", 0.0).

Question 884

The team operating a visual accessibility assistant recommends the approach “Ask a model to acknowledge uncertainty when visual evidence is insufficient” to refrain from claiming certainty about an occluded object. The acceptance criterion, however, is to avoid treating a scene description as verified character-by-character text. Which approach should be selected instead?

  1. Validate privacy and consent before analyzing uploaded pictures
  2. Evaluate visual answers against representative images and questions
  3. Ask a model to acknowledge uncertainty when visual evidence is insufficient
  4. Distinguish image reasoning from optical character recognition

Explanation

Correct Answer

D:

For the requirement to avoid treating a scene description as verified character-by-character text, this action has the relevant behavior: 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; by contrast, Ask a model to acknowledge uncertainty when visual evidence is insufficient addresses the separate goal to refrain from claiming certainty about an occluded object.

Incorrect Answers

A:

Its role is to enforce authorized handling of photographed identity information, while the present test is about the ability to avoid treating a scene description as verified character-by-character text; the underlying operation is that 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; the two needs must not be conflated.

B:

This alternative addresses a separate task to detect regressions after changing a vision-capable deployment, not the explicit requirement to avoid treating a scene description as verified character-by-character text; its mechanism 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 requested outcome demands a different operation.

C:

The previously considered capability is useful to refrain from claiming certainty about an occluded object, whereas the present acceptance test is to avoid treating a scene description as verified character-by-character text; its mechanism 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; it does not itself deliver the new requirement.

Question 885

An existing feature in a media processing service uses the approach “Apply image generation to create synthetic pictures” to create a fictional background for a game scene. The next release must describe an uploaded scene to help text-only search. Which action implements the additional behavior?

  1. Apply image captioning to describe visible content
  2. Apply image generation to create synthetic pictures
  3. Apply image segmentation to label pixel-level regions
  4. Apply optical character recognition to read depicted text

Explanation

Correct Answer

A:

The earlier implementation covers a different outcome; to describe an uploaded scene to help text-only search, use this approach because image captioning generates natural-language descriptions of a picture's general content; it is not the same as extracting exact printed characters; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

B:

The previously considered capability is useful to create a fictional background for a game scene, whereas the present acceptance test is to describe an uploaded scene to help text-only search; its mechanism 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 itself deliver the new requirement.

C:

If the target were to outline the exact surface area of road cracks in an image, this would be useful; however the acceptance test is to describe an uploaded scene to help text-only search; its technical role is that segmentation partitions image pixels into meaningful categories or instances; it provides finer spatial detail than rectangular object-detection boxes; it does not resolve the stated gap.

D:

This choice addresses a separate goal to transcribe signs visible in a road image, which is different from the requested outcome to describe an uploaded scene to help text-only search; the relevant technical behavior is OCR identifies text characters or words in images and scanned pages; it produces recognized text rather than semantic descriptions of the whole scene; this is not the focused implementation here.

Question 886

An image-review application is being assessed against a precise requirement: label photographs as indoor or outdoor. Which approach directly meets that requirement?

  1. Apply image segmentation to label pixel-level regions
  2. Apply image classification to assign a whole-image category
  3. Apply optical character recognition to read depicted text
  4. Apply image similarity search to find visually related examples

Explanation

Correct Answer

B:

The requested outcome is to label photographs as indoor or outdoor; this action is the focused implementation: 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; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

Its role is to label each pixel belonging to water in satellite imagery, while the present test is about the ability to label photographs as indoor or outdoor; the underlying operation is that segmentation partitions image pixels into meaningful categories or instances; it provides finer spatial detail than rectangular object-detection boxes; the two needs must not be conflated.

C:

If the target were to read a serial number printed on a photographed label, this would be useful; however the acceptance test is to label photographs as indoor or outdoor; its technical role is that OCR identifies text characters or words in images and scanned pages; it produces recognized text rather than semantic descriptions of the whole scene; it does not resolve the stated gap.

D:

This choice addresses a separate goal to find near-matching product images among stored assets, which is different from the requested outcome to label photographs as indoor or outdoor; the relevant technical behavior is image embeddings or feature comparisons can rank pictures by visual similarity; retrieval selects existing content, while generation creates new media; this is not the focused implementation here.

Question 887

A feature request for a factory operations assistant reads: “display a response's user-facing text after a successful call.” Which technical approach is most directly applicable?

  1. Send a model request with the correct model or deployment identifier
  2. Obtain a model inference client from the Foundry project SDK
  3. Inspect the returned response content rather than assuming plain text
  4. Catch API errors and handle throttling within safe retry limits

Explanation

Correct Answer

C:

The requested outcome is to display a response's user-facing text after a successful call; this action is the focused implementation: SDK responses can include structured output items, status, and metadata alongside convenience text properties; applications should handle empty or nontext output appropriately; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

This alternative addresses a separate task to stop referring to a catalog model before it is made callable, not the explicit requirement to display a response's user-facing text after a successful call; its mechanism is that inference requests target an available model deployment using the expected API field or bound client; A display name in documentation is not necessarily the callable deployment name; the requested outcome demands a different operation.

B:

If the target were to send text prompts using a client constructed from a project context, this would be useful; however the acceptance test is to display a response's user-facing text after a successful call; its technical role 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; it does not resolve the stated gap.

D:

Its role is to surface useful diagnostics when model deployment names are wrong, while the present test is about the ability to display a response's user-facing text after a successful call; the underlying operation is that 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; the two needs must not be conflated.

Question 888

A pilot of a forms intake portal successfully uses “Use the GA Content Understanding API for production workloads” to avoid depending on preview-only analyzer behavior in a production contract. The next milestone requires it to minimize configuration work for a common supported processing pattern. Which step would meet the milestone?

  1. Use the GA Content Understanding API for production workloads
  2. Use a Content Understanding analyzer to process unstructured inputs
  3. Choose a prebuilt analyzer for a common supported content type
  4. Check confidence and source grounding before downstream automation
  5. Submit analysis and obtain the completed structured result

Explanation

Correct Answer

C:

The second test calls for a capability that can minimize configuration work for a common supported processing pattern. base and domain-specific prebuilt analyzers offer established extraction behavior without defining every field from scratch; selection depends on the input and desired outputs; this is the missing implementation, rather than another adjustment to Use the GA Content Understanding API for production workloads.

Incorrect Answers

A:

The previously considered capability is useful to avoid depending on preview-only analyzer behavior in a production contract, whereas the present acceptance test is to minimize configuration work for a common supported processing pattern; its mechanism is that the documented generally available API version provides stable multimodal content extraction capabilities; preview versions can expose additional features but should not be presumed production-ready; it does not itself deliver the new requirement.

B:

If the target were to create a repeatable extraction definition for many supplier documents, this would be useful; however the acceptance test is to minimize configuration work for a common supported processing pattern; its technical role is that an analyzer defines the content type, extraction configuration, field schema, and model settings used to interpret input; once configured it can be reused for matching document, image, audio, or video workloads; it does not resolve the stated gap.

D:

Its role is to decide when a structured result needs manual verification, while the present test is about the ability to minimize configuration work for a common supported processing pattern; the underlying operation is that field-level confidence and source references support review of uncertain extraction; A number near one is an estimate, not absolute proof of a correct value; the two needs must not be conflated.

E:

This alternative addresses a separate task to integrate job submission and subsequent result retrieval, not the explicit requirement to minimize configuration work for a common supported processing pattern; its mechanism is that Content Understanding analysis often follows a job-style workflow in which a submitted analysis is completed and results are retrieved; an accepted request is not necessarily the finished extraction output; the requested outcome demands a different operation.

Question 889

The proposed design adopts the action “Use prompt instructions for behavior changes that need no weight training” to ask for a fixed response structure without creating a new dataset. The implementation target for a field-service mobile app is instead to train on stable examples for a specialized classification behavior. Which method fits the target?

  1. Use retrieval-augmented generation for changing private knowledge
  2. Consider fine-tuning for recurring task-specific behavior with suitable data
  3. Use prompt instructions for behavior changes that need no weight training
  4. Evaluate with a representative benchmark before selecting a model

Explanation

Correct Answer

B:

For the requirement to train on stable examples for a specialized classification behavior, this action has the relevant behavior: fine-tuning adapts model weights using curated examples for supported models and tasks; it is not the simplest way to make a frequently changing document collection available; by contrast, Use prompt instructions for behavior changes that need no weight training addresses the separate goal to ask for a fixed response structure without creating a new dataset.

Incorrect Answers

A:

This alternative addresses a separate task to reduce outdated answers when new documents are published, not the explicit requirement to train on stable examples for a specialized classification behavior; its mechanism is that RAG retrieves relevant material at query time and supplies it to a model as grounding context; it is useful when facts change frequently or cannot be assumed to be in training data; the requested outcome demands a different operation.

C:

The previously considered capability is useful to ask for a fixed response structure without creating a new dataset, whereas the present acceptance test is to train on stable examples for a specialized classification behavior; its mechanism is that prompt engineering changes request context and output instructions without updating model parameters; it is the first option for many formatting and role constraints; it does not itself deliver the new requirement.

D:

Its role is to detect that a cheaper model meets the task's required reliability, while the present test is about the ability to train on stable examples for a specialized classification behavior; the underlying operation is that model choice should be based on task quality, latency, cost, language support, and safety needs using relevant test cases; leaderboard rank alone cannot establish suitability for the application; the two needs must not be conflated.

Question 890

A design review for a claims-processing workflow proposes the action “Apply authorization and privacy controls to text analysis inputs” because it helps to keep customer identifiers from being exposed in diagnostic logs. The actual requirement is to avoid corrupting text when applying detection offsets. Which alternative directly meets the stated goal?

  1. Select the text-analysis capability matching the requested output
  2. Respect text size and document-count service limits
  3. Map extracted text spans to the original source positions
  4. Apply authorization and privacy controls to text analysis inputs

Explanation

Correct Answer

C:

For the requirement to avoid corrupting text when applying detection offsets, this action has the relevant behavior: recognized entities or sensitive phrases often include positions that allow highlighting or redaction in the source text; offsets must be interpreted using the service's specified units and text handling rules; by contrast, Apply authorization and privacy controls to text analysis inputs addresses the separate goal to keep customer identifiers from being exposed in diagnostic logs.

Incorrect Answers

A:

If the target were to obtain an entity list rather than an overall emotional score, this would be useful; however the acceptance test is to avoid corrupting text when applying detection offsets; its technical role is that sentiment, NER, PII, key phrases, and summarization provide different output schemas; requesting a neighboring feature will not yield the required kind of information; it does not resolve the stated gap.

B:

This choice addresses a separate goal to handle an HTTP 400 caused by too many documents in one call, which is different from the requested outcome to avoid corrupting text when applying detection offsets; the relevant technical behavior is language features impose per-request size and document-count limits, which may differ by operation; an application should validate inputs and partition workloads before submitting oversized payloads; this is not the focused implementation here.

D:

The previously considered capability is useful to keep customer identifiers from being exposed in diagnostic logs, whereas the present acceptance test is to avoid corrupting text when applying detection offsets; its mechanism is that service permissions and data-minimization practices are needed when sending customer content for language analysis; A successful API invocation does not by itself establish appropriate handling; it does not itself deliver the new requirement.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests