McAfee-Secured Website

Exam Bundle

Exam Code: CKA

Exam Name Certified Kubernetes Administrator

Certification Provider: CNCF

Corresponding Certification: CKA

CNCF CKA Bundle $44.99

100% CNCF CKA Guaranteed Success With Testking Training Materials

Get Real CKA Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    CKA Questions & Answers

    58 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual CKA exam while allowing you to hone and measure every aspect of your test-taking ability.

  • CKA Video Course

    CKA Video Course

    138 Video Lectures

    CKA Video Course is developed by CNCF Professionals to help you pass the CKA exam.

    Description

    This course will improve your knowledge and skills required to pass Certified Kubernetes Administrator exam.
  • Study Guide

    CKA Study Guide

    268 PDF Pages

    Developed by industry experts, this 268-page guide spells out in painstaking detail all of the information you need to ace CKA exam.

Certified Kubernetes Administrator (CKA) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    58 Questions

    $124.99
  • CKA Video Course

    Video Course

    138 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    268 PDF Pages

    $29.99

CNCF CKA Practice Test 41

Question 400

A Kubernetes administrator recommends: Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings. Which situation most directly calls for that operation?

  1. Pods cannot resolve cluster DNS names and the kube-dns Service has no healthy endpoints.
  2. An ingress controller reports upstream unavailable although the host and path rule are valid.
  3. A Service intentionally fronts a legacy backend outside the cluster but has no matching selector-managed Pods.
  4. A monitoring Pod with hostNetwork: true unexpectedly conflicts with a host daemon on TCP port 9100.

Explanation

Correct Answer

B:

This is the original issue addressed by Ingress endpoint empty: The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Incorrect Answers

A:

That separate problem requires another operation: Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings. DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

C:

That separate problem requires another operation: Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses. The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

D:

That separate problem requires another operation: Remove the conflicting host port or stop using hostNetwork for a workload that does not require it. The monitoring process avoids competing for a port in the node's shared network namespace.

Question 401

Pods cannot resolve cluster DNS names and the kube-dns Service has no healthy endpoints. Which Kubernetes administration step most directly addresses this problem?

  1. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.
  2. Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability.
  3. Apply a namespaced NetworkPolicy selecting payments Pods with policyTypes Ingress and no ingress allow rules.
  4. Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName.

Explanation

Correct Answer

A:

This action addresses CoreDNS service not reachable: DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

Incorrect Answers

B:

This instead addresses CoreDNS upstream external resolution: Cluster-local zones continue to resolve while external queries use a working upstream resolver. It does not directly correct the original CoreDNS service not reachable issue.

C:

This instead addresses Default deny ingress: Inbound connections are denied for selected Pods by capable policy enforcement until explicit ingress allows exist. It does not directly correct the original CoreDNS service not reachable issue.

D:

This instead addresses GatewayClass controller mismatch: The Gateway reconciles under an available implementation rather than remaining unprogrammed. It does not directly correct the original CoreDNS service not reachable issue.

Question 402

A Kubernetes administrator performs the following operation: Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings. Which outcome most directly follows?

  1. The Gateway reconciles under an available implementation rather than remaining unprogrammed.
  2. DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.
  3. Inbound connections are denied for selected Pods by capable policy enforcement until explicit ingress allows exist.
  4. Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Explanation

Correct Answer

B:

This is the intended effect of CoreDNS service not reachable: DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

Incorrect Answers

A:

This effect belongs to GatewayClass controller mismatch, produced by a different operation: Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName. It is not the direct consequence of the stated action.

C:

This effect belongs to Default deny ingress, produced by a different operation: Apply a namespaced NetworkPolicy selecting payments Pods with policyTypes Ingress and no ingress allow rules. It is not the direct consequence of the stated action.

D:

This effect belongs to CoreDNS upstream external resolution, produced by a different operation: Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability. It is not the direct consequence of the stated action.

Question 403

