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

Question 30

The project endpoint is https://sample.services.ai.azure.com/api/projects/helpdesk. Which constructor argument should receive it?

  1. temperature=FOUNDRY_PROJECT_ENDPOINT
  2. endpoint=FOUNDRY_PROJECT_ENDPOINT
  3. model=FOUNDRY_PROJECT_ENDPOINT
  4. input=FOUNDRY_PROJECT_ENDPOINT

Explanation

Correct Answer

B:

The project client endpoint argument locates the Foundry project API, while the credential handles identity separately.

Incorrect Answers

A:

Temperature affects the randomness of generated tokens; assigning a resource URL to a sampling parameter cannot establish the Foundry project connection.

C:

A model argument selects which model or deployment produces the response; it cannot replace the project URL passed when initializing the client.

D:

An inference input field contains the user request or multimodal payload; putting a project URL there would be treated as task content, not connection configuration.

Question 31

A news analyst wants the main topics from thousands of short headlines without assigning fixed categories. Select the approach that best fits this exact situation.

  1. Sentiment workload
  2. Key phrase extraction workload
  3. Language detection workload
  4. Text summarization workload
  5. Opinion mining workload
  6. Custom text classification workload

Explanation

Correct Answer

B:

Choosing Key phrase extraction workload gives the workflow the required function: key phrase extraction identifies salient topics and terms in unstructured text; engineers can verify the choice by choosing to run key phrase extraction and consolidate repeated phrases after normalization.

Incorrect Answers

A:

The function of Sentiment workload is that sentiment analysis evaluates expressed opinion or emotional polarity in text; although it may complement the overall solution, Key phrase extraction workload is the capability tied to the actual requested outcome.

C:

Choosing Language detection workload would target the behavior where language detection estimates the language of the provided text; the scenario instead needs Key phrase extraction workload, which achieves a different goal because key phrase extraction identifies salient topics and terms in unstructured text.

D:

Text summarization workload normally serves work in which summarization compresses source content into a shorter representation of its key ideas; this case calls for Key phrase extraction workload, for which key phrase extraction identifies salient topics and terms in unstructured text, rather than that adjacent result.

E:

The function of Opinion mining workload is that aspect-based opinion mining connects sentiment to the specific features being discussed; although it may complement the overall solution, Key phrase extraction workload is the capability tied to the actual requested outcome.

F:

Custom text classification workload is useful when custom classification learns task-specific labels from examples rather than generic sentiment, and its usual work includes efforts to prepare labeled representative examples and evaluate a custom classifier; it is not the most direct choice for the Key phrase extraction workload requirement.

Question 32

A design review of Opinion target extraction identifies this gap: Single-label sentiment loses the distinction between service and food. Which measure best closes that gap?

  1. Interpret sentiment at the supported document or sentence granularity.
  2. Process target-opinion pairs and display sentiment by attribute.
  3. Evaluate detected language and apply a low-confidence fallback.
  4. Initialize the appropriate client with authorized credentials and endpoint.

Explanation

Correct Answer

B:

The action is a direct correction to the Opinion target extraction defect where single-label sentiment loses the distinction between service and food; it matters because the capability should work as follows: opinion mining associates polarity with particular discussed aspects.

Incorrect Answers

A:

Sentiment scoring interpretation is relevant when a positive overall label does not reveal every critical phrase, and work on it might interpret sentiment at the supported document or sentence granularity; the stem instead describes a Opinion target extraction failure in which single-label sentiment loses the distinction between service and food.

C:

The proposed activity is appropriate to Language detection call, whose function is that language detection estimates text language to guide later processing; the actual remediation needs to target Opinion target extraction, specifically the issue that single-label sentiment loses the distinction between service and food.

D:

Work involving Azure Language client setup would normally initialize the appropriate client with authorized credentials and endpoint, because a Language client or supported REST request sends text to specialized NLP endpoints; it would not directly correct the Opinion target extraction problem where single-label sentiment loses the distinction between service and food.

Question 33

The documented technical capability is that version traces connect outputs to the deployed model and configuration. An engineer is reviewing how Explainable audit trail can fail. Which warning is most closely associated with this particular mechanism?

  1. A bare score does not tell users what drove a material outcome.
  2. Hiding automation makes it harder to judge advice and request human help.
  3. Missing version records prevent reconstructing a consequential decision.
  4. Accuracy percentages without context can conceal tested-population gaps.

Explanation

Correct Answer

C:

Explainable audit trail is intended to deliver the following behavior: version traces connect outputs to the deployed model and configuration; a failure occurs when missing version records prevent reconstructing a consequential decision, and the appropriate check is to record model version, relevant inputs, and evaluation settings with appropriate privacy safeguards.

Incorrect Answers

A:

The alternative risk relates to Interpretable decision reasons, in which a bare score does not tell users what drove a material outcome; that does not directly verify the particular failure condition of Explainable audit trail.

B:

This is a plausible warning about User disclosure of AI assistance, because clear disclosure helps people understand when they are interacting with an AI system; it is less diagnostic for Explainable audit trail, whose boundary is exposed when missing version records prevent reconstructing a consequential decision.

D:

The described issue pertains to Stakeholder-facing model card in cases where accuracy percentages without context can conceal tested-population gaps; the central failure mode for Explainable audit trail is different, specifically that missing version records prevent reconstructing a consequential decision.

Question 34

The implementation plan includes this step: Apply OCR and verify low-quality scans before posting values. A solution architect is specifying a test for Optical character recognition workload. Which outcome should it verify?

  1. Vision content moderation evaluates risk categories on submitted visuals.
  2. Image generation synthesizes new pixel content following a visual prompt.
  3. Multimodal reasoning combines the picture with a specific natural-language question.
  4. OCR recovers text characters from images for downstream processing.
  5. Region-level captions provide localized descriptions beyond a single global sentence.

Explanation

Correct Answer

D:

The observed behavior is distinctive for Optical character recognition workload: OCR recovers text characters from images for downstream processing; the reviewer can validate that contract by choosing to apply OCR and verify low-quality scans before posting values.

Incorrect Answers

A:

A tester of Visual safety screening may reasonably look for this behavior since vision content moderation evaluates risk categories on submitted visuals; a Optical character recognition workload test should examine its own function rather than that neighbor.

B:

Image generation workload is expected to produce the described result as image generation synthesizes new pixel content following a visual prompt; the question tests Optical character recognition workload, where success depends on whether OCR recovers text characters from images for downstream processing.

C:

The cited result comes from Multimodal visual Q&A because multimodal reasoning combines the picture with a specific natural-language question; it cannot serve as the main success criterion for Optical character recognition workload, which addresses a different task.

E:

A tester of Dense image description may reasonably look for this behavior since region-level captions provide localized descriptions beyond a single global sentence; a Optical character recognition workload test should examine its own function rather than that neighbor.

Question 35

The implementation plan includes this step: Restrict retrieval to permitted documents and include source references. A team is writing technical acceptance criteria for Retrieval-grounded Q&A. Which capability should appear?

  1. Retrieval gives a generative answer access to current approved reference material.
  2. Agent orchestration must respect business workflow permissions and state transitions.
  3. An agent can plan a tool invocation and use returned data to complete a task.
  4. Agent evaluation must test tool decisions and outcomes in addition to final answer quality.

Explanation

Correct Answer

A:

Retrieval-grounded Q&A should demonstrate that retrieval gives a generative answer access to current approved reference material; this is the functional success condition, and a meaningful test also needs to restrict retrieval to permitted documents and include source references.

Incorrect Answers

B:

A tester of Workflow automation boundary may reasonably look for this behavior since agent orchestration must respect business workflow permissions and state transitions; a Retrieval-grounded Q&A test should examine its own function rather than that neighbor.

