Question 150

A research agent hands findings to a writing agent, which confuses speculative notes with verified facts. What handoff change fits?

  1. Use structured findings with evidence, verification status, and task boundaries
  2. Pass only a persuasive narrative with no source labels
  3. Allow the writer to declare every upstream claim verified
  4. Increase the writer's temperature to resolve ambiguity

Explanation

Correct Answer

A:

The receiving agent can distinguish supported claims from hypotheses. Unstructured fluency should not imply verification.

Incorrect Answers

B:

This removes the distinctions needed to avoid unsupported claims.

C:

A downstream assertion does not replace evidence checking.

D:

Sampling variation does not recover missing provenance or status fields.

Question 151

Two specialized agents return incompatible recommendations based on different assumptions. What should the coordinator do?

  1. Choose whichever agent produced more tokens
  2. Compare assumptions and evidence, then resolve or escalate the specific conflict
  3. Concatenate both recommendations as a single consistent answer
  4. Always choose the response that arrived first

Explanation

Correct Answer

B:

Aggregation needs a reasoned decision rule. Unsupported averaging can hide incompatible premises.

Incorrect Answers

A:

Length is not evidence of expertise or correct assumptions.

C:

Juxtaposition does not reconcile contradictory advice.

D:

Arrival time is unrelated to validity or applicability.

Question 152

A user approved a transfer yesterday, but its destination and amount have since changed. What should execution require?

  1. Reuse the approval if its timestamp is still within a generic retention window
  2. Ask the model to label the earlier approval recent
  3. A new approval bound to the current immutable operation details
  4. Approve automatically whenever the new amount is smaller
  5. Reuse approval because the tool name is unchanged

Explanation

Correct Answer

C:

Consent should cover the actual action. Changed material parameters invalidate an approval for the earlier proposal.

Incorrect Answers

A:

Retention does not bind approval to changed parameters. Valid consent must cover the current amount and destination.

B:

Generated wording cannot renew user consent.

D:

A reduced amount does not establish consent to a different destination or operation.

E:

The same tool can execute materially different transactions.

Question 153

A callback resumes a human-approved workflow. What prevents a forged or repeated callback from authorizing extra work?

  1. Record approval only after performing the action
  2. Authenticate callbacks, bind them to pending state, and consume approval once
  3. Accept any callback containing the word approved
  4. Verify only that the callback timestamp is recent, without binding it to a pending operation

Explanation

Correct Answer

B:

Correlation and single-use state connect the event to one authorized transition. Authentication alone does not prevent replay.

Incorrect Answers

A:

Execution would occur before the required authorization state is established.

C:

Text content does not prove origin or association with a pending operation.

D:

A recent event can still be forged or applied to the wrong approval. Authenticate the sender and enforce the correct one-time workflow transition.

Question 154

An agent can generate Python for customer data analysis. What execution environment best limits damage?

  1. An isolated sandbox with restricted network, resources, filesystem, and data access
  2. A prompt saying the code is harmless, followed by unrestricted execution
  3. The production administrator's unrestricted shell
  4. The same process that stores every tenant's secrets

Explanation

Correct Answer

A:

Generated code is untrusted execution input. Isolation and capability limits contain effects beyond the intended analysis.

Incorrect Answers

B:

A textual assurance does not enforce operating-system boundaries.

C:

This grants unnecessary access to sensitive systems and credentials.

D:

Shared secret access greatly expands the consequences of malicious or mistaken code.

Question 155

A web tool returns megabytes of HTML, overwhelming the agent context. What tool contract improvement fits?

  1. Return only a success flag and omit the evidence used by the agent
  2. Silently cut output at an arbitrary byte boundary
  3. Return the entire site on every call
  4. Return bounded relevant extracts with source references and explicit truncation status

Explanation

Correct Answer

D:

Useful observations should fit the execution budget. Truncation must be visible so missing evidence is not mistaken for completeness.

Incorrect Answers

A:

A status flag cannot support an evidence-dependent answer. The result should be bounded but still contain relevant content, source references, and explicit completeness status.

B:

This can corrupt content and hides that material was omitted.

C:

Unbounded observations can exhaust context and obscure relevant evidence.

Question 156

The model proposes a nonexistent tool name. What should the orchestrator do?

  1. Reject the unknown tool and return a controlled validation error or bounded repair request
  2. Dispatch to the nearest tool name by string similarity without checking the exact operation
  3. Map every unknown tool name to a default write operation
  4. Register an executable tool dynamically from the unknown call's user-supplied description

Explanation

Correct Answer

A:

Execution must use registered capabilities. A repair path can correct selection without granting arbitrary dispatch.

Incorrect Answers

B:

A small name difference can identify a different business action. Tool resolution should fail closed or request a bounded repair rather than execute an unintended capability.

C:

A default side effect may differ completely from the proposed action. Unknown operations should fail validation rather than execute arbitrarily.

D:

An unrecognized proposal must not create new authority or code. Tool registration should follow a trusted deployment and approval process rather than caller-supplied text.

Question 157

An agent says "I updated your address," but no update tool executed. What should determine the user-visible completion status?

  1. The number of reasoning steps
  2. The verified business-system result, not the generated assertion
  3. Whether the response contains the word updated
  4. The confidence of the sentence

Explanation

Correct Answer

B:

Natural language is not evidence of a committed change. Bind success messages to authoritative execution outcomes.

Incorrect Answers

A:

A long plan can still end without performing the operation.

C:

Keyword matching cannot establish business-state changes.

D:

Assertive wording cannot prove a side effect occurred.

Question 158

A tool returns accepted for an asynchronous account update. The model immediately claims the change is complete. What contract fixes this distinction?

  1. Wait a random short interval and assume completion
  2. Expose accepted, pending, failed, and completed states and verify completion before claiming it
  3. Repeat the update until the model feels certain
  4. Map all non-error HTTP responses to completed

Explanation

Correct Answer

B:

Acceptance means work entered processing. Completion requires the downstream authoritative state or completion event.

Incorrect Answers

A:

Elapsed time is not a reliable completion signal.

C:

Repeated side effects can create duplicates without establishing the original outcome.

D:

A successful acceptance response may precede execution and later failure.

Question 159

A workflow reserves inventory, then payment fails. What should its design include?

  1. Retry payment forever while holding stock
  2. A defined compensating release with durable tracking of both steps
  3. Delete the conversation and assume the reservation disappears
  4. Claim the purchase succeeded because the first step did

Explanation

Correct Answer

B:

Multi-system actions may not share one transaction. Compensation restores the intended business state when a later step fails.

Incorrect Answers

A:

Unbounded retention can block inventory and does not resolve permanent payment failures.

C:

Conversation state does not undo the inventory service's side effect.

D:

Partial execution does not satisfy the complete purchase workflow.

Question 160

A coordinator fans each task to five agents, but most tasks need only one specialist. What design reduces waste?

  1. Use agent count as the sole success metric
  2. Remove all tool validation to shorten each call
  3. Always add more agents to improve certainty
  4. Route by required capability and cap delegated work using measured completion quality

Explanation

Correct Answer

D:

Selective delegation avoids unnecessary model calls. Retain multi-agent execution when it adds demonstrable value.

Incorrect Answers

A:

More workers do not establish better task outcomes.

B:

Validation protects correctness and authorization rather than representing optional fan-out overhead.

C:

Additional agents increase cost and can duplicate the same errors.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests