Question 610
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Cluster DNS lookups are intermittent; inspect CoreDNS Deployment availability before changing application Service names. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
DNS resolution may fail when CoreDNS replicas are unhealthy even when the requested Service and Pod endpoints exist. This explains the stated condition. The corresponding action is: Run kubectl -n kube-system get deploy coredns; kubectl -n kube-system get pods -l k8s-app=kube-dns. The direct acceptance evidence is: Run kubectl -n kube-system logs deployment/coredns --tail=50 and compare to an in-Pod resolution test. Applied here, the relevant facts are: inspect CoreDNS Deployment availability before changing application Service names. Work only within the stated target and verify before declaring success. The question asks which Kubernetes behavior best explains the required change or diagnosis. The choice being evaluated here is: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide. The case setting is: At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Cluster DNS lookups are intermittent;.
Incorrect Answers
The offered statement is true for this other mechanism: CoreDNS behavior is configured separately from Service definitions, and incorrect DNS plugins or cluster domain can break discovery cluster-wide. It does not explain the facts described here, which follow from: DNS resolution may fail when CoreDNS replicas are unhealthy even when the requested Service and Pod endpoints exist.
A ClusterIP Service provides stable in-cluster virtual addressing and directs traffic to selected ready Pod endpoints. That explanation applies to a different technical failure. Here the controlling principle is: DNS resolution may fail when CoreDNS replicas are unhealthy even when the requested Service and Pod endpoints exist.
The offered statement is true for this other mechanism: EndpointSlices represent Service backend addresses and readiness; Service existence alone does not prove endpoints exist. It does not explain the facts described here, which follow from: DNS resolution may fail when CoreDNS replicas are unhealthy even when the requested Service and Pod endpoints exist.