Architecture Design and Implementation Built for the Cloud

An API Gateway WebSocket application publishes ordered account updates, but clients can disconnect after a successful backend send without processing the message. Which design elements let reconnecting clients recover missed updates and apply each update once? (Choose three.)

Choose 3 answers

Show the answer

Correct answersC. Replay retained updates after the client's last acknowledged sequence number when it reconnects.D. Have clients acknowledge applied sequence numbers and discard already-applied updates.E. Store account updates durably with monotonically increasing per-account sequence numbers.

AWhy not this: TTL only expires records; an old connection ID does not redirect messages to a replacement connection.

BWhy not this: SQS deduplication does not track whether a WebSocket client processed a message or suppress duplicates during client replay.

CWhy this is right: Replay restores updates missed during disconnection or lost before acknowledgment.

DWhy this is right: Acknowledgments track processing progress, and duplicate suppression prevents replayed updates from being applied again.

EWhy this is right: Durable ordered history provides the updates and positions needed to recover gaps after disconnection.

FWhy not this: A successful send does not confirm application-level processing by the client.

Durable sequenced history, client acknowledgments with duplicate suppression, and replay support recovery across connection loss. A successful Management API send does not prove that the client processed the message.