Google Professional Cloud Network Engineer Question 286
Select 3Google Cloud PlatformYou are tasked with setting up a Google Kubernetes Engine (GKE) cluster for a production workload that requires high availability and minimal downtime during upgrades. Which of the following configurations should you prioritize to meet these requirements?
- A
Enable regional clusters to distribute workloads across multiple zones.
- B
Configure node auto-repair to automatically fix unhealthy nodes.
- C
Use a single-zone cluster to reduce networking complexity.
- D
Ensure the cluster's master version is set to a specific release and disable auto-upgrades.
- E
Enable surge upgrades to minimize downtime during node upgrades.
- F
Set up a custom VPC network with private nodes to enhance security.
Show answer and explanation
Correct answers: A, B, E
Explanation
To meet the requirements of high availability and minimal downtime during upgrades, you should enable regional clusters for fault tolerance, configure node auto-repair for resilient cluster health, and enable surge upgrades to reduce downtime during node updates. Single-zone clusters and disabling auto-upgrades do not support high availability or efficient maintenance, and while private nodes improve security, they are not directly related to the scenario's requirements.
- A. Correct.
Regional clusters distribute nodes across multiple zones, providing high availability and fault tolerance, which is critical for production workloads.
- B. Correct.
Node auto-repair ensures unhealthy nodes are automatically repaired, reducing downtime and maintaining cluster health.
- C. Incorrect.
Single-zone clusters are not ideal for high availability since they are confined to a single failure domain.
- D. Incorrect.
Disabling auto-upgrades on the master version is not recommended for production environments as it can lead to outdated and insecure configurations. Instead, managed upgrades should be used.
- E. Correct.
Surge upgrades allow new nodes to be created before old ones are drained during upgrades, reducing downtime and ensuring workload continuity.
- F. Incorrect.
While private nodes enhance security, they do not directly address high availability or downtime during upgrades, which are the primary goals in this scenario.