Pods cannot resolve cluster DNS names and the kube-dns Service has no healthy endpoints. A colleague instead proposes: Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability. Which step best corrects the approach to the original issue?

  1. Apply a namespaced NetworkPolicy selecting payments Pods with policyTypes Ingress and no ingress allow rules.
  2. Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName.
  3. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.
  4. Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability.

Explanation

Correct Answer

C:

This correction targets CoreDNS service not reachable: DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

Incorrect Answers

A:

This option concerns Default deny ingress instead. Inbound connections are denied for selected Pods by capable policy enforcement until explicit ingress allows exist.

B:

This option concerns GatewayClass controller mismatch instead. The Gateway reconciles under an available implementation rather than remaining unprogrammed.

D:

This option concerns CoreDNS upstream external resolution instead. Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Question 404

A Kubernetes administrator recommends: Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings. Which situation most directly calls for that operation?

  1. Pods resolve internal Service names but fail lookups for external domains after an upstream DNS change.
  2. A payments namespace currently allows inbound connections from any Pod, but policy requires denying traffic unless explicitly approved.
  3. An HTTPRoute is valid but no Gateway listener becomes programmed because the GatewayClass names a controller not installed in the cluster.
  4. Pods cannot resolve cluster DNS names and the kube-dns Service has no healthy endpoints.

Explanation

Correct Answer

D:

This is the original issue addressed by CoreDNS service not reachable: DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

Incorrect Answers

A:

That separate problem requires another operation: Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability. Cluster-local zones continue to resolve while external queries use a working upstream resolver.

B:

That separate problem requires another operation: Apply a namespaced NetworkPolicy selecting payments Pods with policyTypes Ingress and no ingress allow rules. Inbound connections are denied for selected Pods by capable policy enforcement until explicit ingress allows exist.

C:

That separate problem requires another operation: Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName. The Gateway reconciles under an available implementation rather than remaining unprogrammed.

Question 405

Pods resolve internal Service names but fail lookups for external domains after an upstream DNS change. Which Kubernetes administration step most directly addresses this problem?

  1. Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability.
  2. Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef.
  3. Create an ingress NetworkPolicy with namespaceSelector plus podSelector and the required TCP 8080 port.
  4. Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name.

Explanation

Correct Answer

A:

This action addresses CoreDNS upstream external resolution: Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Incorrect Answers

B:

This instead addresses HTTPRoute parentRef namespace: The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary. It does not directly correct the original CoreDNS upstream external resolution issue.

C:

This instead addresses Allow only frontend to API: Only matching frontend Pods from the specified namespace satisfy the API Pod ingress allow rule. It does not directly correct the original CoreDNS upstream external resolution issue.

D:

This instead addresses Service FQDN namespace search: The client targets the intended namespace Service instead of relying on local DNS search suffixes. It does not directly correct the original CoreDNS upstream external resolution issue.

Question 406

A Kubernetes administrator performs the following operation: Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability. Which outcome most directly follows?

  1. Only matching frontend Pods from the specified namespace satisfy the API Pod ingress allow rule.
  2. Cluster-local zones continue to resolve while external queries use a working upstream resolver.
  3. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.
  4. The client targets the intended namespace Service instead of relying on local DNS search suffixes.

Explanation

Correct Answer

B:

This is the intended effect of CoreDNS upstream external resolution: Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Incorrect Answers

A:

This effect belongs to Allow only frontend to API, produced by a different operation: Create an ingress NetworkPolicy with namespaceSelector plus podSelector and the required TCP 8080 port. It is not the direct consequence of the stated action.

C:

This effect belongs to HTTPRoute parentRef namespace, produced by a different operation: Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef. It is not the direct consequence of the stated action.

D:

This effect belongs to Service FQDN namespace search, produced by a different operation: Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name. It is not the direct consequence of the stated action.

Question 407

Pods resolve internal Service names but fail lookups for external domains after an upstream DNS change. A colleague instead proposes: Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name. Which step best corrects the approach to the original issue?

  1. Create an ingress NetworkPolicy with namespaceSelector plus podSelector and the required TCP 8080 port.
  2. Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef.
  3. Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability.
  4. Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name.

Explanation

Correct Answer

C:

This correction targets CoreDNS upstream external resolution: Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Incorrect Answers

A:

This option concerns Allow only frontend to API instead. Only matching frontend Pods from the specified namespace satisfy the API Pod ingress allow rule.

B:

This option concerns HTTPRoute parentRef namespace instead. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

D:

This option concerns Service FQDN namespace search instead. The client targets the intended namespace Service instead of relying on local DNS search suffixes.

Question 408

A Kubernetes administrator recommends: Review the CoreDNS Corefile forward directive and allowed upstream resolver reachability. Which situation most directly calls for that operation?

  1. An HTTPRoute in shop must attach to a Gateway in edge but cross-namespace attachment is not allowed by the listener policy.
  2. A backend API should accept inbound TCP port 8080 only from Pods labeled role=frontend in the web namespace.
  3. A Pod in development resolves api to its own namespace's Service rather than the intended production Service.
  4. Pods resolve internal Service names but fail lookups for external domains after an upstream DNS change.

Explanation

Correct Answer

D:

This is the original issue addressed by CoreDNS upstream external resolution: Cluster-local zones continue to resolve while external queries use a working upstream resolver.

Incorrect Answers

A:

That separate problem requires another operation: Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

B:

That separate problem requires another operation: Create an ingress NetworkPolicy with namespaceSelector plus podSelector and the required TCP 8080 port. Only matching frontend Pods from the specified namespace satisfy the API Pod ingress allow rule.

C:

That separate problem requires another operation: Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name. The client targets the intended namespace Service instead of relying on local DNS search suffixes.

Question 409

A Pod in development resolves api to its own namespace's Service rather than the intended production Service. Which Kubernetes administration step most directly addresses this problem?

  1. Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name.
  2. Add an egress rule permitting UDP and TCP port 53 to the approved DNS Pods or namespace.
  3. Set dnsPolicy: ClusterFirstWithHostNet on the hostNetwork Pod and verify cluster DNS access.
  4. Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort.

Explanation

Correct Answer

A:

This action addresses Service FQDN namespace search: The client targets the intended namespace Service instead of relying on local DNS search suffixes.

Incorrect Answers

B:

This instead addresses Egress DNS under default deny: DNS lookups can leave the isolated Pods while other unapproved egress traffic remains denied. It does not directly correct the original Service FQDN namespace search issue.

C:

This instead addresses DNS policy for hostNetwork Pod: The host-networked Pod uses the cluster DNS search and resolver behavior needed for Service names. It does not directly correct the original Service FQDN namespace search issue.

D:

This instead addresses HTTPRoute backend port reference: The Gateway routes through the Service port declared in the API instead of a mismatched backend reference. It does not directly correct the original Service FQDN namespace search issue.

Question 410

A Kubernetes administrator performs the following operation: Use the fully qualified api.production.svc.cluster.local name or the appropriate cross-namespace DNS name. Which outcome most directly follows?

  1. DNS lookups can leave the isolated Pods while other unapproved egress traffic remains denied.
  2. The client targets the intended namespace Service instead of relying on local DNS search suffixes.
  3. The Gateway routes through the Service port declared in the API instead of a mismatched backend reference.
  4. The host-networked Pod uses the cluster DNS search and resolver behavior needed for Service names.

Explanation

Correct Answer

B:

This is the intended effect of Service FQDN namespace search: The client targets the intended namespace Service instead of relying on local DNS search suffixes.

Incorrect Answers

A:

This effect belongs to Egress DNS under default deny, produced by a different operation: Add an egress rule permitting UDP and TCP port 53 to the approved DNS Pods or namespace. It is not the direct consequence of the stated action.

C:

This effect belongs to HTTPRoute backend port reference, produced by a different operation: Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort. It is not the direct consequence of the stated action.

D:

This effect belongs to DNS policy for hostNetwork Pod, produced by a different operation: Set dnsPolicy: ClusterFirstWithHostNet on the hostNetwork Pod and verify cluster DNS access. It is not the direct consequence of the stated action.