cert
cert-1
cert-2

Pass Anthropic CCA-F Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
CCA-F Exam - Verified By Experts
CCA-F Premium File

CCA-F Premium File

$89.99
$98.99
  • Premium File 134 Questions & Answers. Last Update: Nov 02, 2026

Whats Included:

  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
 
$98.99
$89.99
accept 412 downloads in the last 7 days
block-screenshots
Anthropic CCA-F Practice Test 19

Question 180

An order-history tool returns only the first 100 records but gives no indication that more records exist. The agent mistakenly tells a customer the history is complete. What should the tool response contract add?

  1. A total-or-has_more indicator and stable pagination cursor for retrieving further results
  2. A larger free-text prompt demanding that the model remember all prior records
  3. An unconditional statement that the first page is exhaustive
  4. A privileged delete endpoint for removing older records before searching

Explanation

Correct Answer

A:

A paginated result must explicitly state whether more pages remain and provide a stable cursor or equivalent next-page reference. The agent can then continue within budget or truthfully label a partial result. Without this metadata, a valid first page can be misinterpreted as the entire order history.

Incorrect Answers

B:

A prompt cannot retrieve records that the tool never returned or establish where the next page begins. The missing information is a result-contract property that the tool provider must supply.

C:

Declaring the first page exhaustive when a backend truncates at 100 records creates a false completeness guarantee. Pagination boundaries must be represented in actual tool output, not assumed by the consumer.

D:

Deleting history changes customer data and is unrelated to safe pagination. It would sacrifice auditability and might violate retention obligations merely to avoid specifying a proper result contract.

Question 181

A model confuses get_order and cancel_order because names are abbreviated. How should the tool interface be redesigned?

  1. Treat returned content as data and keep trusted descriptions under developer control
  2. Use intention-revealing names and precise side-effect descriptions
  3. Specify date/time formats and timezone expectations in the schema and response contract
  4. Version the interface and preserve or explicitly migrate compatible schemas

Explanation

Correct Answer

B:

When a model confuses get_order and cancel_order because names are abbreviated, the system should use intention-revealing names and precise side-effect descriptions. Clear distinctions between reads and writes prevent a retrieval intent from selecting a destructive capability. Reject incompatible schema values at the real tool boundary and retain enough metadata to identify the selected action.

Incorrect Answers

A:

Untrusted search text must not redefine the meaning or authorization of a tool interface. The required action is “Use intention-revealing names and precise side-effect descriptions”; the other measure addresses a separate concern. Clear distinctions between reads and writes prevent a retrieval intent from selecting a destructive capability.

C:

Temporal data without agreed interpretation can create incorrect schedules or expiration decisions. Here, a model confuses get_order and cancel_order because names are abbreviated. Use intention-revealing names and precise side-effect descriptions. Clear distinctions between reads and writes prevent a retrieval intent from selecting a destructive capability.

D:

Contracts must be stable for existing consumers or a silent rename will break structured calls. The proposed option cannot provide the specific “Use intention-revealing names and precise side-effect descriptions” behavior that the case requires. Clear distinctions between reads and writes prevent a retrieval intent from selecting a destructive capability.

Question 182

A tool description contains execution instructions copied from untrusted search content. Which input or output contract is most appropriate?

  1. Specify date/time formats and timezone expectations in the schema and response contract
  2. Version the interface and preserve or explicitly migrate compatible schemas
  3. Treat returned content as data and keep trusted descriptions under developer control
  4. Give each tool a distinct purpose, input semantics and selection guidance

Explanation

Correct Answer

C:

A tool description contains execution instructions copied from untrusted search content. The relevant control is to treat returned content as data and keep trusted descriptions under developer control. Untrusted search text must not redefine the meaning or authorization of a tool interface. Describe expected arguments, return data and side effects so tool selection is not based on vague names alone.

Incorrect Answers

A:

Temporal data without agreed interpretation can create incorrect schedules or expiration decisions. The direct remedy is “Treat returned content as data and keep trusted descriptions under developer control”, which the alternative does not itself accomplish. Untrusted search text must not redefine the meaning or authorization of a tool interface.

