nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #341

PROFESSIONAL-CLOUD-DEVELOPER Question #341: Real Exam Question with Answer & Explanation

The correct answer is B: Configure the Pod replica count to be 10% more than the current replica count.. In this scenario, you need to ensure that there is an additional 10% capacity of Pods available to handle traffic when nodes are drained. By increasing the replica count by 10%, you provide a buffer to maintain high availability during node drains. This approach meets the high-av

Ensuring application availability during GKE cluster maintenance

Question

You have an application running on a GKE cluster. Your application has a stateless web frontend, and has a high-availability requirement. Your cluster is set to automatically upgrade, and some of your nodes need to be drained. You need to ensure that the application has a serving capacity of 10% of the Pods prior to the drain. What should you do?

Options

  • AConfigure a Vertical Pod Autoscaler (VPA) to increase the memory and CPU by 10% and set the
  • BConfigure the Pod replica count to be 10% more than the current replica count.
  • CConfigure a Pod Disruption Budget (PDB) value to have a minAvailable value of 10%.
  • DConfigure the Horizontal Pod Autoscaler (HPA) maxReplicas value to 10% more than the current

Explanation

In this scenario, you need to ensure that there is an additional 10% capacity of Pods available to handle traffic when nodes are drained. By increasing the replica count by 10%, you provide a buffer to maintain high availability during node drains. This approach meets the high-availability requirement by ensuring sufficient Pods remain available during upgrades or disruptions. Options like Pod Disruption Budget (PDB) with a minAvailable value of 10% do not directly increase the Pod count but rather set a threshold for the minimum number of available Pods, which could result in reduced serving capacity during node drains if the replica count itself is not

Topics

#Kubernetes Pods#GKE Cluster Management#High Availability#Application Scaling

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions