
Answer-first summary for fast verification
Answer: 1. Ensure both projects are part of the same GCP organization. 2. Share the VPC from one project and configure the Compute Engine instances in the other project to use this shared VPC.
Option A is correct because shared VPC enables an organization to securely connect resources from multiple projects to a common VPC network, allowing them to communicate efficiently using internal IPs. This requires both projects to be within the same GCP organization. Sharing a VPC from one project to another facilitates communication between VMs across different projects and VPCs. Options B, C, and D are incorrect as they either suggest unnecessary creation of new VPCs or fail to address the prerequisite of projects belonging to the same GCP organization, which is essential for shared VPC functionality. For more details, refer to [Google Cloud's documentation on shared VPC](https://cloud.google.com/vpc/docs/shared-vpc).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your fantasy sports app consists of multiple backend microservices hosted on Compute Engine across different GCP projects. To enable communication between two groups of Compute Engine VMs located in different projects and separate VPCs, what is the recommended approach?
A
B
C
D
No comments yet.