Black Friday Reward - Upto 80% off - Ends in 0d 00h 00m 00s - Coupon code: VIP80

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 29 Topic 3 Discussion

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 29 Topic 3 Discussion

CCAR-F Exam Topic 3 Question 29 Discussion:
Question #: 29
Topic #: 3

You are building a structured data extraction system using Claude. The system extracts information from unstructured documents, validates the output using JSON schemas, and maintains high accuracy. It must handle edge cases gracefully and integrate with downstream systems.

Your extraction uses tool use with a JSON schema in which property_type is defined as an enum: house, apartment, condo, or townhouse. After deployment, 8% of extractions fail schema validation. Investigation reveals that listings mention many uncommon property types—“studio,” “loft,” “duplex,” “mobile home,” “tiny house,” and “converted warehouse”—and new types continue appearing regularly.

What is the most effective long-term solution?


A.

Change property_type from an enum to a free-form string and implement a normalization step in post-processing.


B.

Add few-shot examples demonstrating how to map unexpected property types to the closest existing enum value.


C.

Continuously expand the enum to include newly observed property types and add monitoring for additional edge cases.


D.

Add an other value to the enum with a separate property_type_detail string field for specifics when other is selected.


Get Premium CCAR-F Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.