Exam CCDV-F Topic 1 Question 2 Discussion

Actual exam question for Anthropic's CCDV-F exam
Question #: 2
Topic #: 1
Your Claude application's error handling currently logs every API error with the same severity level. The team wants to differentiate between errors that should page an on-call engineer and errors that should be logged for later review. How would you structure the error handling?

Suggested Answer: C Vote an answer

Option C is correct because operational error handling should distinguish failures by impact, urgency, and recoverability. Anthropic's API documentation already separates error conditions by type and documents different recovery behaviors. For example, transient connection failures, rate limits, and many 5xx errors are automatically retried by official SDKs with exponential backoff, while other failures require application correction or investigation. Treating all of those conditions as the same operational severity creates either alert fatigue or missed incidents.
A production design should classify errors using criteria such as user impact, data integrity risk, security exposure, persistence after retry, affected request volume, and whether automatic recovery succeeds. High- severity failures that threaten service availability or correctness can page the on-call engineer. Recoverable or isolated failures can be logged with structured metadata, request IDs, and metrics for later review.
Option A pages on everything and quickly makes alerts noisy. Option B destroys observability for non-paging errors. Option D preserves the original defect by assigning the same severity to every condition. Therefore, C follows sound Claude application operations. Relevant Study Guide topics: API errors, retries, observability, incident response, severity classification, structured logging, and production operations.

by Benjamin at Sep 02, 2026, 10:03 PM

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.

0
0
0
10