Question 140
CCA-F is a newly released exam. These practice questions reflect our best current understanding — the exact wording and question formats may change in the live exam until the certification matures. Use them to learn the concepts, not to memorize.
Scenario: Developer Productivity Tools - You ask Claude Code to rename a local variable, but the `Edit` call fails because the target text appears three times in the file and the match is not unique. What is the recommended fallback?
- ARetry the same `Edit` repeatedly until it eventually succeeds.
- BDelete the file and recreate it from memory with the rename applied.
- CSwitch to `Bash` and use `sed` to force the replacement.
- DUse `Read` to load the full file, modify the content programmatically, then `Write` the updated version.