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

Question 210

A tool API is slow and stalls every workflow thread indefinitely. What should be included in the design?

  1. Use deduplication or idempotent ingestion identifiers
  2. Apply timeouts and circuit-breaker behavior to external tool calls
  3. Fail closed or defer the answer instead of inventing unsupported facts
  4. Implement an evaluated fallback to a compatible deployment

Explanation

Correct Answer

B:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling.

Incorrect Answers

A:

A retryable pipeline should not create duplicate index entries or side effects when the same source item is replayed; the requested solution requires applying timeouts and circuit-breaker behavior to external tool calls rather than this different mechanism.

C:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; it cannot substitute for applying timeouts and circuit-breaker behavior to external tool calls under these conditions.

D:

A fallback requires compatible capabilities, security policy, and output contract; simply retrying an unavailable endpoint does not provide continuity; on its own this leaves applying timeouts and circuit-breaker behavior to external tool calls unaddressed.

Question 211

A background pipeline processes a document twice after a worker restarts. Which action directly produces the required outcome?

  1. Apply timeouts and circuit-breaker behavior to external tool calls
  2. Fail closed or defer the answer instead of inventing unsupported facts
  3. Use deduplication or idempotent ingestion identifiers
  4. Persist workflow checkpoints and completed-action identifiers

Explanation

Correct Answer

C:

A retryable pipeline should not create duplicate index entries or side effects when the same source item is replayed.

Incorrect Answers

A:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; the scenario instead depends on using deduplication or idempotent ingestion identifiers.

B:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; the requested solution requires using deduplication or idempotent ingestion identifiers rather than this different mechanism.

D:

Durable state lets a resumed run distinguish finished side effects from pending steps, reducing duplicate operations; it cannot substitute for using deduplication or idempotent ingestion identifiers under these conditions.

Question 212

A multi-step agent crashes after creating a support ticket but before recording completion. What should be included in the design?

  1. Apply timeouts and circuit-breaker behavior to external tool calls
  2. Retry retryable failures with exponential backoff and an upper limit
  3. Fail closed or defer the answer instead of inventing unsupported facts
  4. Persist workflow checkpoints and completed-action identifiers

Explanation

Correct Answer

D:

Durable state lets a resumed run distinguish finished side effects from pending steps, reducing duplicate operations.

Incorrect Answers

A:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; the needed design choice concerns persisting workflow checkpoints and completed-action identifiers instead.

B:

Controlled retries recover from transient faults while ensuring persistent failures surface for intervention; the scenario instead depends on persisting workflow checkpoints and completed-action identifiers.

C:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; the requested solution requires persisting workflow checkpoints and completed-action identifiers rather than this different mechanism.

Question 213

A deployment region becomes unavailable while an enterprise policy requires continued service. What should the engineer implement?

  1. Apply timeouts and circuit-breaker behavior to external tool calls
  2. Design supported multi-region failover with data and network considerations
  3. Fail closed or defer the answer instead of inventing unsupported facts
  4. Implement an evaluated fallback to a compatible deployment
  5. Persist workflow checkpoints and completed-action identifiers

Explanation

Correct Answer

B:

High availability requires redundant eligible endpoints and appropriately replicated dependencies, not only multiple application instances.

Incorrect Answers

A:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; that would not ensure providing continued service for this workload.

C:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; the scenario instead depends on providing continued service.

D:

A fallback requires compatible capabilities, security policy, and output contract; simply retrying an unavailable endpoint does not provide continuity; the requested solution requires providing continued service rather than this different mechanism.

E:

Durable state lets a resumed run distinguish finished side effects from pending steps, reducing duplicate operations; it addresses a neighboring concern, while the task tests providing continued service.

Question 214

A model API returns a temporary error during a scheduled indexing job. Which approach best meets the requirement?

  1. Fail closed or defer the answer instead of inventing unsupported facts
  2. Use deduplication or idempotent ingestion identifiers
  3. Apply timeouts and circuit-breaker behavior to external tool calls
  4. Retry retryable failures with exponential backoff and an upper limit

Explanation

Correct Answer

D:

Controlled retries recover from transient faults while ensuring persistent failures surface for intervention.

Incorrect Answers

A:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; the relevant decision is retrying retryable failures with exponential backoff and an upper limit, not the separate action described here.

B:

A retryable pipeline should not create duplicate index entries or side effects when the same source item is replayed; that would not ensure retrying retryable failures with exponential backoff and an upper limit for this workload.

C:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; the needed design choice concerns retrying retryable failures with exponential backoff and an upper limit instead.

Question 215

A safety-critical agent cannot access its approved evidence store. What solution would satisfy this constraint?

  1. Design supported multi-region failover with data and network considerations
  2. Apply timeouts and circuit-breaker behavior to external tool calls
  3. Store durable job state and allow restart from a verified checkpoint
  4. Persist workflow checkpoints and completed-action identifiers
  5. Fail closed or defer the answer instead of inventing unsupported facts

Explanation

Correct Answer

E:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback.

Incorrect Answers

A:

High availability requires redundant eligible endpoints and appropriately replicated dependencies, not only multiple application instances; that mechanism does not itself establish failing closed or defer the answer instead of inventing unsupported facts.

B:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; the relevant decision is failing closed or defer the answer instead of inventing unsupported facts, not the separate action described here.

C:

Checkpointing limits repeated work and enables progress recovery without relying on ephemeral in-memory conversation state; that would not ensure failing closed or defer the answer instead of inventing unsupported facts for this workload.

D:

Durable state lets a resumed run distinguish finished side effects from pending steps, reducing duplicate operations; the needed design choice concerns failing closed or defer the answer instead of inventing unsupported facts instead.

Question 216

A long-running processing job is interrupted by a maintenance event. Which method is the best fit?

  1. Fail closed or defer the answer instead of inventing unsupported facts
  2. Apply timeouts and circuit-breaker behavior to external tool calls
  3. Store durable job state and allow restart from a verified checkpoint
  4. Implement an evaluated fallback to a compatible deployment

Explanation

Correct Answer

C:

Checkpointing limits repeated work and enables progress recovery without relying on ephemeral in-memory conversation state.

Incorrect Answers

A:

When grounding is mandatory, inability to retrieve approved evidence should block unsupported claims and initiate a safe fallback; meeting the stated constraint still involves storing durable job state and allow restart from a verified checkpoint.

B:

Bounded dependency waiting stops one failing tool from exhausting the entire agent runtime and can trigger controlled failure handling; that mechanism does not itself establish storing durable job state and allow restart from a verified checkpoint.

D:

A fallback requires compatible capabilities, security policy, and output contract; simply retrying an unavailable endpoint does not provide continuity; that would not ensure storing durable job state and allow restart from a verified checkpoint for this workload.

Question 217

A financial regulator requests evidence of exactly which sources supported generated customer advice. Which configuration or component should be selected?

  1. Return policy-consistent, non-sensitive refusal reasons
  2. Delete or expire relevant conversation stores and derived records under the retention policy
  3. Log cited source identifiers, versions, and decision metadata
  4. Review data flows, regions, access rules, and retention configuration

Explanation

Correct Answer

C:

Auditable provenance links output to approved evidence and avoids the false certainty of an untraceable generated paragraph.

Incorrect Answers

A:

A refusal can identify a permissions boundary without revealing protected data or hidden rules that prompted the block; on its own this leaves logging cited source identifiers, versions, and decision metadata unaddressed.

B:

Privacy operations must cover memory, logs, indexes, and caches where the data is actually persisted; meeting the stated constraint still involves logging cited source identifiers, versions, and decision metadata.

D:

Policy conformance is evaluated across the complete processing graph rather than inferred from the chosen language model's name; the relevant decision is logging cited source identifiers, versions, and decision metadata, not the separate action described here.

Question 218

A customer exercises a data-deletion request covering prior chat messages. Which approach best meets the requirement?

  1. Return policy-consistent, non-sensitive refusal reasons
  2. Allowlist model and tool endpoints and enforce egress policies
  3. Delete or expire relevant conversation stores and derived records under the retention policy
  4. Use authenticated principals and correlate their calls in audit records

Explanation

Correct Answer

C:

Privacy operations must cover memory, logs, indexes, and caches where the data is actually persisted.

Incorrect Answers

A:

A refusal can identify a permissions boundary without revealing protected data or hidden rules that prompted the block; it cannot substitute for deleting or expire relevant conversation stores and derived records under the retention policy under these conditions.

B:

Data boundaries must include retrieval services, external APIs, observability sinks, and models; one compliant endpoint is insufficient; on its own this leaves deleting or expire relevant conversation stores and derived records under the retention policy unaddressed.

D:

Accountability needs an identity and operation trail; anonymous shared API keys weaken separation of responsibility; that mechanism does not itself establish deleting or expire relevant conversation stores and derived records under the retention policy.

Question 219

An enterprise requires all agent actions to be attributable to a service identity or employee. What solution would satisfy this constraint?

  1. Record configuration-change events and privileged actor identities
  2. Return policy-consistent, non-sensitive refusal reasons
  3. Allowlist model and tool endpoints and enforce egress policies
  4. Use authenticated principals and correlate their calls in audit records

Explanation

Correct Answer

D:

Accountability needs an identity and operation trail; anonymous shared API keys weaken separation of responsibility.

Incorrect Answers

A:

Control-plane auditing tracks who altered guardrails, which is separate from recording harmful user prompts; it addresses a neighboring concern, while the task tests providing all agent actions to be attributable to a service identity or employee.

B:

A refusal can identify a permissions boundary without revealing protected data or hidden rules that prompted the block; it cannot substitute for providing all agent actions to be attributable to a service identity or employee under these conditions.

C:

Data boundaries must include retrieval services, external APIs, observability sinks, and models; one compliant endpoint is insufficient; on its own this leaves providing all agent actions to be attributable to a service identity or employee unaddressed.

Question 220

A legal team prohibits sending restricted material to nonapproved external services. Which method is the best fit?

  1. Delete or expire relevant conversation stores and derived records under the retention policy
  2. Review data flows, regions, access rules, and retention configuration
  3. Allowlist model and tool endpoints and enforce egress policies
  4. Use authenticated principals and correlate their calls in audit records

Explanation

Correct Answer

C:

Data boundaries must include retrieval services, external APIs, observability sinks, and models; one compliant endpoint is insufficient.

Incorrect Answers

A:

Privacy operations must cover memory, logs, indexes, and caches where the data is actually persisted; the requested solution requires allowlisting model and tool endpoints and enforce egress policies rather than this different mechanism.

B:

Policy conformance is evaluated across the complete processing graph rather than inferred from the chosen language model's name; it addresses a neighboring concern, while the task tests allowlisting model and tool endpoints and enforce egress policies.

D:

Accountability needs an identity and operation trail; anonymous shared API keys weaken separation of responsibility; on its own this leaves allowlisting model and tool endpoints and enforce egress policies unaddressed.

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