Google Associate Cloud Engineer Question 151
Select 2Google Cloud PlatformAs a Google Cloud Associate Cloud Engineer, you are tasked with setting up a Virtual Private Cloud (VPC) network for a new project. The project requires two subnets in different regions for high availability. Which steps should you follow to create a VPC with these requirements using the Google Cloud Console?
- A
A) Navigate to the VPC network section, create a new VPC, and specify subnet ranges for each region.
- B
B) Use the 'default' VPC and create additional subnets within it.
- C
C) Create a new VPC and use Cloud Shell to configure subnets using gcloud commands.
- D
D) Select the 'Auto mode' VPC and let Google Cloud automatically create the subnets.
- E
E) Create a new custom mode VPC and manually add subnets specifying different regions.
Show answer and explanation
Correct answers: A, E
Explanation
To create a VPC with subnets in different regions for high availability, you should create a new custom mode VPC, which allows you to manually specify subnet configurations, including region and IP ranges. This approach ensures that the VPC meets the specific requirements of the project.
- A. Correct.
A) This is a valid approach where you manually create a new VPC and define subnet ranges for each region, ensuring custom configurations.
- B. Incorrect.
B) Using the 'default' VPC is not recommended for specific configurations as it may not meet the project's custom requirements and security standards.
- C. Incorrect.
C) While Cloud Shell and gcloud commands can be used, the question specifies using the Google Cloud Console for configuration.
- D. Incorrect.
D) Auto mode creates subnets in each region automatically but does not allow for custom configurations, which is required here.
- E. Correct.
E) Creating a custom mode VPC allows for manual configuration of subnets in different regions, meeting the high availability requirement.