Google Professional Cloud Network Engineer Question 315
Select 3Google Cloud PlatformYou are deploying a GKE cluster to host workloads that require advanced networking features, such as eBPF-based packet processing and improved observability. To achieve this, you decide to enable GKE Dataplane V2. Which of the following steps are required to successfully enable GKE Dataplane V2 during cluster creation?
- A
Enable the 'datapath-provider=advanced' flag when creating the GKE cluster.
- B
Ensure the GKE cluster is created with Google Kubernetes Engine API version 1.21 or higher.
- C
Enable the 'enable-network-policy' flag when creating the GKE cluster.
- D
Ensure the cluster is created in a Private Cluster mode.
- E
Grant the IAM role 'roles/container.admin' to the user creating the cluster.
Show answer and explanation
Correct answers: A, B, C
Explanation
To enable GKE Dataplane V2, you must specify the 'datapath-provider=advanced' flag during cluster creation, ensure the GKE API version is 1.21 or higher, and enable network policies to unlock advanced networking capabilities. Private Cluster mode and specific IAM roles are not mandatory requirements for enabling Dataplane V2.
- A. Correct.
Correct: The 'datapath-provider=advanced' flag explicitly enables GKE Dataplane V2, which is required to activate advanced networking features. Without this flag, the cluster will default to Dataplane V1.
- B. Correct.
Correct: GKE Dataplane V2 is only supported on GKE clusters running API version 1.21 or higher. Using an older version will not support this feature.
- C. Correct.
Correct: Enabling network policies ('enable-network-policy' flag) is necessary for GKE Dataplane V2, as it allows the use of advanced networking features such as eBPF.
- D. Incorrect.
Incorrect: Private Cluster mode is not a requirement for enabling GKE Dataplane V2. It can be enabled on both public and private clusters.
- E. Incorrect.
Incorrect: While 'roles/container.admin' is an important IAM role for cluster management, it is not specifically required to enable GKE Dataplane V2.