Question 20
A payment API is deployed as two naked Pods and disappears entirely after a worker node maintenance operation. Following the correction (Create an appropriate Deployment with a replica target and expose it through an approved Kubernetes Service.), which ongoing safeguard best helps prevent the same issue?
Explanation
Correct Answer
Use controllers, readiness checks and stable Services for workloads that must survive individual Pod loss. This addresses recurrence of: Standalone Pods have no declarative workload controller maintaining the intended desired replica count. It supports the operational change: Create an appropriate Deployment with a replica target and expose it through an approved Kubernetes Service.
Incorrect Answers
Test mesh policy enforcement independently of DNS and basic service reachability. This safeguard is relevant to recurrence of: Basic Kubernetes service networking was mistaken for service-mesh traffic identity and encryption enforcement. The stated incident stems from: Standalone Pods have no declarative workload controller maintaining the intended desired replica count. The ongoing control is: Use controllers, readiness checks and stable Services for workloads that must survive individual Pod loss.
That control reduces a risk involving: The Helm deployment workflow lacks release naming, namespace selection and versioned values isolation. The lasting safeguard for this case is: Use controllers, readiness checks and stable Services for workloads that must survive individual Pod loss.
Treat load balancing as an explicit architectural dependency for each Supervisor network choice. The control concerns: The network plan specifies workload connectivity without the load-balancer components required by its chosen Supervisor topology. It does not specifically prevent recurrence of: Standalone Pods have no declarative workload controller maintaining the intended desired replica count. The direct preventive step is: Use controllers, readiness checks and stable Services for workloads that must survive individual Pod loss.