Project A hosts a Pub/Sub topic with confidential data that only resources in project A should access. Prevent project B and any future projects from accessing that topic. What do you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure VPC Service Controls in the organization with a perimeter around project A..
Why this is the answer
VPC Service Controls create a security perimeter around resources, like Pub/Sub topics, to prevent data exfiltration. By creating a perimeter around Project A, you ensure that only resources within Project A can access its confidential Pub/Sub topic, effectively blocking access from Project B and any future projects. Adding firewall rules is ineffective for Pub/Sub as it operates at the application layer, not the network layer. IAM conditions restrict who can access resources but don't prevent data exfiltration to unauthorized projects. Configuring a perimeter around Project A's VPC rather than Project A itself is too narrow; VPC Service Controls perimeters are designed to encompass entire projects or sets of projects, protecting all supported services within them.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed