Courseiva
Claude API Mechanics →mediumMultiple Choice

CCDV-F Claude API Mechanics Practice Question

A developer is streaming a response from the Anthropic Messages API using server-sent events and wants to assemble the final text on the client. They observe that each event delivers a small fragment of the answer. Which event type carries the incremental text delta that must be concatenated to reconstruct the full completion?

⚠ Common exam trap

The trap here is assuming the first event of a stream (message_start) or the block boundary events already contain the answer text, when only the delta events carry incremental output.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

content_block_delta

Streaming responses arrive as a sequence of typed server-sent events, and the actual generated text is delivered piecewise inside content_block_delta events. A client must concatenate those deltas in order and treat message_start, content_block_stop, message_delta, and message_stop as structural markers rather than content.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    content_block_stop

    Why it's wrong here

    content_block_stop marks the end of a single content block, for example when a text block or tool_use block finishes. It is a boundary signal, not a payload of text, so a client that appends its contents would contribute nothing to the reconstructed answer and would mis-handle block boundaries.

  • ✗

    message_start

    Why it's wrong here

    message_start is emitted once at the very beginning of a streamed response and contains the message envelope, such as the id, role, and initial usage counts. It carries no incremental text, so treating it as the source of answer fragments would leave the client with only metadata and no assembled completion.

  • ✓

    content_block_delta

    Why this is correct

    With streaming enabled, Claude emits content_block_delta events whose delta object holds the incremental text (for example a text_delta with a partial string). Concatenating these fragments in arrival order reproduces the complete message, and the final message_delta and message_stop events signal the end of the stream.

  • ✗

    ping

    Why it's wrong here

    ping events are keep-alive heartbeats sent to prevent idle connections from timing out during longer streams. They contain no model output, so concatenating them would not advance the answer and a client relying on them would never reconstruct the completion text.

About these practice questions

Courseiva writes every CCDV-F question from scratch — 257 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Anthropic exam blueprint

This CCDV-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCDV-F exam.