100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 510
An administrator sees Service DNS resolve to the correct ClusterIP but connections fail only on one node. The cluster uses kube-proxy iptables mode and kube-proxy on that node is crashing. Which findings are supported? Choose ONE answer.
- Deleting PVs restores iptables proxy rules.
- Rewriting CoreDNS records will repair kube-proxy process crashes.
- Inspecting kube-proxy logs and node service rules is relevant.
- The cause must be a malformed Pod ConfigMap.
Explanation
Correct Answer
C:kube-proxy programs the node dataplane for virtual Service forwarding.
Incorrect Answers
A:PV storage is unrelated to Service routing.
B:DNS changes do not restart or fix the Service proxy.
D:Provided evidence directly identifies kube-proxy failure on that node.
Question 511
During a remediation drill, the team evaluates the safe next steps and their consequences. Pod IP connectivity works, but ClusterIP virtual-Service traffic fails on nodes where kube-proxy is absent and the cluster relies on kube-proxy-based Service forwarding Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Delete the cluster CA to repair virtual Service NAT.
- Increase a Pod memory limit to install kube-proxy service rules.
- Assume ClusterIP packets are always routed directly by DNS without a Service proxy.
- Restore kube-proxy rules or the intended supported Service proxy implementation.
Explanation
Correct Answer
D:Service virtual IP traffic requires an implementation such as kube-proxy or a compatible replacement.
Incorrect Answers
A:certificate authority files do not implement service translation rules.
B:container cgroup limits do not configure node Service forwarding.
C:DNS resolves the virtual IP; a network dataplane still needs to forward to endpoints.
Question 512
A Pod can reach the CoreDNS ClusterIP on UDP/53, but `nslookup api.orders.svc.cluster.local` returns NXDOMAIN. The orders namespace does not exist. What is the direct explanation? Choose ONE answer.
- UDP/53 reachability proves every possible DNS record exists.
- The fully qualified Service name references a nonexistent namespace.
- Restarting all nodes creates the orders namespace.
- Service discovery ignores Kubernetes namespaces.
Explanation
Correct Answer
B:Cluster DNS service names resolve only existing namespaced Services or appropriate records.
Incorrect Answers
A:Transport reachability does not establish the existence of a requested DNS name.
C:Restarts do not synthesize missing namespaces or Services.
D:Canonical service names include the Service namespace.
Question 513
Inside a Pod in namespace `shop`, the application resolves unqualified name `api`, while the Service exists in namespace `finance`. Which DNS name expresses the intended cross-namespace Service? Choose ONE answer.
- api.default.
- api.finance.svc.cluster.local.
- api.node.cluster.local.
- api.shop.svc.cluster.local.
Explanation
Correct Answer
B:A fully qualified Kubernetes Service DNS name includes its namespace and cluster domain.
Incorrect Answers
A:An unqualified default suffix does not specify the finance namespace.
C:Kubernetes does not use a generic node subdomain for namespaced Services.
D:This targets the current namespace shop, not finance.
Question 514
During a remediation drill, the team evaluates the safe next steps and their consequences. Pods resolve external domain names using an alternate resolver but cluster Service FQDNs time out; the kube-dns Service has zero ready EndpointSlice addresses Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Change application CPU requests to create kube-dns endpoints automatically.
- Verify in-cluster Service FQDN lookup after ready CoreDNS backends reappear.
- Assume external DNS success proves CoreDNS Service is healthy.
- Reclaim a PV to make DNS Service endpoints Ready.
Explanation
Correct Answer
B:the symptom specifically concerns the cluster DNS resolution path.
Incorrect Answers
A:resource requests do not repair DNS selection or readiness without addressing root cause.
C:external resolution through a different resolver does not validate kube-dns endpoints.
D:PersistentVolume cleanup does not ensure CoreDNS Pod health.
Question 515
During an incident review, an operator must choose an accurate diagnosis. The DNS name of a ClusterIP Service resolves, but its EndpointSlice has no addresses after the Deployment changed the Pod label from app=api to app=backend Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose TWO statements.
- Confirm selected Pods are Ready before testing traffic again.
- Compare Service selector to actual Pod labels and update the intended side.
- Assume successful Service DNS resolution proves endpoint existence.
- Rotate the Service ClusterIP to automatically select app=backend.
- Increase PodDisruptionBudget minAvailable to rewrite Service selector.
Explanation
Correct Answers
A:readiness conditions control ordinary Service backend eligibility.
B:a selector-based Service creates endpoints only for Pods matching its label query.
Incorrect Answers
C:the DNS name may resolve to a virtual IP even with no ready backend addresses.
D:a different virtual IP does not update the label selector.
E:PDB limits voluntary evictions, not Service label matching.
Question 516
Before applying a change, the cluster team checks what the configuration actually permits. The DNS name of a ClusterIP Service resolves, but its EndpointSlice has no addresses after the Deployment changed the Pod label from app=api to app=backend Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose THREE statements.
- Rotate the Service ClusterIP to automatically select app=backend.
- Assume successful Service DNS resolution proves endpoint existence.
- Compare Service selector to actual Pod labels and update the intended side.
- Increase PodDisruptionBudget minAvailable to rewrite Service selector.
- Confirm selected Pods are Ready before testing traffic again.
- Inspect EndpointSlices after label reconciliation.
Explanation
Correct Answers
C:A selector-based Service creates endpoints only for Pods matching its label query. Before changing live state, distinguish this from 'Assume successful Service DNS resolution proves endpoint existence': The DNS name may resolve to a virtual IP even with no ready backend addresses.
E:Readiness conditions control ordinary Service backend eligibility. Before changing live state, distinguish this from 'Increase PodDisruptionBudget minAvailable to rewrite Service selector': PDB limits voluntary evictions, not Service label matching.
F:a nonempty ready endpoint set demonstrates the Service found usable backends.
Incorrect Answers
A:A different virtual IP does not update the label selector. The prerequisite check or operation is 'Inspect EndpointSlices after label reconciliation': A nonempty ready endpoint set demonstrates the Service found usable backends.
B:The DNS name may resolve to a virtual IP even with no ready backend addresses. The prerequisite check or operation is 'Confirm selected Pods are Ready before testing traffic again': Readiness conditions control ordinary Service backend eligibility.
D:PDB limits voluntary evictions, not Service label matching. The prerequisite check or operation is 'Inspect EndpointSlices after label reconciliation': A nonempty ready endpoint set demonstrates the Service found usable backends.
Question 517
During a remediation drill, the team evaluates the safe next steps and their consequences. The DNS name of a ClusterIP Service resolves, but its EndpointSlice has no addresses after the Deployment changed the Pod label from app=api to app=backend Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Rotate the Service ClusterIP to automatically select app=backend.
- Inspect EndpointSlices after label reconciliation.
- Assume successful Service DNS resolution proves endpoint existence.
- Increase PodDisruptionBudget minAvailable to rewrite Service selector.
Explanation
Correct Answer
B:A nonempty ready endpoint set demonstrates the Service found usable backends. 'Assume successful Service DNS resolution proves endpoint existence' would not achieve the required recovery because The DNS name may resolve to a virtual IP even with no ready backend addresses.
Incorrect Answers
A:A different virtual IP does not update the label selector. Instead, 'Inspect EndpointSlices after label reconciliation' addresses the failure directly: A nonempty ready endpoint set demonstrates the Service found usable backends.
C:The DNS name may resolve to a virtual IP even with no ready backend addresses. Instead, 'Inspect EndpointSlices after label reconciliation' addresses the failure directly: A nonempty ready endpoint set demonstrates the Service found usable backends.
D:PDB limits voluntary evictions, not Service label matching. Instead, 'Inspect EndpointSlices after label reconciliation' addresses the failure directly: A nonempty ready endpoint set demonstrates the Service found usable backends.
Question 518
During an incident review, an operator must choose an accurate diagnosis. A Service exposes TCP port 80 and forwards to targetPort 8081, but the ready application container only listens on 8080 Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Change namespace ResourceQuota to redirect targetPort.
- Change the Service targetPort to the actual listening port 8080.
- Assume targetPort 8081 works because the container exposes containerPort 8080.
- Set the Service port to 8081 while leaving the wrong targetPort unchanged.
Explanation
Correct Answer
B:the Service backend destination must match the application listening port.
Incorrect Answers
A:quota admission has no role in Service backend port forwarding.
C:a numerical mismatch persists regardless of containerPort metadata.
D:clients changing destination service port does not make the backend listen on 8081.
Question 519
Before applying a change, the cluster team checks what the configuration actually permits. A Service exposes TCP port 80 and forwards to targetPort 8081, but the ready application container only listens on 8080 Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Keep the client-facing Service port 80 if the external contract requires it.
- Assume targetPort 8081 works because the container exposes containerPort 8080.
- Change namespace ResourceQuota to redirect targetPort.
- Set the Service port to 8081 while leaving the wrong targetPort unchanged.
Explanation
Correct Answer
A:Service port and targetPort are independent and need not have the same number.
Incorrect Answers
B:A numerical mismatch persists regardless of containerPort metadata. The prerequisite check or operation is 'Keep the client-facing Service port 80 if the external contract requires it': Service port and targetPort are independent and need not have the same number.
C:Quota admission has no role in Service backend port forwarding. The prerequisite check or operation is 'Keep the client-facing Service port 80 if the external contract requires it': Service port and targetPort are independent and need not have the same number.
D:Clients changing destination service port does not make the backend listen on 8081. The prerequisite check or operation is 'Keep the client-facing Service port 80 if the external contract requires it': Service port and targetPort are independent and need not have the same number.
Question 520
During a remediation drill, the team evaluates the safe next steps and their consequences. A Service exposes TCP port 80 and forwards to targetPort 8081, but the ready application container only listens on 8080 Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Assume targetPort 8081 works because the container exposes containerPort 8080.
- Set the Service port to 8081 while leaving the wrong targetPort unchanged.
- Change namespace ResourceQuota to redirect targetPort.
- Test connection to backend Pod IP port 8080 and Service port 80 after correction.
Explanation
Correct Answer
D:direct and virtual-IP tests isolate backend listener versus Service translation.
Incorrect Answers
A:A numerical mismatch persists regardless of containerPort metadata. Instead, 'Test connection to backend Pod IP port 8080 and Service port 80 after correction' addresses the failure directly: Direct and virtual-IP tests isolate backend listener versus Service translation.
B:Clients changing destination service port does not make the backend listen on 8081. Instead, 'Test connection to backend Pod IP port 8080 and Service port 80 after correction' addresses the failure directly: Direct and virtual-IP tests isolate backend listener versus Service translation.
C:Quota admission has no role in Service backend port forwarding. Instead, 'Test connection to backend Pod IP port 8080 and Service port 80 after correction' addresses the failure directly: Direct and virtual-IP tests isolate backend listener versus Service translation.
Certified Kubernetes Administrator (CKA) Practice Tests