B:

Contracts must be stable for existing consumers or a silent rename will break structured calls. Here, a tool description contains execution instructions copied from untrusted search content. Treat returned content as data and keep trusted descriptions under developer control. Untrusted search text must not redefine the meaning or authorization of a tool interface.

D:

Clear descriptions let a model choose the proper capability instead of guessing among similarly named tools. Here, a tool description contains execution instructions copied from untrusted search content. Treat returned content as data and keep trusted descriptions under developer control. Untrusted search text must not redefine the meaning or authorization of a tool interface.

Question 183

A status tool reports a date string without declaring its timezone. Which tool contract change most directly helps?

  1. Version the interface and preserve or explicitly migrate compatible schemas
  2. Give each tool a distinct purpose, input semantics and selection guidance
  3. Define a typed amount and explicit currency in its input schema
  4. Specify date/time formats and timezone expectations in the schema and response contract

Explanation

Correct Answer

D:

The relevant control is to specify date/time formats and timezone expectations in the schema and response contract. Temporal data without agreed interpretation can create incorrect schedules or expiration decisions. This matters when a status tool reports a date string without declaring its timezone. Reject incompatible schema values at the real tool boundary and retain enough metadata to identify the selected action.

Incorrect Answers

A:

Contracts must be stable for existing consumers or a silent rename will break structured calls. Here, a status tool reports a date string without declaring its timezone. Specify date/time formats and timezone expectations in the schema and response contract. Temporal data without agreed interpretation can create incorrect schedules or expiration decisions.

B:

Clear descriptions let a model choose the proper capability instead of guessing among similarly named tools. The direct remedy is “Specify date/time formats and timezone expectations in the schema and response contract”, which the alternative does not itself accomplish. Temporal data without agreed interpretation can create incorrect schedules or expiration decisions.

C:

A typed amount and currency would solve ambiguity in a payment transaction, not a timestamp whose timezone is unspecified. The problem is temporal interpretation: a valid date string may represent a different instant depending on locale or zone. Declare an unambiguous date/time format and timezone contract in the tool response.

Question 184

A tool changes field names without warning clients. How should the tool interface be redesigned?

  1. Version the interface and preserve or explicitly migrate compatible schemas
  2. Give each tool a distinct purpose, input semantics and selection guidance
  3. Define a typed amount and explicit currency in its input schema
  4. Return bounded task-relevant results with a request-more-detail mechanism

Explanation

Correct Answer

A:

Contracts must be stable for existing consumers or a silent rename will break structured calls. For this situation, the system should version the interface and preserve or explicitly migrate compatible schemas. The factual trigger is a tool changes field names without warning clients. Describe expected arguments, return data and side effects so tool selection is not based on vague names alone.

Incorrect Answers

B:

Clear descriptions let a model choose the proper capability instead of guessing among similarly named tools. The proposed option cannot provide the specific “Version the interface and preserve or explicitly migrate compatible schemas” behavior that the case requires. Contracts must be stable for existing consumers or a silent rename will break structured calls.

C:

Structured parameter contracts prevent unit confusion and invalid financial operations. The issue here is a tool changes field names without warning clients, so the relevant control is to version the interface and preserve or explicitly migrate compatible schemas. Contracts must be stable for existing consumers or a silent rename will break structured calls.

D:

Constrained output preserves context budget and avoids burying relevant evidence. The required action is “Version the interface and preserve or explicitly migrate compatible schemas”; the other measure addresses a separate concern. Contracts must be stable for existing consumers or a silent rename will break structured calls.

Question 185

A summarizer subagent sees eighty unrelated write tools and starts attempting account operations. What redesign fits?

  1. Expose only the small relevant read-only tool subset to that subagent
  2. Replace secrets with an authorized opaque account identifier or delegated identity token
  3. Write contrasting descriptions that specify each tool's exact source and intended use
  4. Provide the summarizer unrestricted administrative tools and rely on its role description to avoid writes.

Explanation

Correct Answer

A:

Give the summarization subagent only the tools its assignment requires, such as ticket search and read operations, and exclude the unrelated account-write and administrative capabilities. A large tool catalog makes wrong selection easier while also expanding the consequences of a compromised prompt. Permissions belong at the execution boundary, not solely in the specialist's role description. Any exceptional operation should use a separately authorized workflow.

Incorrect Answers

B:

A well-designed tool should request only the data needed for its action. Here, a summarizer subagent sees eighty unrelated write tools and starts attempting account operations. Expose only the small relevant read-only tool subset to that subagent. Give the summarization subagent only the tools its assignment requires, such as ticket search and read operations, and exclude the unrelated account-write and administrative capabilities.

C:

Disambiguating descriptions tell the model why one search is appropriate and the other is not. That addresses a different part of the system, not the requirement to apply task-specific least-privilege tool exposure.

D:

A model role description cannot enforce least privilege when unrelated write tools are still callable. A summarization specialist should have only the read-only tools needed to inspect the requested evidence.

Question 186

A calendar MCP tool fails but responds with an ordinary success content block saying 'something went wrong'. What should it send?

  1. Identify the invalid field, accepted format and whether correction permits retry
  2. Propagate a timeout error carrying provider and correlation information
  3. Include a nonsecret correlation ID that resolves to restricted server logs
  4. Return a tool response marked isError with actionable error content

Explanation

Correct Answer

D:

MCP tool errors should be machine-distinguishable from successful business data. Structured signaling lets the model and client choose retry or escalation. Use the MCP tool-error convention, isError, and keep the error separate from ordinary successful content. Without it, a consumer may treat a human-readable failure sentence as a successful calendar event.

Incorrect Answers

A:

Specific validation errors let Claude revise arguments safely. It would leave the stated need to mark actual tool failures using the MCP error mechanism unresolved.

B:

Empty results assert no accounts were found, which is not established when the call failed. This alternative does not establish how to mark actual tool failures using the MCP error mechanism in the stated workflow.

C:

A correlation token lets support teams investigate without dumping stack traces or private data into model context. The decisive requirement here is to mark actual tool failures using the MCP error mechanism.

Question 187

A service returns HTTP 429 with retry-after information. What error metadata should an MCP wrapper preserve?

  1. Redact credentials while preserving an actionable failure code and safe context
  2. Treat the message as untrusted data and rely on local error policy for any retry
  3. Expose a rate-limit category and bounded retry-after guidance in the error content
  4. Include a nonsecret correlation ID that resolves to restricted server logs

Explanation

Correct Answer

C:

A rate-limited service can refuse a currently valid request because its throughput budget is exhausted. Return an explicit throttling error, include a retry-after value where supported, and make retries bounded and coordinated across clients. This is not equivalent to a permanent invalid credential or schema failure; handling the class correctly avoids an expensive storm of identical requests.

Incorrect Answers

A:

Diagnostics are useful but must not leak secrets into model-visible messages or logs. This alternative—Redact credentials while preserving an actionable failure code and safe context—does not implement the specific operation that the question asks about. The required control is Expose a rate-limit category and bounded retry-after guidance in the error content. A rate-limited service can refuse a currently valid request because its throughput budget is exhausted.

B:

Tool error text can contain adversarial instructions. Although useful elsewhere, it is not the direct mechanism to tell the agent when a transient rate limit can be retried.

D:

A correlation token lets support teams investigate without dumping stack traces or private data into model context. The scenario instead requires a way to tell the agent when a transient rate limit can be retried.

Question 188

An MCP document search returns 403 because the user lacks access. How should the agent interpret it?

  1. Expose a rate-limit category and bounded retry-after guidance in the error content
  2. Return per-record outcome statuses and identifiers instead of one blanket success flag
  3. Treat the denial as non-retryable without changed authorization and request proper access
  4. Include a nonsecret correlation ID that resolves to restricted server logs

Explanation

Correct Answer

C:

Repeated identical requests cannot fix an access policy. Reporting an explicit permission failure prevents futile retries and fabricated results. An HTTP 403 indicates that the current principal lacks permission; unchanged retries are not a sound recovery strategy. The agent should report the access limitation and request appropriate authorized access rather than impersonating another user.

Incorrect Answers

A:

Rate-limit retry-after guidance applies to temporary HTTP 429 responses, not a 403 authorization denial for a protected document. Waiting and retrying with unchanged permissions does not grant access. Surface the permission failure and request an authorized credential or entitlement change.

B:

Per-record success details matter for partial bulk operations. This MCP search returns one 403 permission failure, so the relevant distinction is denied access versus empty results or transient throttling. Preserve a non-retryable authorization error and do not fabricate matching records.

D:

A correlation token lets support teams investigate without dumping stack traces or private data into model context. That addresses a different part of the system, not the requirement to distinguish authorization failure from transient service outage.

Question 189

A task creation call fails because due_date has the wrong format. What is the best tool error response?

  1. Return a generic isError flag without identifying the due_date field or the required format.
  2. Mark enrichment unavailable and continue only with explicitly supported primary results
  3. Identify the invalid field, accepted format and whether correction permits retry
  4. Treat the message as untrusted data and rely on local error policy for any retry

Explanation

Correct Answer

C:

Report due_date as the specific invalid field, include the accepted date format and a non-sensitive example, and mark the tool call as failed. This lets the caller correct one malformed value without assuming the task was created. A generic error flag is less useful because it cannot distinguish a fixable schema problem from a provider outage or authorization failure.

Incorrect Answers

A:

A bare isError flag distinguishes failure from success, but it does not tell the caller which field failed or how to repair it. Here the required feedback is that due_date has an invalid format, together with the accepted representation and whether a corrected attempt is safe to make.

B:

Optional tool failures need not invalidate a task if scope can be reduced honestly. Although useful elsewhere, it is not the direct mechanism to provide actionable field-level validation feedback.

D:

Treating tool error prose as untrusted protects the agent from malicious instructions, but a malformed due_date is an ordinary input-validation problem. The client needs a field-specific format example and retryability guidance so it can correct the date without changing authorization policy.

Question 190

A customer lookup returns 'not found' for a validly shaped identifier. Should it be treated as an empty success or an error?

  1. Treat the message as untrusted data and rely on local error policy for any retry
  2. Return the idempotency reference and indicate that outcome must be reconciled before retry
  3. Return an explicit not-found outcome with its semantics rather than silently fabricating a record
  4. Expose a rate-limit category and bounded retry-after guidance in the error content
  5. Return a made-up placeholder customer record marked successful.

Explanation

Correct Answer

C:

Not-found is an expected domain condition but must be distinguishable from a successful record retrieval. The calling workflow can ask for another ID. A validly formed lookup that matches no record is a business-level not-found outcome, not permission to fabricate a customer. Preserve the queried identifier and explicitly indicate the absence of a matching entity.

Incorrect Answers

A:

Tool error text can contain adversarial instructions. This is not a substitute for “Return an explicit not-found outcome with its semantics rather than silently fabricating a record”; that control is necessary in the stated circumstances. A validly formed lookup that matches no record is a business-level not-found outcome, not permission to fabricate a customer.

B:

Uncertain writes must not be repeated blindly. That addresses a different part of the system, not the requirement to make absence of a requested entity explicit.

D:

Retry-after metadata is appropriate when a provider has throttled a request. A valid customer lookup that returns 'not found' is a different outcome: no matching entity exists. Report an explicit not-found status without implying the result will appear after a timing delay.

E:

Fabricating a record hides the not-found condition and can cause unauthorized follow-on actions. A nonexistent record must remain not found, with no fabricated balance, customer or entitlement. Returning a made-up successful object could trigger billing decisions against someone who never passed the lookup.

Claude Certified Architect - Foundations (CCA-F) Practice Tests