Exam CCDV-F Topic 1 Question 74 Discussion

Actual exam question for Anthropic's CCDV-F exam
Question #: 74
Topic #: 1
A teammate has submitted a pull request that adds a Claude-powered feature to your service. The code works, but the prompt and model selection are hard-coded inline, error handling is missing, and there are no tests for the integration.
What would you request during code review?

Suggested Answer: D Vote an answer

D is the only option that addresses all three identified production-readiness defects. The supplied Claude Developer item explicitly selects D. A functioning happy path is insufficient for a maintainable Claude integration.
Prompt and model selection are configuration concerns that will change as prompts are evaluated, model versions evolve, or environments require different behavior. They should therefore be separated from unrelated business logic rather than scattered as inline constants. Claude API failures must also be handled deliberately. Anthropic documents typed SDK exceptions and defined HTTP error categories, including invalid requests, authentication failures, rate limits, server errors, overload, and timeouts. The official SDKs additionally retry appropriate transient failures.
Tests are required to verify the integration boundary, including successful behavior, malformed or unexpected responses, API error handling, and critical user workflows. Approving code without those controls pushes known reliability debt directly into production.
A and B knowingly merge incomplete production behavior. C improves configuration and test coverage but leaves a known API-failure path unhandled.
Relevant Claude Developer topics: SW Eng Foundations, code review, separation of configuration, error handling, integration testing, API resilience, maintainability, and production readiness .

by Hugh at Nov 29, 2026, 06:38 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어