Prompt Engineering & Structured Output Questions
Practice questions for Prompt Engineering & Structured Output topic in Claude Certified Architect – Foundations. 38 questions covering this domain.
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?
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...
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...
A customer support ticket classification schema has an enum field `priority` with values `"low"`, `"medium"`, and `"high"`. Support tickets sometimes ...
Which type of workflow is explicitly NOT supported by the Claude Batch API?
An e-commerce platform generates personalized product recommendation emails for users immediately after they complete a purchase. The engineering team...
What cost advantage does the Claude Batch API provide compared to real-time API calls?
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...
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...
For few-shot prompting in production Claude applications, what is the recommended number of examples to include for optimal results?
When selecting few-shot examples for a structured extraction prompt, what is a key principle for choosing which examples to include?
When a validation retry loop detects that Claude's output fails semantic validation, what should the retry prompt include to maximize correction effec...
A schema field `document_type` uses an enum with values `"contract"`, `"invoice"`, `"receipt"`. During extraction from mixed business documents, some ...
What is few-shot prompting in the context of Claude applications?
When should a multi-instance review pattern be applied in Claude-based production systems?
What latency guarantee does the Batch API provide for submitted requests?
When `tool_use` is used with a JSON schema, what does it guarantee about Claude's output?
A team is building a document processing pipeline for 200,000 customer feedback forms to extract themes and sentiment. Processing must complete within...
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...
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.