D2: Version Control, Code Review, SDLC & Refactoring
Claude Certified Developer – Foundations exam practice questions · 10 flashcards
Question
Why keep prompts in version control?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Version Control, Code Review, SDLC & Refactoring practice questions and answers
- Why keep prompts in version control?Prompts are code: track changes, review them and roll back.
- What is a pull request review for LLM features?Peer review of code and prompt changes, ideally with eval results attached.
- How does Claude fit into SDLC?Generating code, tests and docs, reviewing PRs, and automating tasks in CI.
- Why integrate evals into CI?Prompt or model changes are tested automatically before merge.
- Can Claude-written code skip review?No. Treat it like any contributor's code: review, test and scan.
- Small-scale vs large-scale refactoring?Small: localized changes (rename, extract function). Large: cross-cutting changes across many files or architecture.
- How should a large refactor with Claude be approached?Plan first, split into incremental steps, run tests after each, commit often.
- Why have tests before refactoring?They confirm behavior is unchanged after the refactor.
- What is a good commit practice with AI-assisted changes?Small, focused commits with clear messages so changes are reviewable and revertible.
- Why use feature branches?Isolate work until reviewed and tested before merging to main.