DCA · Question #76
DCA Question #76: Real Exam Question with Answer & Explanation
The correct answer is A: Yes. In specific scenarios, an autoscaler might delete an unhealthy pod to alleviate unproductive resource consumption, rather than restarting it to fix.
Question
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container? Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.
Options
- AYes
- BNo
Explanation
In specific scenarios, an autoscaler might delete an unhealthy pod to alleviate unproductive resource consumption, rather than restarting it to fix.
Common mistakes.
- B. The primary response to a liveness probe failure is container restart, but in an autoscaling context, an unhealthy pod could be deemed expendable during a scale-down event to optimize resource usage.
Concept tested. Kubernetes autoscaling and unhealthy pod management
Reference. https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
Topics
Community Discussion
No community discussion yet for this question.