Microsoft AI-102 (Designing and Implementing a Microsoft Azure AI Solution) Practice Test 23

Question 220

A purchasing agent must ask a manager before purchases above a set limit, and its data identity must be unable to edit customer records. Which TWO preventive controls should be implemented? Choose TWO.

  1. Least-privilege tool identity
  2. Human-in-the-loop tool approval
  3. Untrusted-tool-output boundary
  4. Agent action audit trail

Explanation

Correct Answers

A:

Least-privilege credentials keep the agent's connected tool identity from updating customer records even if a tool call is proposed or malicious input is encountered.

B:

A human approval gate checks the proposed high-value operation before an irreversible purchase is submitted, retaining the manager's explicit authorization at the decision point.

Incorrect Answers

C:

Treating tool output as untrusted is important against prompt injection, but it does not by itself enforce payment approval or remove record-update privileges.

D:

An action audit trail can reveal a problematic event afterward; logging alone cannot stop an unapproved payment or prevent a write by an overprivileged identity.

Question 221

A document OCR pipeline repeatedly misses text outside a fixed crop used by preprocessing. What should be changed?

  1. Improve source image resolution
  2. Correct the cropping region
  3. Mask irrelevant identifiable regions
  4. Normalize orientation and coordinate transforms

Explanation

Correct Answer

B:

The workflow calls for include missing document text within the processed image; the matching operation retains the actual area containing target content instead of discarding information before it reaches the recognition model rather than supplying an unrelated artifact.

Incorrect Answers

A:

The proposed method supplies clearer pixels and legible features so the model has sufficient evidence to distinguish small objects or text, but it cannot by itself fulfill the narrower need to include missing document text within the processed image.

C:

The approach removes sensitive nonessential visual areas before analysis or retention while preserving the pixels needed for the intended inspection; the application needs to include missing document text within the processed image, not only perform the related task described here.

D:

For this requirement, it matters that the system can include missing document text within the processed image; the chosen alternative instead applies the same orientation changes to pixels and returned geometry so overlays reflect the image displayed to the user.

Question 222

An operations team wants to switch clients to a tested model version without editing every application's code. Which architecture makes the switch simpler?

  1. Baseline evaluation before upgrade
  2. Controlled canary rollout
  3. Application-owned deployment routing layer
  4. Staged deployment promotion

Explanation

Correct Answer

C:

This choice centralizes the mapping from a stable internal model alias to an actual deployment so releases can change the target with controlled configuration, making it suitable for the specific need to change model targets through centrally managed routing.

Incorrect Answers

A:

The feature records outputs and operational metrics for representative inputs before changing models so observed differences can be compared against a known reference, so selecting it would leave the objective to change model targets through centrally managed routing unresolved.

B:

For the need to change model targets through centrally managed routing, this does not supply the requested result because it directs a limited share of requests to a new model deployment and tracks quality and performance before wider adoption.

D:

The alternative validates a distinct candidate configuration with smoke tests and policy checks before promoting it to the active serving path; that output is different from the requested capability to change model targets through centrally managed routing.

Question 223

An archive has thousands of stored audio files and can tolerate asynchronous turnaround. Which speech mode is appropriate?

  1. Real-time streaming speech recognition
  2. Keyword recognition
  3. Fast prerecorded-audio transcription
  4. Batch speech transcription

Explanation

Correct Answer

D:

For this use case, the service operation processes prerecorded audio workloads asynchronously and returns recognized text for large-scale offline archives, so the application can transcribe a backlog of stored recordings asynchronously.

Incorrect Answers

A:

This option processes live audio incrementally and emits interim or final recognition events without waiting for a completed recording, so it does not directly accomplish the requested ability to transcribe a backlog of stored recordings asynchronously.

B:

The alternative detects a specified wake phrase as an activation signal before or alongside normal speech recognition logic; that output is different from the requested capability to transcribe a backlog of stored recordings asynchronously.

C:

This component optimizes short pre-existing audio files for prompt recognition without requiring a persistent live-audio stream, which does not supply the required operation to transcribe a backlog of stored recordings asynchronously.

Question 224

A compliance system needs headings, reading order, and tables from a complex report PDF for downstream reconstruction. Which model is appropriate?

  1. Prebuilt invoice model
  2. Prebuilt identity document model
  3. Read model
  4. Layout model

Explanation

Correct Answer

D:

Here the selected operation must reconstruct tables and document layout from a report; the feature analyzes document structure such as paragraphs, tables, and selection marks rather than only extracting unstructured text for exactly that purpose.

Incorrect Answers

A:

For this requirement, it matters that the system can reconstruct tables and document layout from a report; the chosen alternative instead maps familiar invoice content into defined business field names and types so code can consume values without training a custom model.

B:

The method identifies supported identity-document fields in a structured schema rather than treating every page as a generic invoice, whereas the objective is to reconstruct tables and document layout from a report in this particular setting.

C:

The feature extracts printed and handwritten text from supported document inputs for text-centric workflows without imposing an invoice or receipt schema, while this scenario instead requires a component that can reconstruct tables and document layout from a report.

Question 225

A new prompt version should be refused promotion if it fails a known suite of prohibited-response tests. What delivery stage is required?

  1. Automated evaluation gate
  2. Versioned rollback mechanism
  3. Retrieve secrets through controlled pipeline identity
  4. Infrastructure as code

Explanation

Correct Answer

A:

The selected capability executes defined test cases and quality or safety thresholds in the delivery workflow before approving an application change, giving the workflow the precise behavior required to block prompt releases that fail safety regression tests.

Incorrect Answers

B:

The proposed method preserves deployable known-good configuration and routes traffic back to it after a failed rollout instead of editing production blindly, but it cannot by itself fulfill the narrower need to block prompt releases that fail safety regression tests.

C:

Although this feature authorizes the build or release process to fetch managed secret values at runtime without embedding credentials directly in build files, it does not independently allow the system to block prompt releases that fail safety regression tests.

D:

The approach expresses Azure resource configuration in version-controlled declarative definitions so repeatable provisioning can be reviewed and deployed across environments; the application needs to block prompt releases that fail safety regression tests, not only perform the related task described here.

Question 226

Before an AI application revision is promoted, its delivery pipeline must recreate infrastructure consistently, obtain required secrets securely, and reject unsafe prompt changes by automated tests. Which THREE practices meet those requirements? Choose THREE.

  1. Infrastructure as code
  2. Automated evaluation gate
  3. Versioned rollback mechanism
  4. Retrieve secrets through controlled pipeline identity

Explanation

Correct Answers

A:

Version-controlled infrastructure as code reproduces the search, identity, and monitoring resources across environments, limiting unreviewed drift during deployment.

B:

An automated safety regression gate rejects candidate prompts when known risk cases or acceptance thresholds fail, preventing an unsafe revision from being promoted.

D:

A pipeline identity that retrieves secrets at runtime prevents credentials from appearing in committed build definitions while still allowing authorized service access.

Incorrect Answers

C:

Versioned rollback is valuable after a release fails, but it does not perform any of the three explicitly required pre-promotion checks by itself.

Question 227

A deployed model version will be replaced; performance regressions must be measurable against the current baseline. What is required?

  1. Controlled canary rollout
  2. Staged deployment promotion
  3. Application-owned deployment routing layer
  4. Baseline evaluation before upgrade

Explanation

Correct Answer

D:

The requested output follows from a component that records outputs and operational metrics for representative inputs before changing models so observed differences can be compared against a known reference, which supports the need to measure regression after a model-version change.

Incorrect Answers

A:

The proposed method directs a limited share of requests to a new model deployment and tracks quality and performance before wider adoption, but it cannot by itself fulfill the narrower need to measure regression after a model-version change.

B:

Although this feature validates a distinct candidate configuration with smoke tests and policy checks before promoting it to the active serving path, it does not independently allow the system to measure regression after a model-version change.

C:

The approach centralizes the mapping from a stable internal model alias to an actual deployment so releases can change the target with controlled configuration; the application needs to measure regression after a model-version change, not only perform the related task described here.

Question 228

A user records one short voice note and expects rapid transcription after uploading it. Which operation is a good fit when supported?

  1. Keyword recognition
  2. Real-time streaming speech recognition
  3. Batch speech transcription
  4. Fast prerecorded-audio transcription

Explanation

Correct Answer

D:

The selected capability optimizes short pre-existing audio files for prompt recognition without requiring a persistent live-audio stream, giving the workflow the precise behavior required to transcribe one uploaded voice note promptly.

Incorrect Answers

A:

The approach detects a specified wake phrase as an activation signal before or alongside normal speech recognition logic; the application needs to transcribe one uploaded voice note promptly, not only perform the related task described here.

B:

For this requirement, it matters that the system can transcribe one uploaded voice note promptly; the chosen alternative instead processes live audio incrementally and emits interim or final recognition events without waiting for a completed recording.

C:

The method processes prerecorded audio workloads asynchronously and returns recognized text for large-scale offline archives, whereas the objective is to transcribe one uploaded voice note promptly in this particular setting.

Question 229

A finance team wants typed invoice date, vendor, line items, and tax fields from supported vendor invoices. Which model should be evaluated first?

  1. Prebuilt invoice model
  2. Read model
  3. Layout model
  4. Prebuilt identity document model

Explanation

Correct Answer

A:

The decisive behavior is that it maps familiar invoice content into defined business field names and types so code can consume values without training a custom model, which addresses the concrete objective to extract typed commercial fields from common invoices.

Incorrect Answers

B:

The capability extracts printed and handwritten text from supported document inputs for text-centric workflows without imposing an invoice or receipt schema, which might be useful elsewhere but is not the step needed to extract typed commercial fields from common invoices.

C:

The mechanism analyzes document structure such as paragraphs, tables, and selection marks rather than only extracting unstructured text, but the specified workflow needs to extract typed commercial fields from common invoices instead.

D:

Here the missing operation is to extract typed commercial fields from common invoices; this candidate instead identifies supported identity-document fields in a structured schema rather than treating every page as a generic invoice.

Question 230

A capture system stores image rotations inconsistently and detected bounding boxes appear misaligned in its viewer. What is the appropriate correction?

  1. Normalize orientation and coordinate transforms
  2. Improve source image resolution
  3. Mask irrelevant identifiable regions
  4. Correct the cropping region

Explanation

Correct Answer

A:

Selecting this feature works because it applies the same orientation changes to pixels and returned geometry so overlays reflect the image displayed to the user, directly addressing how the workflow must align overlay coordinates after image rotation.

Incorrect Answers

B:

It supplies clearer pixels and legible features so the model has sufficient evidence to distinguish small objects or text, but that alone cannot fulfill the stated requirement to align overlay coordinates after image rotation.

C:

This option removes sensitive nonessential visual areas before analysis or retention while preserving the pixels needed for the intended inspection; however, that differs from the explicit requirement to align overlay coordinates after image rotation.

D:

Although it retains the actual area containing target content instead of discarding information before it reaches the recognition model, the task is to align overlay coordinates after image rotation; this candidate targets another operation.

Designing and Implementing a Microsoft Azure AI Solution (AI-102) Practice Tests