ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 158 - Professional Cloud Network Engineer discussion

Report
Export

You are planning to use Terraform to deploy the Google Cloud infrastructure for your company The design must meet the following requirements

* Each Google Cloud project must represent an Internal project that your team Will work on

* After an internal project is finished, the infrastructure must be deleted

* Each Internal project must have Its own Google Cloud project owner to manage the Google Cloud resources-

* You have 10-100 projects deployed at a time,

While you are writing the Terraform code, you need to ensure that the deployment IS Simple, and the code IS reusable With centralized management What should you doo

A.
Create a Single pt0Ject and additional VPCs for each Internal project
Answers
A.
Create a Single pt0Ject and additional VPCs for each Internal project
B.
Create a Single Project and Single VPC for each internal project
Answers
B.
Create a Single Project and Single VPC for each internal project
C.
Create a single Shared VPC and attach each Google Cloud project as a service project
Answers
C.
Create a single Shared VPC and attach each Google Cloud project as a service project
D.
Create a Shared VPC and service project for each Internal project
Answers
D.
Create a Shared VPC and service project for each Internal project
Suggested answer: C

Explanation:

The correct answer is C. Create a single Shared VPC and attach each Google Cloud project as a service project.

This answer is based on the following facts:

A Shared VPC allows you to share one or more VPC networks across multiple Google Cloud projects1. This simplifies the deployment and management of the network infrastructure, as you only need to create and maintain one VPC network for all your internal projects.

A Shared VPC consists of a host project that owns the VPC network and one or more service projects that use the VPC network2. You can attach and detach service projects as needed, depending on the lifecycle of your internal projects. You can also delete service projects without affecting the host project or other service projects.

A Shared VPC allows you to delegate administrative roles to different project owners3. You can grant the Shared VPC Admin role to the owner of the host project, who can manage the VPC network and its subnets. You can also grant the Service Project Admin role to the owners of the service projects, who can manage the Google Cloud resources in their own projects.

The other options are not correct because:

Option A is not suitable. Creating a single project and additional VPCs for each internal project will increase the complexity and cost of the network infrastructure. You will need to create and maintain multiple VPC networks, firewall rules, routes, and VPN tunnels. You will also have a limit on the number of VPC networks per project4.

Option B is not feasible. Creating a single project and single VPC for each internal project will not meet the requirement of having separate project owners for each internal project. You will have only one project owner who can manage all the Google Cloud resources in the same project.

Option D is not optimal. Creating a Shared VPC and service project for each internal project will not meet the requirement of having a simple and reusable code with centralized management. You will need to create and maintain multiple Shared VPCs, which will increase the complexity and cost of the network infrastructure. You will also have more Terraform code to write and manage for each Shared VPC.

asked 18/09/2024
Fabrizio Leo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first