When your development team needs to deploy a new instance in the europe-central2 region, requiring access to an application on a Compute Engine instance in the us-west1 region within the same project, what is the recommended approach following Google's best practices?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a subnetwork in the same VPC in europe-central2 region, and use the first instance's private address for the new instance in the subnetwork..
Why this is the answer
*Explanation: The recommended approach, in line with Google's best practices, is to create a subnetwork in the same VPC in the europe-central2 region and then use the first instance's private address for the new instance in this subnetwork. This method ensures seamless and secure communication between the two instances within the same VPC without introducing unnecessary complexity. It leverages the inherent connectivity features of a single VPC, facilitating efficient and direct communication between instances across different regions. This approach is preferable over others that suggest the use of additional components like internal load balancers, VPC peering, or Cloud VPN, which are not required for internal communication within the same VPC and can add unnecessary layers of complexity and potential points of failure.*
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