Question 940
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Pod invoice-api in ledger is Running but Service traffic never reaches it because its readiness probe repeatedly fails. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Test probe paths, startup time and port assumptions before rolling out new workloads. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n ledger describe pod invoice-api and inspect readiness failure events and probe configuration. The relevant mechanism is: A running container is not necessarily Ready; failing readiness can remove a Pod from ready Service endpoints.
Incorrect Answers
That safeguard is relevant to: Node readiness depends on the kubelet and node conditions; application restarts cannot fix a stopped kubelet service. The current failure instead follows from: A running container is not necessarily Ready; failing readiness can remove a Pod from ready Service endpoints. Its prevention measure is “Test probe paths, startup time and port assumptions before rolling out new workloads”.
The suggested review tracks a different technical risk: A PVC binds only to compatible available storage or successful dynamic provisioning; absent provisioners, quotas or delayed binding can leave it Pending. Here the sustained control must address: A running container is not necessarily Ready; failing readiness can remove a Pod from ready Service endpoints. Choose “Test probe paths, startup time and port assumptions before rolling out new workloads”.
That safeguard is relevant to: HPA CPU utilization is computed from reported metrics relative to requests; missing metrics or requests can prevent scaling decisions. The current failure instead follows from: A running container is not necessarily Ready; failing readiness can remove a Pod from ready Service endpoints. Its prevention measure is “Test probe paths, startup time and port assumptions before rolling out new workloads”.