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

Question 300

A field-service mobile app currently meets a requirement to inspect sentiment labels from text analysis results through the technique “Call sentiment analysis on customer review text”. A new test asks it to sanitize a user message before logging it. What change should be made?

  1. Call sentiment analysis on customer review text
  2. Call PII detection and redact returned sensitive spans
  3. Call named entity recognition on text messages
  4. Call entity linking to disambiguate named mentions

Explanation

Correct Answer

B:

The earlier implementation covers a different outcome; to sanitize a user message before logging it, use this approach because language PII analysis helps locate personal identifiers and their offsets or categories; the application must decide how to mask or handle those spans safely; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

The previously considered capability is useful to inspect sentiment labels from text analysis results, whereas the present acceptance test is to sanitize a user message before logging it; its mechanism is that Azure Language sentiment analysis returns polarity-related information for supplied text; it works on written content and can help prioritize negative feedback without performing speech recognition; it does not itself deliver the new requirement.

C:

This alternative addresses a separate task to label named entities for later record processing, not the explicit requirement to sanitize a user message before logging it; its mechanism is that prebuilt NER extracts recognized spans and entity categories such as persons, organizations, and locations; an application can map those spans into a structured result; the requested outcome demands a different operation.

D:

If the target were to distinguish the city Paris from a person with the same name, this would be useful; however the acceptance test is to sanitize a user message before logging it; its technical role is that entity linking can associate an ambiguous named mention in text with a specific recognized entity and reference; it addresses identity ambiguity rather than extracting arbitrary custom data fields; it does not resolve the stated gap.

Question 301

A claims-processing workflow currently meets a requirement to check allowable text size before posting an analysis request through the technique “Respect text size and document-count service limits”. A new test asks it to redact the correct characters of a sensitive field in a message. What change should be made?

  1. Use the Azure Language SDK or REST endpoint in a lightweight application
  2. Select the text-analysis capability matching the requested output
  3. Respect text size and document-count service limits
  4. Use asynchronous text analysis for supported long-running features
  5. Map extracted text spans to the original source positions

Explanation

Correct Answer

E:

The earlier implementation covers a different outcome; to redact the correct characters of a sensitive field in a message, use this approach because 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; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

Its role is to attach language features to a simple backend workflow, while the present test is about the ability to redact the correct characters of a sensitive field in a message; the underlying operation is that programmatic clients send text to the language analysis service and process returned structured results; A playground is useful for trials but does not replace integration code; the two needs must not be conflated.

B:

This alternative addresses a separate task to map a business requirement to the correct language operation, not the explicit requirement to redact the correct characters of a sensitive field in a message; its mechanism 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; the requested outcome demands a different operation.

C:

The previously considered capability is useful to check allowable text size before posting an analysis request, whereas the present acceptance test is to redact the correct characters of a sensitive field in a message; its mechanism is that 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; it does not itself deliver the new requirement.

D:

This choice addresses a separate goal to poll the status of a long-running language analysis job, which is different from the requested outcome to redact the correct characters of a sensitive field in a message; the relevant technical behavior is asynchronous APIs let applications submit work and poll for completion rather than blocking on one synchronous operation; supported capabilities and limits should be checked for the selected version; this is not the focused implementation here.

Question 302

A media review workflow passed its test to find relevant video moments without watching the entire file through the approach “Build video-search segments for retrieval-augmented applications”. It failed a different test to associate spoken guidance with the visible demonstration. Which change resolves the failed test?

  1. Review low-confidence media findings before automation
  2. Preserve timestamps with extracted video evidence
  3. Use video analysis for time-based multimodal content
  4. Combine transcript and visual cues for video summaries
  5. Build video-search segments for retrieval-augmented applications

Explanation

Correct Answer

C:

The second test calls for a capability that can associate spoken guidance with the visible demonstration. 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 the missing implementation, rather than another adjustment to Build video-search segments for retrieval-augmented applications.

Incorrect Answers

A:

This choice addresses a separate goal to review a segment whose spoken words were masked by background noise, which is different from the requested outcome to associate spoken guidance with the visible demonstration; the relevant technical behavior is 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 not the focused implementation here.

B:

Its role is to attribute an observed action to a clip interval, while the present test is about the ability to associate spoken guidance with the visible demonstration; the underlying operation is that time references make findings actionable by connecting descriptions or transcripts to positions in the original recording; A list of observations without time context is harder to verify; the two needs must not be conflated.

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 associate spoken guidance with the visible demonstration; 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.

E:

The previously considered capability is useful to find relevant video moments without watching the entire file, whereas the present acceptance test is to associate spoken guidance with the visible demonstration; its mechanism is that search-oriented video analyzers prepare indexed segments with transcripts and descriptions; retrieval then locates relevant intervals rather than generating a new video; it does not itself deliver the new requirement.

Question 303

A feature request for an employee knowledge assistant reads: “trial a system instruction against a deployed model without writing a client.” Which technical approach is most directly applicable?

  1. Inspect project usage, access, and costs before scaling
  2. Create a Microsoft Foundry project for application development
  3. Identify the correct Foundry project endpoint for SDK clients
  4. Configure a secure project connection to a required data service
  5. Use the Foundry playground to validate prompt behavior

Explanation

Correct Answer

E:

The requested outcome is to trial a system instruction against a deployed model without writing a client; this action is the focused implementation: the playground provides an interactive environment for experimenting with an available model and its settings; it helps confirm a prompt before the application implements equivalent requests in code; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

This alternative addresses a separate task to distinguish endpoint consumption from model evaluation accuracy, not the explicit requirement to trial a system instruction against a deployed model without writing a client; its mechanism is that observability and cost review help detect high token consumption, errors, and inappropriate access; model quality metrics alone do not explain deployment spend or operational usage; the requested outcome demands a different operation.

B:

If the target were to organize a new generative AI application with a consistent project workspace, this would be useful; however the acceptance test is to trial a system instruction against a deployed model without writing a client; its technical role is that A Foundry project organizes application assets, model interactions, agents, and connections under a project endpoint; it gives collaborators a managed context for development rather than replacing the Azure subscription; it does not resolve the stated gap.

C:

This choice addresses a separate goal to correct a script configured with the resource group's ARM management URL, which is different from the requested outcome to trial a system instruction against a deployed model without writing a client; the relevant technical behavior is the project endpoint addresses a specific Foundry project and is used by the current project client APIs; it is not interchangeable with an unrelated storage URL or generic portal landing page; this is not the focused implementation here.

D:

Its role is to avoid hardcoding every service endpoint inside prompt text, while the present test is about the ability to trial a system instruction against a deployed model without writing a client; the underlying operation is that project connections describe how an application or tool reaches an external service or knowledge source; credentials, access controls, and service availability still determine whether the connection works; the two needs must not be conflated.

Question 304

An acceptance test requires a claims processing application to fetch final fields after a document analysis operation completes. Which of the following matches that test?

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

Explanation

Correct Answer

D:

The requested outcome is to fetch final fields after a document analysis operation completes; this action is the focused implementation: 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; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

If the target were to create a repeatable extraction definition for many supplier documents, this would be useful; however the acceptance test is to fetch final fields after a document analysis operation completes; 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.

B:

This choice addresses a separate goal to highlight source evidence for a questioned extracted date, which is different from the requested outcome to fetch final fields after a document analysis operation completes; the relevant technical behavior is 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; this is not the focused implementation here.

C:

Its role is to preserve compatibility with documented GA extraction capabilities, while the present test is about the ability to fetch final fields after a document analysis operation completes; the underlying operation 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; the two needs must not be conflated.

Question 305

An employee knowledge assistant currently meets a requirement to authenticate project operations using Azure identity rather than plain text prompts through the technique “Create AIProjectClient with a project endpoint and credential”. A new test asks it to avoid implementing low-level HTTP authentication for each inference request. What change should be made?

  1. Create AIProjectClient with a project endpoint and credential
  2. Install the current Azure AI Projects Python client for Foundry development
  3. Use DefaultAzureCredential for token-based development authentication
  4. Catch API errors and handle throttling within safe retry limits
  5. Obtain a model inference client from the Foundry project SDK

Explanation

Correct Answer

E:

The earlier implementation covers a different outcome; to avoid implementing low-level HTTP authentication for each inference request, use this approach because 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 adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

The previously considered capability is useful to authenticate project operations using Azure identity rather than plain text prompts, whereas the present acceptance test is to avoid implementing low-level HTTP authentication for each inference request; 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:

This alternative addresses a separate task to make project-client types available to a Python application, not the explicit requirement to avoid implementing low-level HTTP authentication for each inference request; 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; the requested outcome demands a different operation.

C:

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 avoid implementing low-level HTTP authentication for each inference request; 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.

D:

This choice addresses a separate goal to avoid retrying invalid authentication forever, which is different from the requested outcome to avoid implementing low-level HTTP authentication for each inference request; the relevant technical behavior is 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; this is not the focused implementation here.

Question 306

A regression checklist for a technician support portal has two independent outcomes: it already can learn specialized labels that are absent from general text analytics, but it must also surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier. Which capability is needed for the second outcome?

  1. Apply sentiment analysis to determine expressed polarity
  2. Apply key phrase extraction to find central topics
  3. Apply text translation to change the message language
  4. Apply language detection to identify input language
  5. Apply custom text classification for organization-specific categories

