Question 600
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A reviewed CoreDNS ConfigMap change needs a controlled DNS Deployment restart in kube-system; a healthy rollout is required. 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
Stage CoreDNS changes and preserve rollback capability before restarting cluster-wide DNS. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n kube-system rollout restart deployment/coredns after the approved change. The relevant mechanism is: CoreDNS Pods need a restart when configuration update behavior requires it; a Deployment restart replaces Pods under its rollout strategy. Applied here, the relevant facts are: needs a controlled DNS Deployment restart in kube-system; a healthy rollout is required. Work only within the stated target and verify before declaring success. The question asks which operational control most directly prevents this failure or configuration drift. The choice being evaluated here is: Stage CoreDNS changes and preserve rollback capability before restarting cluster-wide DNS. The case setting is: At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A reviewed CoreDNS ConfigMap change n.
Incorrect Answers
That safeguard is relevant to: A ClusterIP Service provides stable in-cluster virtual addressing and directs traffic to selected ready Pod endpoints. The current failure instead follows from: CoreDNS Pods need a restart when configuration update behavior requires it; a Deployment restart replaces Pods under its rollout strategy. Its prevention measure is “Stage CoreDNS changes and preserve rollback capability before restarting cluster-wide DNS”.
This routine guards against another mechanism: Cluster DNS should resolve Service names inside its configured domain; host-side DNS results do not prove in-cluster resolution. The recurring exposure in the current case is: CoreDNS Pods need a restart when configuration update behavior requires it; a Deployment restart replaces Pods under its rollout strategy. The matching preventive check is “Stage CoreDNS changes and preserve rollback capability before restarting cluster-wide DNS”.
The suggested review tracks a different technical risk: A selecting NetworkPolicy with ingress isolation and no allow rules denies new ingress to selected Pods except protocol-specific policy behavior; it does not itself control egress. Here the sustained control must address: CoreDNS Pods need a restart when configuration update behavior requires it; a Deployment restart replaces Pods under its rollout strategy. Choose “Stage CoreDNS changes and preserve rollback capability before restarting cluster-wide DNS”.