Anthropic certification · Exam CCDV-F

CCDV-F Mock Exam

Claude Certified Developer-Foundations

Free CCDV-F questions on SW Eng Foundations, each with the answer and an explanation.

20 questions · 46 minutes · free, no sign-up

SW Eng Foundations questions

1–1 of 1 free
Question 1 Choose 1
The Claude application your team built has grown over six months, and the prompt-handling code has accumulated duplication and tangled control flow. The functionality is working, but new features are getting harder to add. How would you address this?
Show answerHide answer

Correct answer: A Plan a refactoring pass to consolidate duplicated logic, separate concerns, and simplify control flow before adding new features.

Explanation

Explanation

This is textbook technical debt blocking new work: the code functions, but duplication and tangled control flow make features increasingly hard to add. The recognized remedy is a planned refactoring pass that consolidates duplicated logic, separates concerns, and simplifies control flow. Because the problem is now actively slowing feature delivery, addressing it before piling on more features prevents the debt from compounding and keeps the new features from being built on an unstable base.

A planned, scoped refactor is also safer than ad hoc cleanup: it can be defined, tested (behavior-preserving), reviewed, and validated in one deliberate effort — which is exactly how you refactor safely without changing functionality.

Why the other options are incorrect

- B — "Refactor in small increments as a side effect of each feature ticket": Incremental refactoring can be legitimate, but folding cleanup into feature work tangles two goals: it makes feature changes harder to review, risks scope creep, and doesn't systematically address the duplication and tangled control flow that spans the codebase.

- C — "Keep adding features; refactor after the next two release cycles": Defers the debt while continuing to build on the tangled base — the cost grows, the refactor gets harder, and the "when we have bandwidth" condition rarely arrives. This is how technical debt compounds.

- D — "Move everything into one large function": The opposite of good structure — it worsens coupling and readability, making the code harder to navigate and change, not easier.

References

- Refactoring and technical-debt management best practice — planned, behavior-preserving refactors to reduce duplication and separate concerns.

That's the last free question in SW Eng Foundations

You've seen the free 30% (1 of 6 questions). Full access unlocks every question and full-length CCDV-F mock exams (53 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CCDV-F exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CCDV-F exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CCDV-F mock exam
  • 53questions per mock
  • 120 mintime limit
  • 95questions in the bank
  • Newmock on every attempt