Question 31
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: Code Generation with Claude Code - You asked Claude Code to implement a function that transforms API responses into an internal normalized format. After two iterations, the output structure still doesn’t match expectations—some fields are nested differently and timestamps are formatted incorrectly. You described requirements in prose, but Claude interprets them differently each time. Which approach is most effective for the next iteration?
- AWrite a JSON schema describing the expected output structure and validate Claude’s output against it after each iteration.
- BProvide 2–3 concrete input-output examples showing the expected transformation for representative API responses.
- CRewrite requirements with more technical precision, specifying exact field mappings, nesting rules, and timestamp format strings.
- DAsk Claude to explain its current understanding of the requirements to identify where interpretations diverge.