
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
NO.25 Your organization has two Google Cloud projects, project A and project B. In project A, you have a Pub/Sub topic that receives data from confidential sources. Only the resources in project A should be able to access the data in that topic. You want to ensure that project B and any future project cannot access data in the project A topic. What should you do?
A
Configure VPC Service Controls in the organization with a perimeter around the VPC of project A.
B
Add firewall rules in project A so only traffic from the VPC in project A is permitted.
C
Configure VPC Service Controls in the organization with a perimeter around project A.
D
Use Identity and Access Management conditions to ensure that only users and service accounts in project A can access resources in project.
Explanation:
Explanation:
Option D is the correct solution using IAM conditions:
Why IAM Conditions are the right approach:
Why other options don't work:
IAM Implementation:
resourcemanager.projects.id attribute