Question 106
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: Prompt Engineering and Structured Output - A ticket classifier uses an enum `["bug", "feature", "docs"]`. Real tickets sometimes don't fit any category, and the model is forced to pick a wrong one, losing information. How should the enum be extended?
- AAdd `"other"` (with a detail string) and `"unclear"` so out-of-scope or ambiguous items are captured honestly.
- BAdd 20 more specific categories to cover every possibility.
- CRemove the enum constraint and accept any free-text label.
- DForce the model to always pick the closest of the three categories.