Skip to content
PCA Practice
SQ79

A fintech application must process exactly-once semantics for financial transactions in an event-driven system. What is the most practical approach on Google Cloud?

  1. AUse Memorystore as the primary transaction database
  2. BCall services synchronously with no retries
  3. CUse Pub/Sub with idempotent consumers that deduplicate on a unique transaction ID
  4. DDisable retries to avoid duplicates
Show answer

Answer: C

True exactly-once is achieved in distributed systems by combining at-least-once delivery (Pub/Sub) with idempotent consumer logic that deduplicates using a unique key. Disabling retries trades correctness for data loss.

← SQ78Practice this topicSQ80 →