
Answer-first summary for fast verification
Answer: Set a Resource Location Restriction organization policy to ensure all topics are stored only in acceptable regions.
The correct action is to implement a Resource Location Restriction organization policy to restrict all topics to acceptable regions within the European Union. This is because topics, not buckets, are responsible for storing messages in Cloud Pub/Sub. Additionally, Cloud Pub/Sub is a globally managed service that does not require endpoint configuration by its users. For more details, refer to [Google Cloud's documentation](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A European health care company utilizes Cloud Pub/Sub within their data processing pipeline. The CTO has raised concerns about data potentially being written outside the European Union, which would contravene GDPR regulations. What measure would you advise to guarantee that data remains within Google Cloud regions located in the European Union?
A
Only define Cloud Pub/Sub endpoints in acceptable regions when creating subscriptions.
B
Set a Resource Location Restriction organization policy to ensure all topics are stored only in acceptable regions.
C
Only define Cloud Pub/Sub endpoints in acceptable regions when creating topics.
D
Set a Resource Location Restriction organization policy to ensure all buckets are stored only in acceptable regions.
No comments yet.