Flashcardsfor IT Certifications

Built-in Tools: Read, Write, Edit, Bash, Grep, Glob

Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards

Question
Grep vs Glob?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Built-in Tools: Read, Write, Edit, Bash, Grep, Glob practice questions and answers
  1. Grep vs Glob?
    Grep searches file contents; Glob finds files by name/path pattern.
  2. When should you use Grep?
    To find function callers, error messages or import statements across files.
  3. When should you use Glob?
    To find files by pattern, e.g. **/*.test.tsx.
  4. What does Edit require?
    A unique text match to replace in the file.
  5. Edit fails because the anchor text isn't unique. Fallback?
    Read the full file, then Write the updated version.
  6. When should Read + Write be used instead of Edit?
    When targeted edits aren't reliable or the change is extensive.
  7. How should an agent explore an unfamiliar codebase?
    Incrementally: Grep for entry points, then Read to follow imports and trace flows.
  8. Why not read every file upfront?
    It floods context; targeted searches are more efficient.
  9. How do you trace a function's usage across wrappers?
    Find exported names first, then Grep for each name across the codebase.
  10. What is Bash used for?
    Running commands like tests, builds, git and scripts.