Professional Cloud Architect · Free Practice Question Medium

Question 42

You are managing a project that consists of a single Virtual Private Cloud (VPC) and a single subnetwork located in the us-west1 region. Within this subnetwork, there is a Compute Engine instance hosting an application. Now, your development team intends to deploy a new instance within the same project, but in the europe-central2 region. They require access to the application and wish to adhere to Google's best practices. As a cloud architect, what guidance should you provide in this situation?

  • A

    They should create a subnetwork in the same VPC, in europe-central2 region. Than, create a new instance in the new subnetwork and use the first instance's private address as the endpoint.

  • B

    They should create a subnetwork in the same VPC, in europe-central2 region. Than, use Cloud VPN to connect these two subnetworks, and finally create a new instance in the new subnetwork and use the first instance's private address as the endpoint.

  • C

    They should create a VPC and a subnetwork in europe-central2 region. Than, expose the application with an internal load balancer, and finally create a new instance in the new subnetwork and use the load balancer's address as the endpoint.

  • D

    They should create a VPC and a subnetwork in europe-central2 region. Than, peer the 2 VPCs, and finally create a new instance in the new subnetwork and use the first instance's private address as the endpoint.

Reveal correct answer

Correct answer: A

A.

By creating a subnetwork in the same VPC but in a different region, the development team can deploy the new instance in europe-central2 region while still maintaining connectivity to the existing application hosted in the us-west1 region. They can use the first instance's private address as the endpoint to access the application, leveraging the VPC network connectivity.

B.

Cloud VPN is typically used to establish secure connections between on-premises networks and VPC networks, rather than connecting subnetworks within the same VPC.

C.

It suggests creating a new VPC and a subnetwork in the europe-central2 region, along with an internal load balancer. While load balancers can distribute traffic, in this case, it is not necessary as there is only one instance hosting the application.

D.

VPC peering is used to establish connectivity between different VPC networks, but in this case, there is a requirement to deploy the new instance within the same project and VPC.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need