Google Cloud Professional Data Engineer · Free practice question 12 of 12
Pub/Sub message storage policy regions
A regulation requires that messages published by Aldridge Health to a Pub/Sub topic are stored only in European Union regions, even when publishers connect from elsewhere. What should the data engineer configure?
- A.Message ordering with EU-based ordering keys
- B.A subscription filter on a region attribute
- C.A dead-letter topic created in an EU region
- D.A message storage policy on the topic that allows only EU regions
Show answer and explanation
Correct answer: D. A message storage policy on the topic that allows only EU regions
Why: A topic's message storage policy lists the regions where Pub/Sub may persist messages, and it can also be enforced through the resource locations organization policy. Ordering keys control delivery order, not storage location. Filters decide which messages a subscription delivers, and a dead-letter topic only receives failed messages.
More free Google Cloud Professional Data Engineer questions
- Sliding windows for moving averages
- Turbo replication on dual-region buckets
- Assured Workloads for sovereign controls
- Data Validation Tool after migration
- Pub/Sub Cloud Storage subscription archive
- Bigtable garbage collection by age
- Search indexes for log lookups
- Data Studio viewer's credentials
- Integer-range partitioning on an ID
- Approximate distinct counts for dashboards
- Scheduled queries for a single SQL job