Question 30
A web application responds from pods inside a VKS cluster but fails from a browser outside the cluster after an engineer points public DNS at an internal-only Service address. Once the issue is resolved, which ongoing practice BEST prevents this type of failure?
Explanation
Correct Answer
This control reduces recurrence of the same class of failure: A Kubernetes ClusterIP provides cluster-internal service discovery, whereas externally reachable applications require a supported ingress or load-balancer path, name resolution and network policy. Apply the recurring practice: Include separate internal and external connectivity acceptance tests whenever a Kubernetes Service type or ingress controller changes. The previous example was: A web application responds from pods inside a VKS cluster but fails from a browser outside the cluster after an engineer points public DNS at an internal-only Service address.
Incorrect Answers
Container filesystems are ephemeral across pod replacement; durable state depends on properly bound persistent volumes, access modes and a storage implementation with supported lifecycle semantics. For this case, a Kubernetes ClusterIP provides cluster-internal service discovery, whereas externally reachable applications require a supported ingress or load-balancer path, name resolution and network policy.
Containers share a host kernel while virtual machines provide a guest operating system and hypervisor isolation, so their security, compatibility and lifecycle contracts differ. However, the present prevention decision is grounded in: A web application responds from pods inside a VKS cluster but fails from a browser outside the cluster after an engineer points public DNS at an internal-only Service address. Here, trace packet flow from the external client through ingress or load balancer to Service and endpoint pods, then configure permitted routes, TLS and DNS.
Include class, zone and namespace capacity preflight in automated cluster creation pipelines. In this case, a Kubernetes ClusterIP provides cluster-internal service discovery, whereas externally reachable applications require a supported ingress or load-balancer path, name resolution and network policy.