C:

Agent tool invocation workload is expected to produce the described result as an agent can plan a tool invocation and use returned data to complete a task; the question tests Retrieval-grounded Q&A, where success depends on whether retrieval gives a generative answer access to current approved reference material.

D:

The cited result comes from Agent evaluation because agent evaluation must test tool decisions and outcomes in addition to final answer quality; it cannot serve as the main success criterion for Retrieval-grounded Q&A, which addresses a different task.

Question 36

An agent should retain the context of a support case through several user requests. What is the most appropriate next technical choice?

  1. Agent reference from Python
  2. Agent response creation
  3. Agent session isolation
  4. Multi-turn agent conversation

Explanation

Correct Answer

D:

The direct link between the scenario and Multi-turn agent conversation is that conversation objects provide state across linked agent responses; testing must also account for situations where creating a fresh conversation on each turn can lose the case history, so the team should preserve the conversation identifier and associate it with the authorized session.

Incorrect Answers

A:

Agent reference from Python normally serves work in which an agent reference enables requests against a configured model, instructions, and tools; this case calls for Multi-turn agent conversation, for which conversation objects provide state across linked agent responses, rather than that adjacent result.

B:

The function of Agent response creation is that a response invokes the specified agent against supplied conversation input; although it may complement the overall solution, Multi-turn agent conversation is the capability tied to the actual requested outcome.

C:

Agent session isolation is useful when session scoping binds conversation state to the authorized principal, and its usual work includes efforts to enforce per-user conversation ownership and access checks; it is not the most direct choice for the Multi-turn agent conversation requirement.

Question 37

A rollout using Document layout extraction surfaces this problem: Flattening every page into one text string loses table and section relationships. Which practical response directly addresses it?

  1. Define field types and validate extracted records before taking action.
  2. Combine transcription with a defined field schema and review uncertain values.
  3. Segment the video and request timed event fields from the analyzer.
  4. Capture structural elements and carry them into the searchable representation.
  5. Extract structured marks and preserve their relationship to labels.

Explanation

Correct Answer

D:

Document layout extraction is meant to achieve this result: layout analysis retains document structure needed for downstream search and reasoning; the cited corrective step addresses the concrete error in this workflow, where flattening every page into one text string loses table and section relationships.

Incorrect Answers

A:

Work involving Schema-driven multimodal extraction would normally define field types and validate extracted records before taking action, because schema-driven extraction normalizes diverse input into named fields for application logic; it would not directly correct the Document layout extraction problem where flattening every page into one text string loses table and section relationships.

B:

Audio information extraction is relevant when transcripts alone still require interpretation of the desired business fields, and work on it might combine transcription with a defined field schema and review uncertain values; the stem instead describes a Document layout extraction failure in which flattening every page into one text string loses table and section relationships.

C:

For Video scene information extraction, the underlying goal is that video understanding links visual segments and time context into analyzable outputs, and a typical action is to segment the video and request timed event fields from the analyzer; that action alone does not resolve the identified Document layout extraction weakness.

E:

Work involving Form checkbox interpretation would normally extract structured marks and preserve their relationship to labels, because document understanding recognizes selection marks and text with layout context; it would not directly correct the Document layout extraction problem where flattening every page into one text string loses table and section relationships.

Question 38

The implementation plan includes this step: Examine true-positive and false-negative rates separately for each age group. A developer is comparing possible outputs from Equal-opportunity error review. Which output matches its technical role?

  1. Label auditing finds prejudice encoded in target outcomes before it becomes model behavior.
  2. Comparing true-positive rates checks whether qualified or genuinely positive cases receive similar detection opportunities.
  3. Proxy analysis detects features that can carry sensitive-group signals indirectly.
  4. Separate-group metrics expose unequal error patterns hidden by a single overall score.

Explanation

Correct Answer

B:

