Anthropic CCDV-F (Claude Certified Developer - Foundations) Practice Test 71

Question 700

A change request for an enterprise MCP client combines two needs: supply a read-only policy manual to an MCP client without giving it an action endpoint, and execute a high-privilege enterprise action that must remain inside a corporate network. Which implementation pair addresses both, not just one?

  1. Perform both steps: (1) Expose the manual as an MCP resource rather than a tool; (2) host a restricted client tool in the private application environment.
  2. Perform both steps: (1) Disable the capability at configuration or tool-registration level; (2) host a restricted client tool in the private application environment.
  3. Perform both steps: (1) Disable the capability at configuration or tool-registration level; (2) put an approval gate in the host-side write handler.
  4. Perform both steps: (1) Expose the manual as an MCP resource rather than a tool; (2) put an approval gate in the host-side write handler.

Explanation

Correct Answer

A:

The first change enables the team to supply a read-only policy manual to an MCP client without giving it an action endpoint because a resource is contextual data; representing a passive document as an imperative function adds unnecessary execution semantics; the second addresses the separate need to execute a high-privilege enterprise action that must remain inside a corporate network because a private handler provides local network and IAM controls that a generic provider-executed server tool may not possess.

Incorrect Answers

B:

The second step meets the requirement to execute a high-privilege enterprise action that must remain inside a corporate network because a private handler provides local network and IAM controls that a generic provider-executed server tool may not possess; the first step would only help to remove an agent's access to an obsolete integration without rewriting all its task prompts because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool, leaving the separate requirement to supply a read-only policy manual to an MCP client without giving it an action endpoint unmet.

C:

Both steps target different results—remove an agent's access to an obsolete integration without rewriting all its task prompts and ensure an agent obtains explicit authorization before updating a customer record—because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool and an irreversible or sensitive write must be permitted by trusted application logic, not merely because the model selected a tool; the required capabilities are instead to supply a read-only policy manual to an MCP client without giving it an action endpoint and to execute a high-privilege enterprise action that must remain inside a corporate network.

D:

The first step is appropriate for the requirement to supply a read-only policy manual to an MCP client without giving it an action endpoint because a resource is contextual data; representing a passive document as an imperative function adds unnecessary execution semantics; the other step instead aims to ensure an agent obtains explicit authorization before updating a customer record because an irreversible or sensitive write must be permitted by trusted application logic, not merely because the model selected a tool, which does not meet the second requirement to execute a high-privilege enterprise action that must remain inside a corporate network.

Question 701

While planning a multi-tenant support application, the product owner specifies that it must determine whether a quality regression came from a recent instruction edit. Which solution fulfills the requirement?

  1. Define availability objectives with failure and recovery criteria.
  2. Apply content checks at suitable input and output boundaries.
  3. Version tool input schemas and coordinate dependent client changes.
  4. Store prompt versions with release identifiers and rollback history.

Explanation

Correct Answer

D:

To determine whether a quality regression came from a recent instruction edit in this multi-tenant support application, a prompt is a behavior-changing artifact; versioning makes comparisons and safe reversions possible during incident response; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to state how much interruption a customer-facing AI feature can tolerate because reliability requirements determine fallback, retries, health monitoring, and degraded behavior; they are distinct from the response's linguistic quality; that mechanism does not meet the different requirement to determine whether a quality regression came from a recent instruction edit.

B:

The proposed alternative helps to filter risky user-visible content according to application policy because moderation is a defense layer applied around generation, not a substitute for authenticated tool access or scoped retrieval; that mechanism does not meet the different requirement to determine whether a quality regression came from a recent instruction edit.

C:

The proposed alternative helps to migrate tool argument fields without breaking older workers because contract versioning prevents producers and consumers from silently disagreeing about required fields or meanings; that mechanism does not meet the different requirement to determine whether a quality regression came from a recent instruction edit.

Question 702

In a Claude inference cost review, a release requirement is to account for different plausible answers from the same input on repeated runs. Which implementation addresses that specific requirement?

  1. Model the response as conditioned token generation.
  2. Design for stochastic output and evaluate behavior over representative repeats.
  3. Revalidate prompts, schemas, safety constraints, and tools after model migration.
  4. Configure supported adaptive thinking behavior rather than forcing a fixed pattern.

Explanation

Correct Answer

B:

To account for different plausible answers from the same input on repeated runs in this Claude inference cost review, sampling and model execution can produce variation; important correctness must be checked rather than assumed identical on every call; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to explain why language-model output is generated step by step rather than fetched from a fixed response table because autoregressive decoding selects subsequent tokens based on supplied context and prior output, which creates flexible but non-guaranteed wording; that mechanism does not meet the different requirement to account for different plausible answers from the same input on repeated runs.

C:

The proposed alternative helps to avoid assuming a model-version change preserves tool output and writing behavior because new releases can change response distributions or supported behaviors, making a model upgrade a real software change; that mechanism does not meet the different requirement to account for different plausible answers from the same input on repeated runs.

D:

The proposed alternative helps to allow supported models to vary internal reasoning effort according to task difficulty because adaptive reasoning responds to problem complexity, but supported modes differ by model and release and should not be assumed universal; that mechanism does not meet the different requirement to account for different plausible answers from the same input on repeated runs.

Question 703

A planned upgrade to a shared tool gateway for Claude has two requirements that must both pass: expose a diagnostic capability without allowing the model to modify records; ensure an agent obtains explicit authorization before updating a customer record. Identify the two direct implementations. Choose TWO.

  1. Give each tool a timeout and controlled retry or failure result.
  2. Put an approval gate in the host-side write handler.
  3. Implement a narrowly scoped read-only tool handler.
  4. Create a Skill containing the procedure and supporting instructions.
  5. Configure the supported tool_choice behavior for the request.

Explanation

Correct Answers

B:

To ensure an agent obtains explicit authorization before updating a customer record as part of a design that must also expose a diagnostic capability without allowing the model to modify records, an irreversible or sensitive write must be permitted by trusted application logic, not merely because the model selected a tool; this is why the action is one of the two required selections.

C:

To expose a diagnostic capability without allowing the model to modify records as part of a design that must also ensure an agent obtains explicit authorization before updating a customer record, a restricted read interface supports observation while preventing data mutation, unlike giving a diagnostic agent a general administrative API; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to stop a slow external system from trapping an agent loop indefinitely because tool execution is a separate latency source; bounded calls prevent one dependency from exhausting the entire agent budget; the required outcomes are instead to expose a diagnostic capability without allowing the model to modify records and to ensure an agent obtains explicit authorization before updating a customer record.

D:

This alternative serves the separate goal to make a repeatable multi-step code-review methodology available to an agent because a Skill teaches how to perform a task, whereas a tool is the executable capability that performs an external operation; the required outcomes are instead to expose a diagnostic capability without allowing the model to modify records and to ensure an agent obtains explicit authorization before updating a customer record.

E:

This alternative serves the separate goal to require or restrict tool use for a specific turn when the API supports that control because tool-selection controls influence whether Claude may call tools, but cannot grant permissions to the underlying systems; the required outcomes are instead to expose a diagnostic capability without allowing the model to modify records and to ensure an agent obtains explicit authorization before updating a customer record.

Question 704

The owner of a production inference application needs to filter risky user-visible content according to application policy as well as ensure refunds above a policy limit receive human sign-off. Which two changes belong in the minimum remediation plan? Choose TWO.

  1. Enforce per-tenant token and request budgets in the backend.
  2. Add application-owned approval logic around the refund tool.
  3. Configure supported structured outputs with a JSON Schema.
  4. Apply content checks at suitable input and output boundaries.
  5. Validate generated fields against domain rules after parsing.

Explanation

Correct Answers

B:

To ensure refunds above a policy limit receive human sign-off as part of a design that must also filter risky user-visible content according to application policy, decisions that create financial side effects require deterministic authorization checks beyond a model's recommendation; this is why the action is one of the two required selections.

