Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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