Microsoft AI-103 (Developing AI Apps and Agents on Azure) Practice Test 39

Question 380

A reviewer rejects an agent-generated account change and the agent retries it later without a new request. Which design choice is most appropriate?

  1. Pause autonomous actions and initiate a human escalation route
  2. Pass the edited final payload through validation and authorization
  3. Record reviewer identity and signed-off artifact version
  4. Route the purchase proposal to a manager approval workflow
  5. Persist the rejection as a workflow state that blocks execution

Explanation

Correct Answer

E:

Approval state must be durable and authoritative so tool retries cannot bypass a human decision.

Incorrect Answers

A:

Critical events should move control to a designated response process, with only safe interim communication by the agent; the requested solution requires persisting the rejection as a workflow state that blocks execution rather than this different mechanism.

B:

The approved data is the revised form, not the initial model draft; backend constraints still apply; it addresses a neighboring concern, while the task tests persisting the rejection as a workflow state that blocks execution.

C:

Review history connects approval to the exact content released, not just an unversioned chat transcript; it cannot substitute for persisting the rejection as a workflow state that blocks execution under these conditions.

D:

A designated business approver makes the binding decision, preserving separation of duties; on its own this leaves persisting the rejection as a workflow state that blocks execution unaddressed.

Question 381

During a public-safety incident, an agent drafts an official update. It must stop publishing autonomously when an emergency escalation condition is triggered; any released update must carry an auditable human sign-off tied to the exact artifact. Which TWO controls are required? Choose TWO.

  1. Stop autonomous publication and escalate when emergency conditions are met
  2. Require an explicit authorized send confirmation in the application
  3. Require scope verification and dual-control approval before destructive execution
  4. Continue automated publication as long as a warning is attached to the emergency message
  5. Bind reviewer identity and approval to the exact released update version

Explanation

Correct Answers

A:

Critical events should move control to a designated response process, with only safe interim communication by the agent; a safety escalation blocks autonomous communication when the risk trigger fires.

E:

Review history connects approval to the exact content released, not just an unversioned chat transcript; the audit must identify exactly which approved text was sent.

Incorrect Answers

B:

The human approves actual recipients and contents before the send tool executes; model-generated assent is not sufficient; the requested solution requires emergency handoff and artifact-specific reviewer sign-off rather than this different mechanism.

C:

High-impact mutations warrant independent checks of targets and authority rather than only a conversational confirmation; it addresses a neighboring concern, while the task tests emergency handoff and artifact-specific reviewer sign-off.

D:

A warning does not provide a human escalation path or an auditable approval; publishing must stop under the stated emergency condition; it cannot substitute for emergency handoff and artifact-specific reviewer sign-off under these conditions.

Question 382

An agent plans a database deletion affecting multiple tenants. Which configuration or component should be selected?

  1. Require scope verification and dual-control approval before destructive execution
  2. Require an explicit authorized send confirmation in the application
  3. Record reviewer identity and signed-off artifact version
  4. Pause autonomous actions and initiate a human escalation route
  5. Route the purchase proposal to a manager approval workflow

Explanation

Correct Answer

A:

High-impact mutations warrant independent checks of targets and authority rather than only a conversational confirmation.

Incorrect Answers

B:

The human approves actual recipients and contents before the send tool executes; model-generated assent is not sufficient; the scenario instead depends on requiring scope verification and dual-control approval before destructive execution.

C:

Review history connects approval to the exact content released, not just an unversioned chat transcript; the requested solution requires requiring scope verification and dual-control approval before destructive execution rather than this different mechanism.

D:

Critical events should move control to a designated response process, with only safe interim communication by the agent; it addresses a neighboring concern, while the task tests requiring scope verification and dual-control approval before destructive execution.

E:

A designated business approver makes the binding decision, preserving separation of duties; it cannot substitute for requiring scope verification and dual-control approval before destructive execution under these conditions.

Question 383

A user edits a proposed support ticket before submission. Which of the following would meet this need?

  1. Persist the rejection as a workflow state that blocks execution
  2. Pause autonomous actions and initiate a human escalation route
  3. Pass the edited final payload through validation and authorization
  4. Require an explicit authorized send confirmation in the application

Explanation

Correct Answer

C:

The approved data is the revised form, not the initial model draft; backend constraints still apply.

Incorrect Answers

A:

Approval state must be durable and authoritative so tool retries cannot bypass a human decision; that would not ensure passing the edited final payload through validation and authorization for this workload.

B:

Critical events should move control to a designated response process, with only safe interim communication by the agent; the needed design choice concerns passing the edited final payload through validation and authorization instead.

D:

The human approves actual recipients and contents before the send tool executes; model-generated assent is not sufficient; the requested solution requires passing the edited final payload through validation and authorization rather than this different mechanism.

Question 384

A safety monitor flags a possible emergency during a voice interaction. What should be included in the design?

  1. Record reviewer identity and signed-off artifact version
  2. Route the purchase proposal to a manager approval workflow
  3. Pause autonomous actions and initiate a human escalation route
  4. Require an explicit authorized send confirmation in the application

Explanation

Correct Answer

C:

Critical events should move control to a designated response process, with only safe interim communication by the agent.

Incorrect Answers

A:

Review history connects approval to the exact content released, not just an unversioned chat transcript; the relevant decision is pausing autonomous actions and initiate a human escalation route, not the separate action described here.

B:

A designated business approver makes the binding decision, preserving separation of duties; that would not ensure pausing autonomous actions and initiate a human escalation route for this workload.

D:

The human approves actual recipients and contents before the send tool executes; model-generated assent is not sufficient; the scenario instead depends on pausing autonomous actions and initiate a human escalation route.

Question 385

An agent may inspect a customer invoice but has no business reason to modify it. What solution would satisfy this constraint?

  1. Expose a read-only invoice lookup tool and withhold write permissions
  2. Replace shell access with a narrowly defined diagnostic function
  3. Apply transaction limits, schema checks, and business authorization in code
  4. Enforce source-system permissions for the current user on each query

Explanation

Correct Answer

A:

Removing unneeded actions narrows potential damage from mistaken or adversarial tool selection.

Incorrect Answers

B:

A constrained function avoids granting unrestricted command execution for a single operational need; the relevant decision is exposing a read-only invoice lookup tool and withhold write permissions, not the separate action described here.

C:

Generated arguments are untrusted until validated; tool-side constraints control real monetary side effects; that would not ensure exposing a read-only invoice lookup tool and withhold write permissions for this workload.

D:

A model's access to a connector must not elevate the caller beyond the permissions evaluated by the system of record; the needed design choice concerns exposing a read-only invoice lookup tool and withhold write permissions instead.

Question 386

A scheduling agent can create events only on one team calendar. What should the engineer implement?

  1. Enforce calendar scope in the API credential and tool handler
  2. Apply transaction limits, schema checks, and business authorization in code
  3. Replace shell access with a narrowly defined diagnostic function
  4. Validate destinations against an approved storage allowlist

Explanation

Correct Answer

A:

Tool descriptions cannot replace permission checks; the backend must reject requests outside the authorized calendar.

Incorrect Answers

B:

Generated arguments are untrusted until validated; tool-side constraints control real monetary side effects; that mechanism does not itself establish enforcing calendar scope in the API credential and tool handler.

C:

A constrained function avoids granting unrestricted command execution for a single operational need; the relevant decision is enforcing calendar scope in the API credential and tool handler, not the separate action described here.

D:

The executor should enforce target selection independently of model arguments to prevent accidental exfiltration; that would not ensure enforcing calendar scope in the API credential and tool handler for this workload.

Question 387

A server tool supports arbitrary shell commands but an agent needs only disk-usage diagnostics. Which method is the best fit?

  1. Enforce calendar scope in the API credential and tool handler
  2. Validate destinations against an approved storage allowlist
  3. Enforce source-system permissions for the current user on each query
  4. Run code in a restricted environment with network egress disabled
  5. Replace shell access with a narrowly defined diagnostic function

Explanation

Correct Answer

E:

A constrained function avoids granting unrestricted command execution for a single operational need.

Incorrect Answers

A:

Tool descriptions cannot replace permission checks; the backend must reject requests outside the authorized calendar; on its own this leaves providing only disk-usage diagnostics unaddressed.

B:

The executor should enforce target selection independently of model arguments to prevent accidental exfiltration; meeting the stated constraint still involves providing only disk-usage diagnostics.

C:

A model's access to a connector must not elevate the caller beyond the permissions evaluated by the system of record; that mechanism does not itself establish providing only disk-usage diagnostics.

D:

Sandbox network policy reduces exposure even if generated code attempts unauthorized connections; the relevant decision is providing only disk-usage diagnostics, not the separate action described here.

Question 388

An agent uploads reports to cloud storage and must not choose arbitrary containers. What solution would satisfy this constraint?

  1. Run code in a restricted environment with network egress disabled
  2. Validate destinations against an approved storage allowlist
  3. Replace shell access with a narrowly defined diagnostic function
  4. Apply transaction limits, schema checks, and business authorization in code
  5. Enforce source-system permissions for the current user on each query

Explanation

Correct Answer

B:

The executor should enforce target selection independently of model arguments to prevent accidental exfiltration.

Incorrect Answers

A:

Sandbox network policy reduces exposure even if generated code attempts unauthorized connections; it cannot substitute for noting choose arbitrary containers under these conditions.

C:

A constrained function avoids granting unrestricted command execution for a single operational need; meeting the stated constraint still involves noting choose arbitrary containers.

D:

Generated arguments are untrusted until validated; tool-side constraints control real monetary side effects; that mechanism does not itself establish noting choose arbitrary containers.

E:

A model's access to a connector must not elevate the caller beyond the permissions evaluated by the system of record; the relevant decision is noting choose arbitrary containers, not the separate action described here.

Question 389

An agent retrieves customer data using a delegated user token. Which implementation should the team choose?

  1. Replace shell access with a narrowly defined diagnostic function
  2. Enforce source-system permissions for the current user on each query
  3. Enforce calendar scope in the API credential and tool handler
  4. Run code in a restricted environment with network egress disabled

Explanation

Correct Answer

B:

A model's access to a connector must not elevate the caller beyond the permissions evaluated by the system of record.

Incorrect Answers

A:

A constrained function avoids granting unrestricted command execution for a single operational need; it addresses a neighboring concern, while the task tests enforcing source-system permissions for the current user on each query.

C:

Tool descriptions cannot replace permission checks; the backend must reject requests outside the authorized calendar; on its own this leaves enforcing source-system permissions for the current user on each query unaddressed.

D:

Sandbox network policy reduces exposure even if generated code attempts unauthorized connections; meeting the stated constraint still involves enforcing source-system permissions for the current user on each query.

Question 390

A financial tool receives generated transaction amounts and account identifiers. Which design choice is most appropriate?

  1. Apply transaction limits, schema checks, and business authorization in code
  2. Run code in a restricted environment with network egress disabled
  3. Expose a read-only invoice lookup tool and withhold write permissions
  4. Enforce source-system permissions for the current user on each query

Explanation

Correct Answer

A:

Generated arguments are untrusted until validated; tool-side constraints control real monetary side effects.

Incorrect Answers

B:

Sandbox network policy reduces exposure even if generated code attempts unauthorized connections; it addresses a neighboring concern, while the task tests applying transaction limits, schema checks, and business authorization in code.

C:

Removing unneeded actions narrows potential damage from mistaken or adversarial tool selection; it cannot substitute for applying transaction limits, schema checks, and business authorization in code under these conditions.

D:

A model's access to a connector must not elevate the caller beyond the permissions evaluated by the system of record; on its own this leaves applying transaction limits, schema checks, and business authorization in code unaddressed.

Developing AI Apps and Agents on Azure (AI-103) Practice Tests