Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 274 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 274

Single answerGoogle Cloud Platform

You are working as a Cloud Engineer for an organization that runs several critical applications on Google Cloud Platform. To ensure that your services are always reachable through the same IP addresses, you need to reserve static external IP addresses for your virtual machines. Which of the following steps should you take to reserve a static external IP address in Google Cloud Platform?

  1. A

    Navigate to the VPC Network section in the Google Cloud Console and create a new firewall rule.

  2. B

    Navigate to the Compute Engine section in the Google Cloud Console, select 'External IP addresses', and then click 'Reserve static address'.

  3. C

    Use the 'gcloud compute instances create' command with the '--static-address' flag in Cloud Shell.

  4. D

    Edit the existing VM instance and change its network interface to a static IP from the Cloud Console.

Show answer and explanation

Correct answer: B

Explanation

To reserve a static external IP address in Google Cloud Platform, you need to navigate to the Compute Engine section of the Google Cloud Console. From there, you select 'External IP addresses' and click on 'Reserve static address'. This allows you to assign a fixed IP address to your resources, ensuring they remain accessible through the same IP address even if they are restarted or moved.

  • A. Incorrect.

    Creating a firewall rule does not reserve a static IP address. It controls the network traffic to and from VM instances.

  • B. Correct.

    This is the correct method to reserve a static external IP address. You use the 'External IP addresses' option under Compute Engine to reserve and manage static IPs.

  • C. Incorrect.

    The 'gcloud compute instances create' command is used to create new VM instances, but it does not directly reserve a static IP. To reserve an IP, a different gcloud command is used.

  • D. Incorrect.

    Editing an existing VM to change its network interface does not reserve a static IP. Static IPs are reserved through the Compute Engine's 'External IP addresses' feature.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam