Question 310
A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
Explanation
Correct Answer
Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. This is an observable service outcome, not just evidence that a configuration file was saved. Kubernetes DNS uses namespace-aware search paths; a fully qualified Service name avoids ambiguity across namespaces. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.
Incorrect Answers
The container remains running or completes as intended without repeated backoff cycles after a targeted correction. That result validates CrashLoopBackOff and previous logs rather than the requirement here. Verify instead: Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.
External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy. That result validates LoadBalancer Service provisioning rather than the requirement here. Verify instead: Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.
The precise scheduling blocker is removed and the workload binds to an eligible node. That result validates Pending pod FailedScheduling events rather than the requirement here. Verify instead: Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.