Explanation

Correct Answer

B:

The second test calls for a capability that can surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier. 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; this is the missing implementation, rather than another adjustment to Apply custom text classification for organization-specific categories.

Incorrect Answers

A:

This choice addresses a separate goal to track how opinions change after a product launch, which is different from the requested outcome to surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier; the relevant technical behavior is sentiment classification estimates whether text expresses positive, negative, neutral, or mixed sentiment; it does not establish a customer's actual intention or verify claims; this is not the focused implementation here.

C:

This alternative addresses a separate task to bridge text communication between employees using different languages, not the explicit requirement to surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier; 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:

If the target were to route incoming messages according to whether they are Spanish or French, this would be useful; however the acceptance test is to surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier; its technical role is that language detection infers the language or locale of provided text so a pipeline can select suitable downstream processing; it does not itself translate the content; it does not resolve the stated gap.

E:

The previously considered capability is useful to learn specialized labels that are absent from general text analytics, whereas the present acceptance test is to surface informative multiword product-feature phrases from incoming reviews without first training a custom category classifier; its mechanism is that custom classification learns labels defined by the business from representative examples; generic language detection and sentiment scores cannot replace a domain-specific category taxonomy; it does not itself deliver the new requirement.

Question 307

After adding the action “Use the generate method for inferred or summarized content” to produce a short explanation of a document's central issue, engineers verify that a claims processing application still cannot preserve hierarchical document fields for API consumers. Which addition addresses the remaining gap?

  1. Model repeating records as arrays with defined item types
  2. Define fields with explicit data types and descriptions
  3. Use nested object properties for composite field values
  4. Use the generate method for inferred or summarized content

Explanation

Correct Answer

C:

The second test calls for a capability that can preserve hierarchical document fields for API consumers. nested objects group related subfields under a common parent such as an address or contact; this structure is clearer than concatenating unrelated values into one string; this is the missing implementation, rather than another adjustment to Use the generate method for inferred or summarized content.

Incorrect Answers

A:

Its role is to represent several detected events from a video, while the present test is about the ability to preserve hierarchical document fields for API consumers; the underlying operation is that arrays represent multiple items such as invoice line entries or detected speakers; item type declarations enable downstream consumers to interpret each element consistently; the two needs must not be conflated.

B:

This alternative addresses a separate task to create a reusable schema matching downstream application fields, not the explicit requirement to preserve hierarchical document fields for API consumers; its mechanism is that A field schema specifies desired outputs such as strings, numbers, objects, and arrays; informative descriptions help the analyzer infer correct values; vague field names can produce inconsistent extraction; the requested outcome demands a different operation.

D:

The previously considered capability is useful to produce a short explanation of a document's central issue, whereas the present acceptance test is to preserve hierarchical document fields for API consumers; its mechanism is that generate derives a value from the content using an AI model rather than copying literal text; it suits summaries and descriptive insights across relevant modalities; it does not itself deliver the new requirement.

Question 308

The proposed design adopts the action “Include verifiable source references in grounded answers” to show evidence provenance to a reviewer of generated compliance advice. The implementation target for a helpdesk documentation assistant is instead to prevent answers from citing an obsolete document after deletion. Which method fits the target?

  1. Reindex or refresh embeddings when reference content changes
  2. Chunk long source documents before creating searchable embeddings
  3. Use hybrid retrieval when both terms and meaning matter
  4. Include verifiable source references in grounded answers

Explanation

Correct Answer

A:

For the requirement to prevent answers from citing an obsolete document after deletion, this action has the relevant behavior: retrieval freshness depends on ingesting additions, updates, and deletions into the index; A model cannot retrieve a new policy if its search store still contains only the old version; by contrast, Include verifiable source references in grounded answers addresses the separate goal to show evidence provenance to a reviewer of generated compliance advice.

Incorrect Answers

B:

This alternative addresses a separate task to tune chunk size so related paragraphs remain findable, not the explicit requirement to prevent answers from citing an obsolete document after deletion; its mechanism is that chunking divides documents into retrievable passages that fit useful context sizes; boundaries and overlap can affect whether relevant evidence survives retrieval; the requested outcome demands a different operation.

C:

If the target were to find a part number while also matching its descriptive symptoms, this would be useful; however the acceptance test is to prevent answers from citing an obsolete document after deletion; its technical role is that hybrid search combines lexical signals with vector similarity to handle exact identifiers and semantic paraphrases; it often helps when documents contain product codes alongside explanatory prose; it does not resolve the stated gap.

D:

The previously considered capability is useful to show evidence provenance to a reviewer of generated compliance advice, whereas the present acceptance test is to prevent answers from citing an obsolete document after deletion; its mechanism is that citations should identify retrieved evidence and support specific claims, not simply display plausible-looking URLs; application logic can validate that references correspond to available documents; it does not itself deliver the new requirement.

Question 309

A field-inspection app is being assessed against a precise requirement: mark the coordinates of helmets in a construction photograph. Which approach directly meets that requirement?

  1. Apply optical character recognition to read depicted text
  2. Apply image segmentation to label pixel-level regions
  3. Apply image captioning to describe visible content
  4. Apply image quality checks before visual inference
  5. Apply object detection to locate multiple instances

Explanation

Correct Answer

E:

The requested outcome is to mark the coordinates of helmets in a construction photograph; this action is the focused implementation: object detection identifies objects and returns categories with spatial locations or bounding boxes; it differs from whole-image classification because the question is where each object appears; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

This choice addresses a separate goal to transcribe signs visible in a road image, which is different from the requested outcome to mark the coordinates of helmets in a construction photograph; 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.

B:

Its role is to label each pixel belonging to water in satellite imagery, while the present test is about the ability to mark the coordinates of helmets in a construction photograph; 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:

This alternative addresses a separate task to summarize visual context for a user who cannot see the image, not the explicit requirement to mark the coordinates of helmets in a construction photograph; its mechanism is that image captioning generates natural-language descriptions of a picture's general content; it is not the same as extracting exact printed characters; the requested outcome demands a different operation.

D:

If the target were to reject an unreadably blurred receipt photo before extraction, this would be useful; however the acceptance test is to mark the coordinates of helmets in a construction photograph; its technical role is that blurring, glare, cropping, low resolution, and occlusion can degrade image recognition; A preflight quality gate identifies unsuitable input before downstream inference; it does not resolve the stated gap.

Question 310

An integration team needs to satisfy 3 independent requirements for a public-sector service: (1) carry out a multistep scheduling workflow with approved tools; (2) apply a mandatory sequence of known validation steps; (3) avoid relying on uncertain memorized product documentation. Which THREE distinct actions directly address these requirements? Choose THREE.

  1. Apply trace inspection to investigate agent decisions
  2. Apply per-user authorization to agent tool execution
  3. Apply a tool-enabled AI agent for permitted external actions
  4. Apply a deterministic workflow for fixed business rules
  5. Apply retrieval-augmented conversation for grounded knowledge answers

Explanation

Correct Answers

C:

Within this combination of requirements to carry out a multistep scheduling workflow with approved tools and apply a mandatory sequence of known validation steps and avoid relying on uncertain memorized product documentation, this is the action for the specific condition to carry out a multistep scheduling workflow with approved tools: an agent can combine a model, instructions, and authorized tools to execute parts of a workflow; permission boundaries and review remain important when actions affect external systems; it addresses that condition independently of the other selected actions.

D:

Within this combination of requirements to carry out a multistep scheduling workflow with approved tools and apply a mandatory sequence of known validation steps and avoid relying on uncertain memorized product documentation, this is the action for the specific condition to apply a mandatory sequence of known validation steps: rule-driven flows are appropriate when every decision can be expressed with explicit deterministic logic; generative planning is unnecessary for simple fixed branching conditions; it addresses that condition independently of the other selected actions.

E:

Within this combination of requirements to carry out a multistep scheduling workflow with approved tools and apply a mandatory sequence of known validation steps and avoid relying on uncertain memorized product documentation, this is the action for the specific condition to avoid relying on uncertain memorized product documentation: RAG uses source retrieval to provide factual context to a generation step; it differs from an agent whose primary purpose is invoking side-effecting tools; it addresses that condition independently of the other selected actions.

Incorrect Answers

A:

This alternative supports another requirement to follow the sequence of tools used in a failed workflow, rather than the specified combination of requirements to carry out a multistep scheduling workflow with approved tools and apply a mandatory sequence of known validation steps and avoid relying on uncertain memorized product documentation: agent traces can show model responses, tool calls, errors, and execution timing for debugging; traces should be protected because they may contain sensitive request data; it is not one of the keyed operations.

B:

This alternative supports another requirement to avoid using one unrestricted service credential for all user actions, rather than the specified combination of requirements to carry out a multistep scheduling workflow with approved tools and apply a mandatory sequence of known validation steps and avoid relying on uncertain memorized product documentation: the backend must enforce each user's permissions before the agent invokes an action; prompt instructions alone do not grant or restrict effective access; this guards against cross-user access; it is not one of the keyed operations.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests