Google Professional Cloud Network Engineer Question 294
Select 3Google Cloud PlatformYou are tasked with creating a Kubernetes Engine (GKE) cluster in Google Cloud. The cluster must use VPC-native networking to simplify IP address management and support Pod-to-Pod communication. Which of the following steps are necessary to configure a VPC-native cluster using alias IPs during creation?
- A
Enable the 'Enable VPC-native traffic routing (alias IP)' option during cluster creation.
- B
Ensure that the Google Kubernetes Engine API is enabled for the project.
- C
Assign a secondary IP range to the subnet where the cluster will be deployed.
- D
Manually configure each node pool to use alias IPs after the cluster is created.
- E
Set up a custom static route for Pod IPs to enable alias IP functionality.
Show answer and explanation
Correct answers: A, B, C
Explanation
To create a VPC-native GKE cluster using alias IPs, you must enable the VPC-native option during cluster creation, ensure the appropriate APIs are enabled, and configure a secondary IP range for the subnet to allocate Pod IPs. These steps ensure seamless Pod-to-Pod communication and proper IP address management. Manual configuration and static routes are unnecessary, as Google Cloud automates these processes for VPC-native clusters.
- A. Correct.
Correct: Enabling the 'Enable VPC-native traffic routing (alias IP)' option during cluster creation is essential to ensure the cluster uses VPC-native networking.
- B. Correct.
Correct: The Google Kubernetes Engine API must be enabled for the project to create and manage GKE clusters.
- C. Correct.
Correct: A secondary IP range is required to allocate alias IPs for Pods, which is a key feature of VPC-native clusters.
- D. Incorrect.
Incorrect: Alias IPs are automatically managed by Google Cloud when VPC-native networking is enabled; manual configuration for each node pool is not required.
- E. Incorrect.
Incorrect: No custom static routes are needed for alias IP functionality, as Google Cloud handles the routing automatically for VPC-native clusters.