An enterprise is using a shared VPC architecture. They want to ensure that 'Service Project A' can only communicate with 'Service Project B' over the network and that no other projects in the organization can connect. How should they implement this using the principle of least privilege?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Use VPC Firewall rules in the Host Project, targeting specific Service Account identities from Project A and Project B

In a Shared VPC, firewalls are managed in the Host Project. Using Service Account identities as source/target filters in firewall rules is the most secure and scalable way to enfor...

๐Ÿ“‹Part of Professional Cloud Architect ยท GCP Certification Practice
Real Exam ScenarioVirtual Private Cloud (VPC)

An enterprise is using a shared VPC architecture. They want to ensure that 'Service Project A' can only communicate with 'Service Project B' over the network and that no other projects in the organization can connect. How should they implement this using the principle of least privilege?

โœ“ Correct Answer & ExplanationVirtual Private Cloud (VPC)

Correct Answer

Use VPC Firewall rules in the Host Project, targeting specific Service Account identities from Project A and Project B

Why This Answer Is Correct

In a Shared VPC, firewalls are managed in the Host Project. Using Service Account identities as source/target filters in firewall rules is the most secure and scalable way to enforce cross-project network isolation.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Virtual Private Cloud (VPC) โ€” a core concept tested in Professional Cloud Architect. Understanding Virtual Private Cloud (VPC) is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.