Google Cloud Associate Cloud Engineer — Question 33

You are given a project with a single Virtual Private Cloud (VPC) and a single subnetwork in the us-central1 region. There is a Compute Engine instance hosting an application in this subnetwork. You need to deploy a new instance in the same project in the europe-west1 region. This new instance needs access to the application. You want to follow Google-recommended practices. What should you do?

Answer options

Correct answer: A

Explanation

The correct choice, A, adheres to Google-recommended practices by creating a subnetwork within the existing VPC, allowing for direct communication using the private address of the existing instance. Options B and D involve setting up a new VPC, which complicates connectivity unnecessarily. Option C introduces Cloud VPN, which is not needed since the instances can communicate directly within the same VPC.