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

Question 570

The implementation plan includes this step: Restrict service credentials and reject unauthorized tool calls on the server. A user guide must explain what Tool-call authorization in client achieves. Which description belongs in the guide?

  1. Conversation objects provide state across linked agent responses.
  2. Tool permissions must be enforced by the backend regardless of model intent.
  3. A response invokes the specified agent against supplied conversation input.
  4. Reading structured response items correctly separates text from tool events and other metadata.
  5. Session scoping binds conversation state to the authorized principal.

Explanation

Correct Answer

B:

Tool-call authorization in client should demonstrate that tool permissions must be enforced by the backend regardless of model intent; this is the functional success condition, and a meaningful test also needs to restrict service credentials and reject unauthorized tool calls on the server.

Incorrect Answers

A:

A tester of Multi-turn agent conversation may reasonably look for this behavior since conversation objects provide state across linked agent responses; a Tool-call authorization in client test should examine its own function rather than that neighbor.

C:

The cited result comes from Agent response creation because a response invokes the specified agent against supplied conversation input; it cannot serve as the main success criterion for Tool-call authorization in client, which addresses a different task.

D:

This observation is relevant to Agent result parsing, whose behavior is that reading structured response items correctly separates text from tool events and other metadata; an acceptance test of Tool-call authorization in client instead needs to establish that tool permissions must be enforced by the backend regardless of model intent.

E:

A tester of Agent session isolation may reasonably look for this behavior since session scoping binds conversation state to the authorized principal; a Tool-call authorization in client test should examine its own function rather than that neighbor.

Question 571

A generated icon has the right subject but the background is too cluttered. Which option is most closely aligned with the required outcome?

  1. Image-generation model deployment
  2. Brand safety for image output
  3. Visual iteration workflow
  4. Image variation selection

Explanation

Correct Answer

C:

The goal matches Visual iteration workflow, for which prompt refinement or supported image editing can direct the next visual variation; the practical safeguard is to change the background instruction or use editing with an appropriate reference, especially since repeating the identical uncontrolled prompt gives no reliable targeted correction.

Incorrect Answers

A:

The function of Image-generation model deployment is that image-generation calls require a supported model and image-output operation; although it may complement the overall solution, Visual iteration workflow is the capability tied to the actual requested outcome.

B:

Brand safety for image output is useful when human content review and provenance help avoid misleading synthetic imagery, and its usual work includes efforts to label generated media and verify content before public distribution; it is not the most direct choice for the Visual iteration workflow requirement.

D:

Image variation selection normally serves work in which multiple image samples enable selection based on composition and quality; this case calls for Visual iteration workflow, for which prompt refinement or supported image editing can direct the next visual variation, rather than that adjacent result.

Question 572

The documented technical capability is that DefaultAzureCredential checks supported identity sources without hard-coding keys. An engineer is reviewing how DefaultAzureCredential integration can fail. Which warning is most closely associated with this particular mechanism?

  1. A valid project endpoint cannot resolve an unrelated missing deployment.
  2. Logging in alone does not grant every project operation.
  3. A plain text URL string alone does not provide a working authenticated client.
  4. Passing a model name with no input does not define the task to generate.
  5. A checked-in API key would be difficult to rotate and could leak.

Explanation

Correct Answer

E:

The normal function of DefaultAzureCredential integration is that DefaultAzureCredential checks supported identity sources without hard-coding keys; the keyed warning describes how its use can go wrong, so verification should use azure-identity credential chaining with scoped role assignments.

Incorrect Answers

A:

This is a plausible warning about Model deployment identifier in SDK, because the model argument must select the accessible deployment or supported directly addressable model; it is less diagnostic for DefaultAzureCredential integration, whose boundary is exposed when a checked-in API key would be difficult to rotate and could leak.

B:

Credential permission troubleshooting is associated with the problem where logging in alone does not grant every project operation; a review of DefaultAzureCredential integration should instead investigate whether a checked-in API key would be difficult to rotate and could leak, not that neighboring case.

C:

The described issue pertains to Foundry project client initialization in cases where a plain text URL string alone does not provide a working authenticated client; the central failure mode for DefaultAzureCredential integration is different, specifically that a checked-in API key would be difficult to rotate and could leak.

D:

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 DefaultAzureCredential integration.

Question 573

A coding assistant should follow developer-defined formatting rules even if user input requests an unrelated output style. Which AI technique most directly meets this need?

  1. Instruction-scope safety review
  2. Delimited reference content
  3. Constraint-focused prompt design
  4. Role-context separation
  5. Structured output instruction
  6. Few-shot prompt examples

Explanation

Correct Answer

D:

Choosing Role-context separation gives the workflow the required function: trusted instruction layers guide role and format while user messages supply tasks; engineers can verify the choice by choosing to keep persistent formatting rules in the appropriate higher-priority message.

Incorrect Answers

A:

Choosing Instruction-scope safety review would target the behavior where prompt controls must avoid exposing secrets and should delegate access verification to application code; the scenario instead needs Role-context separation, which achieves a different goal because trusted instruction layers guide role and format while user messages supply tasks.

B:

Delimited reference content normally serves work in which clear delimiters separate untrusted source text from the application's real instructions; this case calls for Role-context separation, for which trusted instruction layers guide role and format while user messages supply tasks, rather than that adjacent result.

C:

The function of Constraint-focused prompt design is that constraints about length, audience, exclusions, and format guide output toward requirements; although it may complement the overall solution, Role-context separation is the capability tied to the actual requested outcome.

E:

Choosing Structured output instruction would target the behavior where explicit schema requirements make responses easier to parse and validate; the scenario instead needs Role-context separation, which achieves a different goal because trusted instruction layers guide role and format while user messages supply tasks.

F:

Few-shot prompt examples normally serves work in which representative input-output examples demonstrate a task's intended label boundaries; this case calls for Role-context separation, for which trusted instruction layers guide role and format while user messages supply tasks, rather than that adjacent result.

Question 574

A service uses a deployment identifier in code that differs by one character from the portal's value. What should the solution architect select first to address the stated requirement?

  1. Deployment regional restrictions
  2. Managed compute comparison
  3. Deployment alias consistency
  4. Foundry playground preflight

Explanation

Correct Answer

C:

Choosing Deployment alias consistency gives the workflow the required function: inference requests must reference the correct deployment or supported model identifier; engineers can verify the choice by choosing to read the deployed name from the project and update the client's model parameter.

Incorrect Answers

A:

Deployment regional restrictions is useful when deployment locations and processing configurations must match data residency obligations, and its usual work includes efforts to confirm current region and data processing terms before deploying; it is not the most direct choice for the Deployment alias consistency requirement.

B:

Choosing Managed compute comparison would target the behavior where managed compute deployment can support dedicated hosted model capacity for compatible models; the scenario instead needs Deployment alias consistency, which achieves a different goal because inference requests must reference the correct deployment or supported model identifier.

D:

The function of Foundry playground preflight is that the portal playground allows interactive experiments before application integration; although it may complement the overall solution, Deployment alias consistency is the capability tied to the actual requested outcome.

Question 575

The implementation plan includes this step: Provide relevant facts and require human review of consequential wording. The operator wants evidence that Generative drafting workload is being used for the intended workload. What evidence is relevant?

  1. An agent can plan a tool invocation and use returned data to complete a task.
  2. Approval gates keep high-impact actions under explicit human control.
  3. Generative AI composes novel text from instructions and supplied context.
  4. A single agent combines instructions, a model, and a limited tool set for task completion.
  5. Agent evaluation must test tool decisions and outcomes in addition to final answer quality.

Explanation

Correct Answer

C:

The observed behavior is distinctive for Generative drafting workload: generative AI composes novel text from instructions and supplied context; the reviewer can validate that contract by choosing to provide relevant facts and require human review of consequential wording.

Incorrect Answers

A:

This observation is relevant to Agent tool invocation workload, whose behavior is that an agent can plan a tool invocation and use returned data to complete a task; an acceptance test of Generative drafting workload instead needs to establish that generative AI composes novel text from instructions and supplied context.

B:

A tester of Human-in-the-loop agent action may reasonably look for this behavior since approval gates keep high-impact actions under explicit human control; a Generative drafting workload test should examine its own function rather than that neighbor.

D:

The cited result comes from Single-agent task workflow because a single agent combines instructions, a model, and a limited tool set for task completion; it cannot serve as the main success criterion for Generative drafting workload, which addresses a different task.

E:

This observation is relevant to Agent evaluation, whose behavior is that agent evaluation must test tool decisions and outcomes in addition to final answer quality; an acceptance test of Generative drafting workload instead needs to establish that generative AI composes novel text from instructions and supplied context.

Question 576

The implementation plan includes this step: Submit a supported file or content reference with the analyzer identifier. During a design walkthrough of Analyze request submission, which effect should the engineer describe?

  1. Versioning extraction schemas supports controlled changes to downstream data contracts.
  2. An analyze request applies the chosen analyzer to provided content.
  3. Correct parsing distinguishes field data from status metadata and optional values.
  4. Creating a custom Content Understanding analyzer stores instructions and field schema for repeat use.
  5. Asynchronous operation handling tracks jobs until results or errors become available.

Explanation

Correct Answer

B:

The observed behavior is distinctive for Analyze request submission: an analyze request applies the chosen analyzer to provided content; the reviewer can validate that contract by choosing to submit a supported file or content reference with the analyzer identifier.

Incorrect Answers

A:

The cited result comes from Extraction schema evolution because versioning extraction schemas supports controlled changes to downstream data contracts; it cannot serve as the main success criterion for Analyze request submission, which addresses a different task.

C:

A tester of Structured result parsing may reasonably look for this behavior since correct parsing distinguishes field data from status metadata and optional values; a Analyze request submission test should examine its own function rather than that neighbor.

D:

Analyzer creation workflow is expected to produce the described result as creating a custom Content Understanding analyzer stores instructions and field schema for repeat use; the question tests Analyze request submission, where success depends on whether an analyze request applies the chosen analyzer to provided content.

E:

The cited result comes from Long-running operation handling because asynchronous operation handling tracks jobs until results or errors become available; it cannot serve as the main success criterion for Analyze request submission, which addresses a different task.

Question 577

A production team is improving Agent playground testing after discovering that a correct final message does not guarantee the correct tool path was followed. Which next step is most appropriate?

  1. Capture supported traces and review tool inputs with access restrictions.
  2. Select a supported deployed model and test the agent's responses.
  3. Test approved and disallowed tool scenarios while inspecting calls.
  4. Create a prompt agent with model, instructions, and narrowly scoped tools.
  5. Attach the authorized search source and check document permissions.

Explanation

Correct Answer

C:

Correcting the behavior of Agent playground testing requires dealing with the case where a correct final message does not guarantee the correct tool path was followed; the expected mechanism remains that the agent playground allows safe evaluation of instructions and tool behavior before rollout.

Incorrect Answers

A:

Work involving Agent tracing and inspection would normally capture supported traces and review tool inputs with access restrictions, because traces reveal model steps and tool invocation details for debugging and governance; it would not directly correct the Agent playground testing problem where a correct final message does not guarantee the correct tool path was followed.

B:

Agent model attachment is relevant when tool definitions alone do not provide the model that decides how to respond, and work on it might select a supported deployed model and test the agent's responses; the stem instead describes a Agent playground testing failure in which a correct final message does not guarantee the correct tool path was followed.

D:

The proposed activity is appropriate to Prompt agent creation, whose function is that a prompt agent stores managed instructions and tools for reusable interactions; the actual remediation needs to target Agent playground testing, specifically the issue that a correct final message does not guarantee the correct tool path was followed.

E:

Work involving File search tool addition would normally attach the authorized search source and check document permissions, because file search retrieves relevant indexed content and supplies grounding for responses; it would not directly correct the Agent playground testing problem where a correct final message does not guarantee the correct tool path was followed.

Question 578

An organization is building a repeatable audio/video extraction pipeline. Before running new jobs, it must define a reusable typed analyzer; after submission, it must monitor long-running operations and parse the completed structured results. Which THREE implementation activities address those distinct stages? Choose THREE.

  1. Long-running operation handling
  2. Analyzer creation workflow
  3. Extraction quality evaluation
  4. Analyze request submission
  5. Extraction schema evolution
  6. Structured result parsing

Explanation

Correct Answers

A:

Long-running operation handling satisfies one explicit part of this composite task because asynchronous operation handling tracks jobs until results or errors become available; implementing it requires the team to poll supported operation status with bounded intervals and completion checks.

B:

Analyzer creation workflow satisfies one explicit part of this composite task because creating a custom Content Understanding analyzer stores instructions and field schema for repeat use; implementing it requires the team to define the target modality and fields and create the analyzer before inference.

F:

Structured result parsing satisfies one explicit part of this composite task because correct parsing distinguishes field data from status metadata and optional values; implementing it requires the team to validate field presence and types before mapping them to application records.

Incorrect Answers

C:

Extraction quality evaluation is designed for a related behavior in which labeled test documents let teams measure field-level correctness before enabling automatic action; the action, to compare outputs with verified ground truth and set field-specific review gates, is not one of the stated combined targets of Analyzer creation workflow / Long-running operation handling / Structured result parsing.

D:

Analyze request submission is designed for a related behavior in which an analyze request applies the chosen analyzer to provided content; the action, to submit a supported file or content reference with the analyzer identifier, is not one of the stated combined targets of Analyzer creation workflow / Long-running operation handling / Structured result parsing.

E:

Extraction schema evolution is designed for a related behavior in which versioning extraction schemas supports controlled changes to downstream data contracts; the action, to version the analyzer or contract and run regression tests on representative files, is not one of the stated combined targets of Analyzer creation workflow / Long-running operation handling / Structured result parsing.

Question 579

The documented technical capability is that audio analysis converts speech into time-associated transcript content. The risk committee evaluates Audio transcription analyzer against its intended behavior. Which weakness must it consider?

  1. A visual image analyzer cannot recover sound from audio-only recordings.
  2. Plain monolithic transcription loses who said each statement.
  3. A single sampled still cannot establish entry-to-exit timing reliably.
  4. A whole-video caption hides when a specific action took place.

Explanation

Correct Answer

A:

Audio transcription analyzer is intended to deliver the following behavior: audio analysis converts speech into time-associated transcript content; a failure occurs when a visual image analyzer cannot recover sound from audio-only recordings, and the appropriate check is to choose an audio-capable analyzer and inspect transcript quality.

Incorrect Answers

B:

The described issue pertains to Speaker segmentation analysis in cases where plain monolithic transcription loses who said each statement; the central failure mode for Audio transcription analyzer is different, specifically that a visual image analyzer cannot recover sound from audio-only recordings.

C:

The alternative risk relates to Video event field extraction, in which a single sampled still cannot establish entry-to-exit timing reliably; that does not directly verify the particular failure condition of Audio transcription analyzer.

D:

This is a plausible warning about Video scene segmentation, because video analysis can divide visual and audio content into temporal segments; it is less diagnostic for Audio transcription analyzer, whose boundary is exposed when a visual image analyzer cannot recover sound from audio-only recordings.

Question 580

A Python client embeds a production API key directly in a public source repository. Which method gives the team the most relevant capability?

  1. Secret-free application authentication
  2. Retention-aware AI design
  3. Text PII detection
  4. Prompt data boundary controls
  5. Role-scoped model access

Explanation

Correct Answer

A:

Choosing Secret-free application authentication gives the workflow the required function: managed identity or credential-chain authentication avoids hard-coded reusable secrets; engineers can verify the choice by choosing to use Microsoft Entra credentials or protected secret storage and rotate exposed keys.

Incorrect Answers

B:

The function of Retention-aware AI design is that lifecycle controls govern how source documents, logs, and derived content are kept or removed; although it may complement the overall solution, Secret-free application authentication is the capability tied to the actual requested outcome.

C:

Text PII detection is useful when PII detection locates personal identifiers that require redaction or handling rules, and its usual work includes efforts to run PII detection and validate masking before exporting tickets; it is not the most direct choice for the Secret-free application authentication requirement.

D:

Choosing Prompt data boundary controls would target the behavior where a trust boundary prevents retrieved instructions from overriding authorized system behavior; the scenario instead needs Secret-free application authentication, which achieves a different goal because managed identity or credential-chain authentication avoids hard-coded reusable secrets.

E:

Role-scoped model access normally serves work in which least-privilege authorization separates permitted operations by identity and role; this case calls for Secret-free application authentication, for which managed identity or credential-chain authentication avoids hard-coded reusable secrets, rather than that adjacent result.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests