Month End Certification Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Pass the Anthropic Claude Certified Developer CCDV-F Questions and answers with CertsForce

Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions
Questions # 21:

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?

Options:

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.


Expert Solution
Questions # 22:

A Claude application that worked well in testing is now occasionally returning outputs that mention information not present in the input. The development team initially assumed the model was hallucinating, so they asked you to troubleshoot.

What would you do first?

Options:

A.

Examine production traces to identify whether the issue is hallucination by the model, context loss, prompt injection, or another failure mode before recommending a fix.


B.

Replace the current model with a larger one to reduce the chance of hallucination, on the grounds that larger models tend to hallucinate less in typical applications.


C.

Apply a retrieval-augmented generation pattern to ground the responses in source content before any further investigation of the production traces.


D.

Add a system prompt instruction telling the model not to invent information, on the grounds that prompt-level instructions are the fastest fix for hallucination concerns.


Expert Solution
Questions # 23:

A teammate has asked how the Claude SDK handles transient API errors, such as a temporary network issue or a brief rate-limit response. They want to know whether the application code needs to handle every transient error or whether the SDK provides any default behavior.

How would you describe the SDK's default behavior?

Options:

A.

The SDK provides default retry behavior for transient errors up to a fixed number of attempts, and this behavior is not configurable.


B.

The SDK provides default retry behavior for network errors but surfaces rate-limit responses directly to the application code, which must implement its own retry logic for those cases.


C.

The SDK logs transient errors to a default error stream and continues execution without retrying, leaving the application code responsible for detecting and responding to failed calls.


D.

The SDK provides default retry behavior for many transient errors, and the application code can configure or extend that behavior as needed.


Expert Solution
Questions # 24:

You are establishing the guardrail strategy for a Claude application. The team wants to ensure guardrail failure does not expose the application to unsafe behavior.

The guardrail strategy would...

Options:

A.

Layer multiple guardrails so a single guardrail failure does not expose the application to unsafe behavior.


B.

Apply guardrails at the application output level only and route flagged responses to a human reviewer before they are delivered to the user.


C.

Implement a single comprehensive system prompt guardrail and validate its coverage against the application's full range of expected inputs.


D.

Apply guardrails at the model level only and rely on the model's built-in safety behaviors to handle any cases the guardrail does not explicitly cover.


Expert Solution
Questions # 25:

You are designing a Claude application that processes user-submitted text. Some of that text could include sensitive information such as account numbers or passwords that the application should not send to Claude.

How would you design the application?

Options:

A.

Define the application boundary explicitly, identify what content can leave the boundary for Claude, and add filtering or redaction at the boundary.


B.

Add a prompt instruction in the system prompt specifying the categories of sensitive information Claude should disregard when processing user-submitted text.


C.

Log all user-submitted text before it is sent to Claude and review the logs periodically to identify whether sensitive information is reaching the model.


D.

Apply filtering at the boundary for the most commonly observed sensitive data patterns and expand coverage to additional patterns based on findings from production monitoring.


Expert Solution
Questions # 26:

Your Claude application is deployed to development, staging, and production environments. Each environment uses a different model version, different prompt versions, and different plugin dependencies, but the configuration is currently scattered across environment variables, hardcoded values, and undocumented setup scripts.

How would you manage the configuration?

Options:

A.

Use the latest available model version everywhere and stop pinning model versions, on the grounds that pinning adds maintenance overhead the team should aim to reduce.


B.

Move all configuration into hardcoded application code to reduce reliance on external configuration sources that are difficult to track over time.


C.

Consolidate the configuration into a version-controlled system documenting model version pinning, prompt versioning, and plugin dependencies for each environment.


D.

Standardize all environments to use the same configuration values to eliminate the differences between development, staging, and production.


Expert Solution
Questions # 27:

Your Claude application receives untrusted input from external sources. The team is establishing how the application should treat this untrusted input.

Untrusted input would be...

Options:

A.

Validated and sanitized before being incorporated into prompts, and treated as data the model should not interpret as instructions.


B.

Treated identically to trusted input from internal sources, on the grounds that all input the application receives can be handled the same way.


C.

Routed through a separate Claude application with more lax security controls so the original application does not handle the untrusted input directly.


D.

Blocked entirely so the application accepts only trusted input, with no path for legitimate external input the application might process.


Expert Solution
Questions # 28:

Your team uses Claude Code across multiple repositories. You want the team's rules and general coding standards to apply to all repositories, and other rules to apply only to specific repositories. The team is currently duplicating instructions across every repository's CLAUDE.md file.

How would you address this?

Options:

A.

Move all instructions to a separate documentation site that developers consult during Claude Code sessions across all repositories.


B.

Use a CLAUDE.md hierarchy that scopes general standards broadly and project-specific context within each repository's local CLAUDE.md.


C.

Stop using CLAUDE.md altogether and ask each developer to configure Claude Code manually for each project they work on.


D.

Use a single repository's CLAUDE.md as the central source of truth and link to it from every other repository's CLAUDE.md file.


Expert Solution
Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions