Google Associate Cloud Engineer Question 273
Single answerGoogle Cloud PlatformYour company is hosting a web application on Google Cloud Platform and requires a static external IP address to ensure consistent DNS mapping for customers. Which of the following steps should you take to reserve a static external IP address in Google Cloud Platform?
- A
Navigate to the VPC Network section in the Google Cloud Console and reserve a new IP address.
- B
Use the gcloud command-line tool to reserve a static IP address by specifying a name and region.
- C
Create a new VM instance and select 'New Static IP' in the network configuration section during setup.
- D
Navigate to the External IP Addresses page in the Google Cloud Console and reserve a new static IP.
Show answer and explanation
Correct answer: D
Explanation
To reserve a static external IP address in Google Cloud Platform, you can navigate to the External IP Addresses page in the Google Cloud Console. This page specifically allows users to manage and reserve static IP addresses needed for consistent DNS mapping and other networking purposes.
- A. Incorrect.
This option is incorrect because the VPC Network section deals with networking configuration, but static IP addresses are specifically managed in a different section.
- B. Incorrect.
While you can use the gcloud command-line tool to reserve a static IP, the question asks for a step involving the Google Cloud Console.
- C. Incorrect.
Selecting 'New Static IP' during VM creation reserves a static IP, but the question is specifically asking about the reservation process outside of VM creation.
- D. Correct.
This is the correct option as the External IP Addresses page in the Google Cloud Console is where you can reserve static external IP addresses directly.