Google Associate Cloud Engineer Question 270
Select 3Google Cloud PlatformYou are managing a Google Cloud project that hosts a web application. This application requires a consistent IP address for DNS purposes. You decide to reserve a static external IP address for your VM instance. Which steps should you take to accomplish this using the Google Cloud Console?
- A
Navigate to the 'VPC network' section and choose 'External IP addresses'.
- B
In the 'External IP addresses' page, click 'Reserve static address'.
- C
Provide a name for the IP address and choose 'Regional' or 'Global'.
- D
Select the VM instance you wish to assign the static IP to and click 'Reserve'.
- E
Navigate to the 'Compute Engine' section and modify the instance to use the new static IP.
Show answer and explanation
Correct answers: A, B, C
Explanation
To reserve a static external IP address in Google Cloud Platform using the Console, you should first navigate to the 'VPC network' section and select 'External IP addresses'. From there, you click 'Reserve static address', provide necessary details such as name and scope (Regional or Global), and reserve the address. Assigning the IP to a VM is a separate process and not part of the initial reservation steps.
- A. Correct.
Correct. Reserving a static IP address in the Google Cloud Console starts by navigating to the 'VPC network' section and selecting 'External IP addresses'.
- B. Correct.
Correct. On the 'External IP addresses' page, you need to click 'Reserve static address' to create a new reserved IP.
- C. Correct.
Correct. When reserving a static IP, you must provide a name and select whether it is a 'Regional' or 'Global' IP.
- D. Incorrect.
Incorrect. You do not assign the static IP to a VM during the reservation process. Assignment is a separate step.
- E. Incorrect.
Incorrect. While you do need to assign the static IP to a VM, this step is performed after reserving the IP, not during the reservation process.