FEFreeExamDumps.in

Claude Certified Architect

Topic 8

Question 103

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 - Your extraction service intermittently returns malformed JSON—missing braces and trailing commas—breaking the downstream parser. What is the most reliable way to eliminate these syntax errors?

  • AUse `tool_use` with a JSON Schema so output is guaranteed to be syntactically valid and schema-conformant.
  • BAsk the model in the prompt to "output valid JSON only."
  • CPost-process the text with a regex that fixes braces and commas.
  • DLower temperature to 0 to avoid formatting mistakes.