Question 1050
At Horizon observability, in a disposable simulated environment during a monitored release window: DNS resolution fails across namespaces and CoreDNS Pods in kube-system are restarting; investigate DNS component health rather than rewriting every Service. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
A cluster-wide DNS component failure affects names across workloads and cannot be resolved by changing one Service selector. This explains the stated condition. The corresponding action is: Run kubectl -n kube-system get pods -l k8s-app=kube-dns and kubectl -n kube-system logs deployment/coredns --tail=80. The direct acceptance evidence is: Confirm CoreDNS replicas are Ready and a test Pod can resolve a known Service in observability.
Incorrect Answers
The Service routes to its configured backend target port; working DNS does not establish that the destination process is listening there. That explanation applies to a different technical failure. Here the controlling principle is: A cluster-wide DNS component failure affects names across workloads and cannot be resolved by changing one Service selector.
The offered statement is true for this other mechanism: ImagePullBackOff indicates failed image retrieval; cluster DNS, credentials, registry availability and image names are distinct potential causes. It does not explain the facts described here, which follow from: A cluster-wide DNS component failure affects names across workloads and cannot be resolved by changing one Service selector.
This principle describes a separate cause: The scheduler assigns unscheduled Pods to nodes; a broken scheduler differs from per-Pod placement constraints. The reported condition is governed by: A cluster-wide DNS component failure affects names across workloads and cannot be resolved by changing one Service selector. The two mechanisms should not be conflated.