D:

To filter risky user-visible content according to application policy as part of a design that must also ensure refunds above a policy limit receive human sign-off, moderation is a defense layer applied around generation, not a substitute for authenticated tool access or scoped retrieval; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to keep one customer from consuming an entire shared inference budget because application quotas isolate noisy tenants and control spending; provider-wide rate limits alone do not guarantee fairness between customers; the required outcomes are instead to filter risky user-visible content according to application policy and to ensure refunds above a policy limit receive human sign-off.

C:

This alternative serves the separate goal to need schema-conformant JSON for a downstream parser at generation time because constrained JSON generation targets machine-parseable fields and types; free-form prompting alone does not establish the same guarantee; the required outcomes are instead to filter risky user-visible content according to application policy and to ensure refunds above a policy limit receive human sign-off.

E:

This alternative serves the separate goal to stop a well-formed JSON response from introducing an impossible customer status because a syntactically valid object may still contain invalid business values; server-side semantics determine whether it is acceptable; the required outcomes are instead to filter risky user-visible content according to application policy and to ensure refunds above a policy limit receive human sign-off.

Question 705

To ship a Claude API workload benchmark, the application must cut cost for a nightly noninteractive summarization workload and detect a looping agent that suddenly multiplies token consumption. Which pair of listed actions is necessary for those stated capabilities? Choose TWO.

  1. Alert on unusual per-job token and tool-call growth.
  2. Measure input-token usage per request and track the prompt components.
  3. Record rate-limit status and relevant response headers alongside request metrics.
  4. Evaluate Message Batches instead of synchronous requests.
  5. Compare quality-adjusted cost per accepted result across candidate models.

Explanation

Correct Answers

A:

To detect a looping agent that suddenly multiplies token consumption as part of a design that must also cut cost for a nightly noninteractive summarization workload, monitoring consumption across an entire agent run catches runaway workflows that per-request logs may not reveal; this is why the action is one of the two required selections.

D:

To cut cost for a nightly noninteractive summarization workload as part of a design that must also detect a looping agent that suddenly multiplies token consumption, asynchronous batches can offer discounted processing when the application can tolerate deferred completion and result collection; this is why the action is one of the two required selections.

Incorrect Answers

B:

This alternative serves the separate goal to explain a billing increase after lengthy system instructions are added because repeated prefixes and conversation history consume billable input, so cost cannot be inferred from output length alone; the required outcomes are instead to cut cost for a nightly noninteractive summarization workload and to detect a looping agent that suddenly multiplies token consumption.

C:

This alternative serves the separate goal to investigate inconsistent throughput during a traffic spike because quota-related measurements explain capacity failures that may otherwise look like randomly slow model inference; the required outcomes are instead to cut cost for a nightly noninteractive summarization workload and to detect a looping agent that suddenly multiplies token consumption.

E:

This alternative serves the separate goal to choose a cheaper model only when the workload-level economics improve because a lower token price can be offset by retries, higher failure rates, or excessive output, so accepted-result cost is the useful measure; the required outcomes are instead to cut cost for a nightly noninteractive summarization workload and to detect a looping agent that suddenly multiplies token consumption.

Question 706

For a model-output validation layer, the missing capability is to avoid a prohibited output element such as confidential identifiers. What should the developers implement?

  1. State explicit priority and conflict resolution for the task constraints.
  2. Instruct the application to request clarification for unresolved high-impact ambiguity.
  3. Validate parsed output against the application's declared schema.
  4. Specify the forbidden content alongside an enforceable validation check.

Explanation

Correct Answer

D:

To avoid a prohibited output element such as confidential identifiers in this model-output validation layer, negative prompt guidance signals the intended boundary, but a deterministic validator is needed where violating it has consequences; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to prioritize mandatory legal requirements over optional stylistic preferences because without a priority rule, competing directives can create ambiguous outputs; hard requirements should guide how optional preferences are applied; that mechanism does not meet the different requirement to avoid a prohibited output element such as confidential identifiers.

B:

The proposed alternative helps to ask for missing essential parameters rather than inventing a consequential choice because clarification reduces irreversible guesses when requirements do not uniquely determine a safe action; that mechanism does not meet the different requirement to avoid a prohibited output element such as confidential identifiers.

C:

The proposed alternative helps to reject model output missing a field that a downstream service requires because parsing proves a string is legal JSON, but schema validation checks required keys, types, and structural constraints; that mechanism does not meet the different requirement to avoid a prohibited output element such as confidential identifiers.

Question 707

An operational review of a hosted document-processing service reports distinct failures: it cannot connect execution output to the exact tool request Claude made, and it cannot enforce a caller-defined textual boundary on generation. Which two repairs are required? Choose TWO.

  1. Use stop_sequences and inspect the returned stop_sequence field.
  2. Assemble messages with correct user and assistant roles.
  3. Include a typed image content block in the message.
  4. Return tool_result blocks containing the corresponding tool_use_id.
  5. Inspect HTTP status and structured error payload before interpreting model output.

Explanation

Correct Answers

A:

To enforce a caller-defined textual boundary on generation as part of a design that must also connect execution output to the exact tool request Claude made, a stop sequence halts generation at a specified marker, distinct from natural completion and separate from a JSON schema validator; this is why the action is one of the two required selections.

D:

To connect execution output to the exact tool request Claude made as part of a design that must also enforce a caller-defined textual boundary on generation, tool correlation preserves call-to-result semantics in the message sequence, especially when several tools were requested together; this is why the action is one of the two required selections.

Incorrect Answers

B:

This alternative serves the separate goal to distinguish an end user's request from previous assistant turns in a dialogue because conversation structure influences how the model interprets dialogue and tool history; flattening roles into one text string loses that structure; the required outcomes are instead to connect execution output to the exact tool request Claude made and to enforce a caller-defined textual boundary on generation.

C:

This alternative serves the separate goal to ask Claude to interpret a supported image supplied as part of a request because multimodal input must use the API's image representation and supported sourcing; merely writing a filename in text does not transfer pixels; the required outcomes are instead to connect execution output to the exact tool request Claude made and to enforce a caller-defined textual boundary on generation.

E:

This alternative serves the separate goal to distinguish API transport failures from a successfully returned model refusal because rate limits, authorization failures, and server errors happen at the request layer, unlike a normal response with a refusal stop reason; the required outcomes are instead to connect execution output to the exact tool request Claude made and to enforce a caller-defined textual boundary on generation.

Question 708

In a specialist-agent orchestration service, a release requirement is to plan another step only after inspecting the result of a requested external operation. Which implementation addresses that specific requirement?

  1. Alternate model tool-use requests with tool results until completion.
  2. Compact prior progress into an accurate working summary.
  3. Run side-effect-free tool calls concurrently when their inputs are independent.
  4. Implement an application-owned Messages API agent loop.

Explanation

Correct Answer

A:

To plan another step only after inspecting the result of a requested external operation in this specialist-agent orchestration service, the loop returns observations to the model so subsequent decisions are informed by actual tool output rather than imagined execution; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to continue a long agent run after intermediate observations dominate the context because compaction preserves decisions and unresolved work while reducing token pressure; losing constraints in the summary can still cause errors; that mechanism does not meet the different requirement to plan another step only after inspecting the result of a requested external operation.

C:

The proposed alternative helps to speed up independent data lookups without causing write-order races because read-only independent calls can safely overlap; mutating operations need explicit ordering or concurrency control; that mechanism does not meet the different requirement to plan another step only after inspecting the result of a requested external operation.

D:

The proposed alternative helps to require precise control over message assembly, tool dispatch, and stopping behavior because a custom loop explicitly owns each model call, tool result, state update, and budget decision, trading flexibility for more engineering responsibility; that mechanism does not meet the different requirement to plan another step only after inspecting the result of a requested external operation.

Question 709

The team responsible for a latency-sensitive model gateway needs to explain a billing increase after lengthy system instructions are added. What is the most direct engineering change?

  1. Measure input-token usage per request and track the prompt components.
  2. Tune sampling for lower variance while retaining output validation.
  3. Use a WebSocket protocol only when the target endpoint actually offers one.
  4. Track output tokens separately from input tokens.

Explanation

Correct Answer

A:

To explain a billing increase after lengthy system instructions are added in this latency-sensitive model gateway, repeated prefixes and conversation history consume billable input, so cost cannot be inferred from output length alone; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to favor more consistent word choices in a constrained transformation task when supported because temperature influences token sampling; it cannot by itself guarantee truth, policy compliance, or reproducible structured output; that mechanism does not meet the different requirement to explain a billing increase after lengthy system instructions are added.

C:

The proposed alternative helps to build bidirectional persistent event communication where the chosen platform supports it because webSockets can carry two-way events over a long-lived connection; they are not a drop-in replacement for every HTTP or SSE endpoint; that mechanism does not meet the different requirement to explain a billing increase after lengthy system instructions are added.

D:

The proposed alternative helps to identify why verbose generated reports cost more despite unchanged inputs because generation tokens are metered independently and can have different pricing, so response verbosity affects unit economics; that mechanism does not meet the different requirement to explain a billing increase after lengthy system instructions are added.

Question 710

A release check on a Python Claude API backend found two unsatisfied conditions: the service must let a reviewer trace claims to the material actually consulted, and it must stay within input limits while keeping the most important conversation constraints. Which complete engineering plan satisfies both?

  1. Perform both steps: (1) Retain source identifiers with retrieved evidence and render supported citations; (2) enable required plugin or connector capabilities using least-privilege configuration.
  2. Perform both steps: (1) Delimit retrieved text as untrusted source material; (2) enable required plugin or connector capabilities using least-privilege configuration.
  3. Perform both steps: (1) Delimit retrieved text as untrusted source material; (2) apply a context retention policy and summarize earlier turns where suitable.
  4. Perform both steps: (1) Retain source identifiers with retrieved evidence and render supported citations; (2) apply a context retention policy and summarize earlier turns where suitable.

Explanation

Correct Answer

D:

The first change enables the team to let a reviewer trace claims to the material actually consulted because traceability requires linking claims to accessible source passages; fabricated URLs or unlabeled snippets do not provide verifiable provenance; the second addresses the separate need to stay within input limits while keeping the most important conversation constraints because selective history management preserves task-critical state; dropping random leading messages can erase consent or requirements.

Incorrect Answers

A:

The first step is appropriate for the requirement to let a reviewer trace claims to the material actually consulted because traceability requires linking claims to accessible source passages; fabricated URLs or unlabeled snippets do not provide verifiable provenance; the other step instead aims to expose external business tools only to workflows that actually need them because tools expand the application's action surface; indiscriminate activation increases risk and can confuse model selection among similar functions, which does not meet the second requirement to stay within input limits while keeping the most important conversation constraints.

B:

Both steps target different results—prevent a retrieved article's embedded commands from being treated as developer instructions and expose external business tools only to workflows that actually need them—because explicit trust boundaries help the model interpret documents as evidence rather than operational orders, and runtime controls must enforce privileged actions and tools expand the application's action surface; indiscriminate activation increases risk and can confuse model selection among similar functions; the required capabilities are instead to let a reviewer trace claims to the material actually consulted and to stay within input limits while keeping the most important conversation constraints.

C:

The second step meets the requirement to stay within input limits while keeping the most important conversation constraints because selective history management preserves task-critical state; dropping random leading messages can erase consent or requirements; the first step would only help to prevent a retrieved article's embedded commands from being treated as developer instructions because explicit trust boundaries help the model interpret documents as evidence rather than operational orders, and runtime controls must enforce privileged actions, leaving the separate requirement to let a reviewer trace claims to the material actually consulted unmet.

Claude Certified Developer - Foundations (CCDV-F) Practice Tests