Google Professional Cloud Network Engineer exam dumps

Google Professional Cloud Network Engineer practice question 307 of 790

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

Google Professional Cloud Network Engineer Question 307

Select 3Google Cloud Platform

You are managing a Google Kubernetes Engine (GKE) cluster and need to restrict access to the Kubernetes control plane by specifying a set of trusted IP ranges. Which of the following actions will correctly allow you to configure authorized networks for the control plane?

  1. A

    Update the cluster’s authorized networks using the Google Cloud Console.

  2. B

    Use the gcloud container clusters update command with the --enable-master-authorized-networks flag.

  3. C

    Modify the GKE node pool’s configuration to add authorized networks.

  4. D

    Use the gcloud container clusters update command with the --master-authorized-networks flag to specify the IP ranges.

  5. E

    Enable Private Google Access on the subnet hosting the cluster to restrict access.

Show answer and explanation

Correct answers: A, B, D

Explanation

To restrict access to the Kubernetes control plane in GKE, you must configure authorized networks. This can be done either through the Google Cloud Console or by using the gcloud CLI commands with the appropriate flags (--enable-master-authorized-networks and --master-authorized-networks). These settings specify trusted IP address ranges that are permitted to access the control plane. Node pool configurations and Private Google Access are unrelated to this specific functionality.

  • A. Correct.

    Correct: The Google Cloud Console provides an option to update the authorized networks for the control plane under the GKE cluster settings.

  • B. Correct.

    Correct: Using the gcloud container clusters update command with --enable-master-authorized-networks enables the feature to specify authorized networks.

  • C. Incorrect.

    Incorrect: Authorized networks are a control plane setting, not a node pool configuration. They cannot be modified at the node pool level.

  • D. Correct.

    Correct: The --master-authorized-networks flag is used with the gcloud container clusters update command to specify the IP ranges for authorized networks.

  • E. Incorrect.

    Incorrect: Enabling Private Google Access is unrelated to configuring authorized networks for the Kubernetes control plane. It is used to allow private VMs to access Google APIs and services.

Timed practice exam

Take a Google Professional Cloud Network 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