Month End Sale - Special 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 75onlydt

CCDV-F Questions and Answers

Question # 6

Your team is debating how to manage the prompts used in your Claude application. Some prompts are checked into the code repository, some live in a separate configuration file, and some are constructed inline at runtime. The result is inconsistent, and a recent prompt change went out without code review.

What steps would you take?

A.

Move all prompts out of version control to a separate spreadsheet that team members can edit freely as the application evolves over time.

B.

Move all prompts to inline runtime construction so the team can update them quickly through a streamlined process outside the standard code review workflow.

C.

Establish a single source of truth for prompts but keep change review optional, allowing developers to update prompts directly when changes are urgent.

D.

Establish a single source of truth for prompts, version-control them alongside code, and require code review for prompt changes.

Full Access
Question # 7

The product team has asked you to choose a Claude model for a new feature. The team has provided functional requirements but has not specified performance, cost, or quality targets. The team's product manager says, "Use whatever model gives us the best results."

How would you respond?

A.

Ask the product team to specify quality, latency, and cost targets, then select the model whose tradeoffs best fit those targets.

B.

Run every Claude model on a representative sample and pick whichever scores best on a generic benchmark.

C.

Choose a mid-tier model and ship the feature, because mid-tier models work for most use cases without specified targets.

D.

Choose the largest, highest-capability Claude model, on the grounds that "best results" is most likely to mean highest quality.

Full Access
Question # 8

Your Claude application has multi-step workflows where each step’s output is needed only briefly before the agent moves on. The cumulative tool output is filling the context window with content that is no longer relevant.

How would you handle the accumulating tool output?

A.

Apply tool output pruning to remove tool outputs that are no longer needed by later steps in the workflow.

B.

Apply prompt caching to the accumulated tool outputs so the application does not re-pay for the older content on each subsequent step.

C.

Switch to a smaller Claude model that processes context more efficiently and treat any quality loss as a tradeoff for the cost reduction.

D.

Keep every tool output in the context indefinitely so the agent has the full record of every step it has executed during the workflow.

Full Access
Question # 9

You are choosing a Claude model for a high-volume classification task. Each classification is straightforward, latency requirements are tight, and per-request cost matters at scale.

Which model would you choose?

A.

A mid-tier Claude model selected by default, because mid-tier models balance quality and cost in a way the team can apply across most tasks.

B.

Multiple Claude models in series, where each request runs through more than one model and the application combines the outputs into a final classification.

C.

A smaller, faster Claude model, because the task is straightforward and the workload prioritizes latency and per-request cost at scale.

D.

The largest, highest-capability Claude model, to maximize quality on every classification the application produces during normal operation across all requests.

Full Access
Question # 10

You are running Claude Code as part of an automated continuous integration pipeline. The pipeline needs Claude Code to execute a set of well-defined tasks without prompting for confirmation, and the output needs to be captured for downstream processing.

How would you configure the pipeline?

A.

Replace Claude Code with a different tool that does not require any configuration to operate without confirmation prompts in the pipeline.

B.

Run Claude Code in headless mode with the required permissions configured in settings.json and capture its output for downstream processing.

C.

Disable Claude Code's confirmation prompts globally across all environments so the pipeline runs without interruption from any prompt.

D.

Run Claude Code in interactive mode and have a developer manually approve every confirmation prompt while the pipeline executes its tasks.

Full Access
Question # 11

A teammate is debugging a Claude application whose system prompt has grown to several hundred lines and now contains overlapping, contradictory, and obsolete instructions.

How would you advise the teammate?

A.

Add more explicit instructions so the most recent rules dominate the model's interpretation of the prompt during each request.

B.

Audit the prompt for overlap, contradiction, and obsolete content, then refactor so each instruction is clear, current, and non-redundant.

C.

Tighten only the contradictory rules first, treating the overlap and obsolete content as lower-priority work the team can address later.

D.

Split the prompt across multiple system prompts so the model sees a smaller portion at any given time.

Full Access
Question # 12

Your application uses the Messages API to handle multi-turn conversations. Each new turn resends the entire conversation history, and your token costs are growing as conversations get longer. You suspect there is a more efficient approach.

How would you address this?

A.

Use prompt caching to reuse the static portions of the conversation context across turns instead of paying for them at the normal input-token rate on every request the application sends.

B.

Switch to the Batch API for every turn so the per-call cost is reduced, treating the batch as the team's primary cost-control mechanism for multi-turn work.

C.

Truncate every conversation to the last two messages so that token usage stays low and costs remain predictable across the application's normal operation.

D.

Summarize each conversation after every turn and replace the full history with the summary on the next request, reducing token count at the cost of fidelity.

Full Access
Question # 13

Your Claude application produces good responses for typical inputs but struggles with edge cases. You have several labeled examples of edge-case inputs and the desired response for each. You want to use these examples to improve the model's handling of edge cases.

What is the best way to use these examples?

A.

Embed the examples in a database for the model to find during inference.

B.

Add the labeled edge-case examples to the prompt as few-shot examples so the model can learn the pattern.

C.

Train a custom model on the edge-case examples and deploy that custom model in place of the team's current Claude integration.

D.

Tell users to avoid submitting the edge-case inputs to the application by adding warnings in the application's user interface.

Full Access
Question # 14

You are setting up the configuration management approach for a new Claude Code project. Your team will use CLAUDE.md files and settings.json files to control behavior, and you want to make sure changes are tracked and reviewable.

The configuration management approach would...

A.

Duplicate CLAUDE.md and settings.json files in multiple repositories to provide redundancy, on the grounds that a single source of truth is risky for project configuration.

B.

Version-control CLAUDE.md and settings.json files in a separate repository from the project's source code, so configuration evolves independently from the application code over time.

C.

Version-control CLAUDE.md alongside the project's source code and settings.json files in a separate repository from the project's source code.

D.

Version-control CLAUDE.md and settings.json files alongside the project's source code, with changes reviewed through standard pull request workflows the team applies.

Full Access
Question # 15

Your Claude application uses tool calling to fetch patient data and generate summary reports. The flow occasionally fails because the model returns a tool_use block that references arguments not present in the schema, and your application code does not handle this case gracefully.

How would you address this?

A.

Validate the tool_use block's arguments against the tool schema before dispatching the tool and handle invalid arguments as a recognized error path.

B.

Log invalid tool_use blocks when they occur and allow the tool dispatch to proceed, relying on the tool's own error handling to surface failures back to the application.

C.

Retry the same request repeatedly until the model returns a valid tool_use block that matches the schema as expected.

D.

Stop using tool calling entirely and replace tools with prompted text generation that asks the model to describe what it would do.

Full Access
Question # 16

A team has deployed a multi-agent system in which a primary agent decomposes user requests and delegates subtasks to three specialized subagents: one for data retrieval, one for analysis, and one for report generation. In production, the team observes that subagents are making redundant tool calls, occasionally exceeding token budgets, and sometimes producing outputs that contradict each other — all of which the primary agent passes along without catching.

What is the most appropriate way to address these failures?

A.

Add retry logic to each subagent so that when a tool call fails, the subagent retries automatically before escalating — and configure each subagent to log its tool calls and outputs to a shared trace so the team can audit redundancy and contradictions after the fact.

B.

Give each subagent read access to the other subagents' outputs so they can identify and resolve contradictions without routing back through the primary agent.

C.

Strengthen the primary agent's management layer to enforce per-subagent tool budgets, validate outputs against a defined schema before passing them forward, and establish explicit handoff contracts between stages.

D.

Collapse the three subagents into a single large-context model call that handles retrieval, analysis, and generation in one pass.

Full Access
Question # 17

You are designing a Claude application that will process customer support tickets in two stages: a triage stage that classifies tickets and a response stage that drafts replies. The team is debating whether to use a single Claude call that handles both stages or separate Claude calls for each stage.

How would you structure the application?

A.

Use a single Claude call for triage and then use a non-Claude rule-based system for response generation, on the grounds that rule-based systems are more reliable for drafting replies.

B.

Use multiple Claude calls in parallel that each draft a complete ticket reply, then have a fourth Claude call select the best one to send to the customer.

C.

Use separate Claude calls for triage and response, because each stage has distinct inputs, outputs, and success criteria that benefit from focused prompts.

D.

Use a single Claude call for both stages, on the grounds that a single call is cheaper than multiple calls in any production Claude application setup.

Full Access
Question # 18

Your Claude application's prompt was written months ago and has not been updated. The team has discovered through evals that the prompt produces good results on common cases but underperforms on a specific category of inputs that has grown in volume.

How would you respond?

A.

Iterate on the prompt to address the underperforming category, validate the change with evals, and continue refining as needed.

B.

Tell users to avoid the underperforming category by adding warnings in the application's user interface about handled inputs.

C.

Replace the prompt with a new one aligned to the underperforming category, treating any common-case performance change as a known tradeoff.

D.

Add the underperforming category to a separate Claude application with its own prompt so the original prompt does not change.

Full Access
Question # 19

You are reviewing an architectural diagram for a Claude-powered travel-booking system. The diagram shows a top-level component that interprets user requests and three subordinate components that handle flights, hotels, and ground transportation. The top-level component is responsible for routing each request, sequencing the subordinate components, and reconciling their outputs into a final itinerary. The diagram also shows that each subordinate component has its own tool list and own short conversation history that is not shared with the others.

Which architectural pattern does this diagram most closely describe?

A.

A manager and supervisor pattern with isolated context per subagent, where the top-level agent coordinates specialized subagents that each maintain their own conversation history and tool list.

B.

A manager and supervisor pattern with shared context, where the top-level agent and the subagents all share a single conversation history that grows as the request flows through the system.

C.

A pipeline pattern, where each component processes the user request in sequence and passes the full conversation history along with the request to the next component in the pipeline.

D.

A retrieval-augmented pattern, where the top-level component retrieves relevant context from the subordinate components' indexed data stores before generating each response.

Full Access
Question # 20

You are setting up a Claude application that requires API keys for several external services.

What is the best way to store the keys?

A.

Put the keys in the application's configuration file and check the configuration file into the team's repository alongside the rest of the source code.

B.

Store the keys in a secrets manager or environment-specific configuration that is not checked into source code, and load them at runtime.

C.

Use a single shared key across all external services, so any developer working on the application can find the keys easily during development.

D.

Email the keys to each developer as needed and have each developer paste the keys into their local environment when they begin working on the application's code.

Full Access
Question # 21

You are writing a system prompt for a Claude application that needs to produce output in a specific JSON shape. The downstream system will reject any output that does not match the schema.

Your prompt would need to...

A.

Instruct Claude to use whichever output format it considers most appropriate for each request the application handles.

B.

Instruct Claude to return JSON sometimes and free text other times so the application's output captures both formats.

C.

Omit any reference to the format and rely on a post-processing step in the application to reshape Claude's output.

D.

Include explicit constraints describing the required JSON schema and an instruction to produce only output matching that schema.

Full Access
Question # 22

You are designing a Claude application that maintains user sessions across multi-turn conversations. The product team has asked how the application will handle session lifecycle: when sessions should expire, how state is reset, and how the application avoids carrying stale context into new conversations.

How would you design session lifecycle?

A.

Define explicit session expiration rules, state reset triggers, and rules for starting fresh sessions so stale context does not leak into new conversations.

B.

Define a single short session timeout that applies across all conversations and treat the timeout as the application's complete session lifecycle mechanism.

C.

Define explicit session expiration rules but rely on users to start new conversations when they want fresh context, with no automatic reset triggers in the application.

D.

Define state reset triggers tied to specific application events but apply them across all sessions globally, with no per-session expiration rules.

Full Access
Question # 23

A Claude application is producing outputs that drift away from the expected JSON format after several conversation turns. The first few turns produce correctly formatted output, but later turns gradually lose structure.

How would you address the drift?

A.

Identify the failure mode as format drift, examine how the conversation context evolves over turns, and address the drift through context management or output validation.

B.

Truncate every response to the first few characters, validate that the truncated output matches the expected JSON structure, and log any mismatches for review.

C.

Restart the application after every turn and monitor whether the format remains consistent across subsequent interactions.

D.

Switch to a smaller Claude model and re-test the application to determine whether the drift persists across conversation turns.

Full Access
Question # 24

You are integrating Claude into an application written in Python. The Claude SDK provides a Python client that wraps the underlying REST API.

How would you integrate the SDK?

A.

Call the REST API directly with raw HTTP requests so the application avoids the SDK's abstraction between the application code and the API.

B.

Use the Claude Python SDK and let it handle authentication, retries, and response parsing through its standard documented patterns for Python integrations.

C.

Use a different LLM provider's SDK and translate the responses into Claude's API shape so the application can switch providers in the future.

D.

Skip the SDK and embed Claude calls in shell commands invoked from Python, so that the application runs the calls outside the main Python process.

Full Access
Question # 25

You are designing an agent that handles a multi-step research task. You want the agent to break the task into smaller pieces, hand each piece to a focused subagent, and consolidate the results.

The agent pattern you would apply is...

A.

An orchestrator and subagent pattern with specialized subagents assigned to each subtask.

B.

A memory pattern that stores the entire research history in advance, before any subtask begins execution.

C.

A context-window pruning pattern that drops each subtask's content after the agent moves on.

D.

A single tool-use loop that includes every tool the agent might need across all subtasks.

Full Access
Question # 26

A teammate has asked you to explain when a Skill would be the right choice over an MCP server. The teammate is unsure how the two differ in practice when both can be reused across teams.

How would you explain the distinction?

A.

A Skill and an MCP server are equivalent extension mechanisms that the team can use interchangeably for any reusable capability that needs to be accessible across teams.

B.

A Skill is the older mechanism and an MCP server is the newer one, so the team should prefer an MCP server for any reusable capability that the team builds going forward.

C.

A Skill is preferable for cross-team reuse because it loads more efficiently than an MCP server during normal operation in the team's typical multi-team workloads.

D.

A Skill bundles prompts, scripts, and data into a package the model loads as a unit while an MCP server exposes resources, tools, and prompts through a standard client interface.

Full Access
Question # 27

The team is debating whether to integrate with the Claude API directly or through a third-party abstraction layer that supports multiple LLM providers. The team has identified that all current and projected use cases run on Claude, no internal customer has requested LLM portability, and the team's product roadmap does not mention multi-provider support over the next two years. The third-party abstraction would add roughly 15 percent overhead in code complexity and introduce one additional dependency.

Which integration approach would you recommend?

A.

The third-party abstraction layer, on the grounds that multi-provider support is valuable for any application as a matter of long-term flexibility across vendors.

B.

Both integration paths in parallel, where the application uses each path on different runs to compare which performs better in production over time.

C.

A custom multi-provider abstraction layer the team builds in-house so that the team controls every part of the abstraction the application uses for its API calls.

D.

Direct integration with Claude through its SDK, because no multi-provider need exists and abstraction would add complexity that does not pay off.

Full Access
Question # 28

Your Claude agent performs database operations. A recent incident occurred where the agent ran a destructive query that affected production data. The team wants to add deterministic controls to prevent similar incidents.

How would you prevent similar incidents?

A.

Run the agent only during business hours when humans are available to monitor its activity, treating the schedule as the primary control mechanism for destructive operations.

B.

Add Claude hooks that intercept database operations and apply deterministic checks, such as blocking destructive queries or requiring approval, before the queries execute.

C.

Switch to a higher-capability Claude model on the grounds that a more capable model is less likely to run destructive queries during normal operation across all requests.

D.

Add a system prompt instruction telling the agent to be careful with database operations on every request the application handles during normal operation across all incoming traffic.

Full Access