Question 580
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The CoreDNS configuration of the lab cluster must be inspected before editing service discovery behavior. 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
Review CoreDNS configuration diffs and keep a tested prior version before changes. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n kube-system get configmap coredns -o yaml and review the Corefile. The relevant mechanism is: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide.
Incorrect Answers
That safeguard is relevant to: An Ingress resource declares HTTP host/path routing but requires an actual installed Ingress controller. The current failure instead follows from: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide. Its prevention measure is “Review CoreDNS configuration diffs and keep a tested prior version before changes”.
This routine guards against another mechanism: CoreDNS Pods need a restart when configuration update behavior requires it; a Deployment restart replaces Pods under its rollout strategy. The recurring exposure in the current case is: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide. The matching preventive check is “Review CoreDNS configuration diffs and keep a tested prior version before changes”.
The suggested review tracks a different technical risk: LoadBalancer Services request external routing from a supported infrastructure controller; a bare cluster does not guarantee an external address. Here the sustained control must address: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide. Choose “Review CoreDNS configuration diffs and keep a tested prior version before changes”.