Equal-opportunity error review should demonstrate that comparing true-positive rates checks whether qualified or genuinely positive cases receive similar detection opportunities; this is the functional success condition, and a meaningful test also needs to examine true-positive and false-negative rates separately for each age group.

Incorrect Answers

A:

A tester of Training label bias analysis may reasonably look for this behavior since label auditing finds prejudice encoded in target outcomes before it becomes model behavior; a Equal-opportunity error review test should examine its own function rather than that neighbor.

C:

The cited result comes from Proxy-feature investigation because proxy analysis detects features that can carry sensitive-group signals indirectly; it cannot serve as the main success criterion for Equal-opportunity error review, which addresses a different task.

D:

This observation is relevant to Disaggregated group metrics, whose behavior is that separate-group metrics expose unequal error patterns hidden by a single overall score; an acceptance test of Equal-opportunity error review instead needs to establish that comparing true-positive rates checks whether qualified or genuinely positive cases receive similar detection opportunities.

Question 39

An engineer is troubleshooting Agent response creation. The investigation finds: Creating an agent resource does not by itself generate a user response. What should the engineer prioritize?

  1. Enforce per-user conversation ownership and access checks.
  2. Parse supported output entries and handle missing text or failed status.
  3. Submit a response call with the correct agent reference and conversation data.
  4. Limit tool capability and verify requests against trusted policies before execution.
  5. Preserve the conversation identifier and associate it with the authorized session.

Explanation

Correct Answer

C:

The action is a direct correction to the Agent response creation defect where creating an agent resource does not by itself generate a user response; it matters because the capability should work as follows: a response invokes the specified agent against supplied conversation input.

Incorrect Answers

A:

For Agent session isolation, the underlying goal is that session scoping binds conversation state to the authorized principal, and a typical action is to enforce per-user conversation ownership and access checks; that action alone does not resolve the identified Agent response creation weakness.

B:

The proposed activity is appropriate to Agent result parsing, whose function is that reading structured response items correctly separates text from tool events and other metadata; the actual remediation needs to target Agent response creation, specifically the issue that creating an agent resource does not by itself generate a user response.

D:

Prompt injection in agent tools is relevant when treating a search result as a trusted instruction can lead to data exfiltration, and work on it might limit tool capability and verify requests against trusted policies before execution; the stem instead describes a Agent response creation failure in which creating an agent resource does not by itself generate a user response.

E:

For Multi-turn agent conversation, the underlying goal is that conversation objects provide state across linked agent responses, and a typical action is to preserve the conversation identifier and associate it with the authorized session; that action alone does not resolve the identified Agent response creation weakness.

Question 40

A rollout using Model upgrade staging surfaces this problem: Blindly swapping a version may silently change output contracts. Which practical response directly addresses it?

  1. Inspect quota and rate metrics and implement retry-with-backoff.
  2. Validate a new deployment against stored cases before switching production traffic.
  3. Read the deployed name from the project and update the client's model parameter.
  4. Test realistic prompts in the playground and document observed limitations.

Explanation

Correct Answer

B:

The action is a direct correction to the Model upgrade staging defect where blindly swapping a version may silently change output contracts; it matters because the capability should work as follows: staged migration and regression tests limit breaking behavior during deployment changes.

Incorrect Answers

A:

Deployment throughput evaluation is relevant when making identical failed calls immediately can amplify throttling, and work on it might inspect quota and rate metrics and implement retry-with-backoff; the stem instead describes a Model upgrade staging failure in which blindly swapping a version may silently change output contracts.

C:

The proposed activity is appropriate to Deployment alias consistency, whose function is that inference requests must reference the correct deployment or supported model identifier; the actual remediation needs to target Model upgrade staging, specifically the issue that blindly swapping a version may silently change output contracts.

D:

Work involving Foundry playground preflight would normally test realistic prompts in the playground and document observed limitations, because the portal playground allows interactive experiments before application integration; it would not directly correct the Model upgrade staging problem where blindly swapping a version may silently change output contracts.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests