Exam CCDV-F Topic 1 Question 86 Discussion

Actual exam question for Anthropic's CCDV-F exam
Question #: 86
Topic #: 1
You are building a Claude application that needs to maintain a persistent connection to a service that streams real-time updates. The team is unsure what communication pattern to use.
Which communication pattern would you use?

Suggested Answer: B Vote an answer

Option B is the appropriate software-engineering communication pattern when the application requires a persistent, low-latency, bidirectional channel. WebSockets establish a connection using an HTTP Upgrade handshake and then maintain a TCP-based communication channel in which either side can send messages independently. This eliminates the repeated connection setup and request overhead associated with conventional polling.
RFC 6455 defines WebSocket specifically as a protocol enabling two-way communication and explains that it provides a single TCP connection as an alternative to HTTP polling for interactive communication.
Option A can work for infrequent updates, but repeatedly opening HTTP requests adds latency, headers, and server/client overhead and is unsuitable when continuous real-time communication is the stated requirement.
C resembles long polling or an ad-hoc streaming connection but lacks the standardized framing, lifecycle behavior, and interoperability provided by WebSocket. D introduces filesystem polling and is not an appropriate network-streaming architecture.
The important certification principle is selecting a communication mechanism based on application requirements rather than merely choosing an available protocol. For persistent two-way streaming, WebSocket provides the intended abstraction. Relevant Claude Developer topics are software engineering foundations, client-server communication, persistent connections, HTTP versus WebSocket patterns, streaming, and real-time application architecture.

by Michaelia at Sep 11, 2026, 09:58 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10