Anthropic CCDV-F - Claude Certified Developer - Foundations Exam

Question #6 (Topic: Exam A)
You are designing a Claude application that will require structured JSON output for downstream processing. The output schema is well-defined, and downstream systems will reject malformed JSON. Your application design would ...
A. avoid structured output and use free-form text everywhere instead, on the grounds that free-form text is more flexible and handles edge cases better than structured schemas. B. structure the prompt to request output in a schema that is described in plain English, with downstream systems parsing whatever shape Claude produces. C. define a clear schema and structure the prompt to request output in that schema, with downstream systems handling any validation needed. D. define a clear schema, structure the prompt to request output in that schema, and validate Claude’s output against the schema before passing it downstream.
Answer: D
Question #7 (Topic: Exam A)
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. Train a custom model on the edge-case examples and deploy that custom model in place of the team’s current Claude integration. C. Add the labeled edge-case examples to the prompt as few-shot examples so the model can learn the pattern. D. Tell users to avoid submitting the edge-case inputs to the application by adding warnings in the application’s user interface.
Answer: C
Question #8 (Topic: Exam A)
The team is debating whether to build a new capability as a custom tool or to use an existing built-in tool that nearly covers the use case but lacks one specific feature. How would you decide?
A. Review the built-in tool’s documentation and assess whether its existing capabilities are sufficient to cover the use case without any modification or extension. B. Identify whether the team has previously built similar custom tools and use those precedents to determine which approach is more consistent with the existing codebase. C. Examine the custom tool option by scoping the implementation effort and determining whether the additional flexibility justifies the development and maintenance cost. D. Evaluate whether the missing feature can be addressed by extending the built-in tool or warrants a custom tool, then choose accordingly.
Answer: D
Question #9 (Topic: Exam A)
Your Claude agent’s hooks are currently triggered for every action, which slows down the agent significantly even when actions pose no risk. The team wants to scope hooks more carefully. How would you scope the hooks?
A. Replace hooks with system prompt instructions on the grounds that prompt instructions can produce the same enforcement effect that hooks produce on the agent’s actions. B. Scope hooks to only the high-risk actions, such as destructive operations or sensitive data access, and remove hooks from low-risk actions to balance safety with performance. C. Disable all hooks while the team re-scopes them, treating the period of no hook enforcement as a temporary state during the re-scoping work. D. Disable the agent during peak hours so the hook overhead does not slow the application down during the busiest periods of the day across the application’s operation.
Answer: B
Question #10 (Topic: Exam A)
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. Disable Claude Code’s confirmation prompts globally across all environments so the pipeline runs without interruption from any prompt. B. Run Claude Code in headless mode with the required permissions configured in settings.json and capture its output for downstream processing. C. Replace Claude Code with a different tool that does not require any configuration to operate without confirmation prompts in the pipeline. D. Run Claude Code in interactive mode and have a developer manually approve every confirmation prompt while the pipeline executes its tasks.
Answer: B
Download Exam
Page: 2 / 11
Total 53 questions