CertKeen

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?

  1. A.Message ordering with EU-based ordering keys
  2. B.A subscription filter on a region attribute
  3. C.A dead-letter topic created in an EU region
  4. 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