Shared VPC Architecture Design | Google PCNE Exam | Answer and Best Practices

Shared VPC Architecture Design

Question

You are designing a shared VPC architecture.

Your network and security team has strict controls over which routes are exposed between departments.

Your Production and Staging departments can communicate with each other, but only via specific networks.

You want to follow Google-recommended practices.

How should you design this topology?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

https://cloud.google.com/vpc/docs/shared-vpc

The recommended approach for designing a shared VPC architecture with strict controls over routes and access between departments depends on the specific requirements of the organization. However, one possible solution based on the options provided is:

Option A: Create 2 shared VPCs within the shared VPC Host Project, and enable VPC peering between them. Use firewall rules to filter access between the specific networks.

This approach allows for the segregation of the Production and Staging departments into separate shared VPCs within the same host project. The VPC peering connection between them provides the necessary connectivity while ensuring that only specific networks can communicate with each other. The firewall rules can be used to restrict access between the specific networks, providing additional security and control.

Option B: Create 2 shared VPCs within the shared VPC Host Project, and create a Cloud VPN/Cloud Router between them. Use Flexible Route Advertisement (FRA) to filter access between the specific networks.

This option involves creating a VPN connection between the Production and Staging shared VPCs using Cloud VPN/Cloud Router. Flexible Route Advertisement (FRA) can be used to filter access between the specific networks. However, this approach adds additional complexity and overhead compared to Option A, and may not be necessary for the specific requirements outlined in the question.

Option C: Create 2 shared VPCs within the shared VPC Service Project, and create a Cloud VPN/Cloud Router between them. Use Flexible Route Advertisement (FRA) to filter access between the specific networks.

This option is similar to Option B but involves creating the shared VPCs within a separate Service Project. While this approach can provide additional isolation and control, it also adds additional complexity and may not be necessary for the specific requirements outlined in the question.

Option D: Create 1 VPC within the shared VPC Host Project, and share individual subnets with the Service Projects to filter access between the specific networks.

This option involves creating a single VPC within the shared VPC Host Project and sharing individual subnets with the Service Projects to filter access between the specific networks. While this approach can provide control over access between subnets, it does not provide the same level of segregation as the previous options and may not be suitable for strict security requirements.

Overall, Option A is the recommended approach based on the specific requirements outlined in the question. However, the best solution ultimately depends on the specific needs and constraints of the organization.