CCDV-F Applications and Integration Practice Test
← All CCDV-F mock tests · Claude Developer course
Practice test for CCDV-F domain D2 Applications and Integration (20% of the exam): 20 questions drawn at random from a bank of 50, 20 minutes, with an explanation for every option. Retake it to get a different set.
What this mock test covers
Questions cover every official v1.1 skill in this domain. Lessons for this domain:
- Anthropic Python SDK Setup: Your First Claude API Call Step by Step
- Claude Messages API Roles: user, assistant and System Prompts
- Claude Streaming in Python: Events, message_stop and Stop Reasons
- Claude Vision, PDFs and the Files API in Python
- Claude API Error Handling: 429, 529, Timeouts, Retries and Fallback
- Claude Async Python: Concurrent Requests with AsyncAnthropic
- Claude Message Batches API in Python: 50% Cheaper Bulk Jobs
Sample questions with answers
These sample items show the style of the questions. They are original practice items written against the official CCDV-F v1.1 skills.
1. Which statement about the Message Batches API is correct?
- A batch request cannot set stream, and most batches finish within an hour with a 24-hour maximum
- Batches are billed at 10% of standard prices
- Results are kept for 7 days
- Each batch is limited to 100 requests
Answer: A batch request cannot set stream, and most batches finish within an hour with a 24-hour maximum. Batches are asynchronous; streaming is not supported.
2. A team creates a batch and its script polls every second for hours. What is a better design?
- Store the batch ID and check it from a scheduled job at a gentle interval
- Recreate the batch every minute
- Use streaming instead
- Delete the batch and use real-time calls
Answer: Store the batch ID and check it from a scheduled job at a gentle interval. Polling constantly wastes resources and fragile processes.
3. A tool loop sends each tool_result as a separate user message after a turn with three tool_use blocks. What is wrong?
- All tool_result blocks for one turn must be returned together in a single user message
- tool_result must be sent as assistant messages
- Only the first tool's result is needed
- Results must be sent in the system prompt
Answer: All tool_result blocks for one turn must be returned together in a single user message. Splitting them breaks the expected structure and discourages parallel calls.
4. A tool loop rebuilds each assistant turn from text only before appending it to history. What breaks?
- tool_use and thinking blocks are lost, so tool results no longer match and context is lost
- Nothing; only text matters
- Costs go up by 50%
- The API switches to streaming
Answer: tool_use and thinking blocks are lost, so tool results no longer match and context is lost. Append the full response.content.
5. Which feature lets a long-running multi-turn integration send only new messages while the API keeps earlier turns for a short time?
- Message threads (beta)
- Message Batches
- Prompt caching alone
- The Files API
Answer: Message threads (beta). The SDK's Tool Runner in anthropic 2.13 uses them automatically.
6. Which two statements about the vision input are correct? (Choose TWO.)
- Images can be sent as base64 data or by URL in an image block
- Placing the image before the question in the content list is recommended
- Images must be sent in the system prompt
- Only PNG files are accepted
Answer: Images can be sent as base64 data or by URL in an image block and Placing the image before the question in the content list is recommended. Both source types exist. Media before the question is the common pattern.
Frequently asked questions
How many questions are in the D2 practice test?
Each attempt draws 20 questions at random from a bank of 50 original questions.
Is this the real exam content?
No. All questions are original practice items written against the official v1.1 skills.
When should I take this test?
After finishing the lessons for this domain, and again in your final revision week.
How do I improve my score?
Read the explanation for every option, revise the linked lessons, then retake the test for a new set of questions.
Independent study material by SQA Tools. Not affiliated with, endorsed by or sponsored by Anthropic. Claude is a trademark of Anthropic. All questions are original practice items, not real exam content; the practice pass mark is not the official cut-off.