Skip to content

Prompt Engineering & Structured Output Questions

Practice questions for Prompt Engineering & Structured Output topic in Claude Certified Architect – Foundations. 38 questions covering this domain.

38 questions8 easy21 medium9 hard
Q1
medium

A `tool_use` JSON schema requires an `age` field as an integer. Can Claude return semantically implausible values like `250` or `-3` for this field?

Q2
hard

A developer instructs Claude in the system prompt to "always return valid JSON with the following fields." At a volume of 10,000 requests per day, the...

Q3
hard

An enterprise compliance team needs to review 50,000 legal document summaries every night and have results ready by 8 AM. Each document is independent...

Q4
medium

A customer support ticket classification schema has an enum field `priority` with values `"low"`, `"medium"`, and `"high"`. Support tickets sometimes ...

Q5
medium

Which type of workflow is explicitly NOT supported by the Claude Batch API?

Q6
hard

An e-commerce platform generates personalized product recommendation emails for users immediately after they complete a purchase. The engineering team...

Q7
medium

What cost advantage does the Claude Batch API provide compared to real-time API calls?

Q8
easy

A system prompt tells Claude to "write a good summary of each document." According to CCA-F prompt engineering principles, what is the primary problem...

Q9
medium

A critical AI-generated financial report is reviewed for accuracy by the same Claude instance that generated it before being sent to executives. Why i...

Q10
easy

For few-shot prompting in production Claude applications, what is the recommended number of examples to include for optimal results?

Q11
medium

When selecting few-shot examples for a structured extraction prompt, what is a key principle for choosing which examples to include?

Q12
medium

When a validation retry loop detects that Claude's output fails semantic validation, what should the retry prompt include to maximize correction effec...

Q13
medium

A schema field `document_type` uses an enum with values `"contract"`, `"invoice"`, `"receipt"`. During extraction from mixed business documents, some ...

Q14
easy

What is few-shot prompting in the context of Claude applications?

Q15
medium

When should a multi-instance review pattern be applied in Claude-based production systems?

Q16
medium

What latency guarantee does the Batch API provide for submitted requests?

Q17
easy

When `tool_use` is used with a JSON schema, what does it guarantee about Claude's output?

Q18
hard

A team is building a document processing pipeline for 200,000 customer feedback forms to extract themes and sentiment. Processing must complete within...

Q19
hard

A production pipeline uses `tool_use` with a JSON schema to extract contract data. Despite the schema, on 2% of contracts the pipeline produces struct...

Q20
medium

A system prompt says: "Summarize the contract to help the legal team review it quickly." According to CCA-F prompt engineering principles, what change...

Sign in to see all 38 questions

Create a free account to browse all questions — completely free during our launch phase.