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 40

Question 390

A Kubernetes administrator performs the following operation: Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status. Which outcome most directly follows?

  1. The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.
  2. The diagnostic targets actual node-to-Pod reachability rather than exposing the workload on the Internet.
  3. An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.
  4. The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

Explanation

Correct Answer

D:

This is the intended effect of IngressClass differentiation: The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

Incorrect Answers

A:

This effect belongs to PathType prefix semantics, produced by a different operation: Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior. It is not the direct consequence of the stated action.

B:

This effect belongs to Node-to-Pod firewall boundary, produced by a different operation: Review the CNI implementation's node-to-Pod routing and firewall assumptions before opening unrelated public LoadBalancer ports. It is not the direct consequence of the stated action.

C:

This effect belongs to LoadBalancer pending external IP, produced by a different operation: Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type. It is not the direct consequence of the stated action.

Question 391

Two ingress controllers run in the same cluster and an application is being routed by the wrong implementation. A colleague instead proposes: Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior. Which step best corrects the approach to the original issue?

  1. Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status.
  2. Review the CNI implementation's node-to-Pod routing and firewall assumptions before opening unrelated public LoadBalancer ports.
  3. Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type.
  4. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.

Explanation

Correct Answer

A:

This correction targets IngressClass differentiation: The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

Incorrect Answers

B:

This option concerns Node-to-Pod firewall boundary instead. The diagnostic targets actual node-to-Pod reachability rather than exposing the workload on the Internet.

C:

This option concerns LoadBalancer pending external IP instead. An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

D:

This option concerns PathType prefix semantics instead. The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

Question 392

A Kubernetes administrator recommends: Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status. Which situation most directly calls for that operation?

  1. A bare-metal Kubernetes cluster creates a type LoadBalancer Service but its EXTERNAL-IP remains pending indefinitely.
  2. Two ingress controllers run in the same cluster and an application is being routed by the wrong implementation.
  3. An Ingress path rule uses Exact for /shop but clients expect /shop/cart to match as well.
  4. Pods reach services from other Pods but external monitoring on nodes cannot reach a Pod IP on another host.

Explanation

Correct Answer

B:

This is the original issue addressed by IngressClass differentiation: The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

Incorrect Answers

A:

That separate problem requires another operation: Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type. An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

C:

That separate problem requires another operation: Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior. The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

D:

That separate problem requires another operation: Review the CNI implementation's node-to-Pod routing and firewall assumptions before opening unrelated public LoadBalancer ports. The diagnostic targets actual node-to-Pod reachability rather than exposing the workload on the Internet.

Question 393

An Ingress path rule uses Exact for /shop but clients expect /shop/cart to match as well. Which Kubernetes administration step most directly addresses this problem?

  1. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.
  2. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.
  3. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.
  4. Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead.

Explanation

Correct Answer

A:

This action addresses PathType prefix semantics: The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

Incorrect Answers

B:

This instead addresses Ingress endpoint empty: The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings. It does not directly correct the original PathType prefix semantics issue.

C:

This instead addresses Headless Service discovery: DNS can expose the individual backing Pod identities required for stable peer discovery. It does not directly correct the original PathType prefix semantics issue.

D:

This instead addresses CNI MTU mismatch: Cross-node packets avoid fragmentation-related black holes caused by oversized encapsulated traffic. It does not directly correct the original PathType prefix semantics issue.

Question 394

A Kubernetes administrator performs the following operation: Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior. Which outcome most directly follows?

  1. The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.
  2. The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.
  3. Cross-node packets avoid fragmentation-related black holes caused by oversized encapsulated traffic.
  4. DNS can expose the individual backing Pod identities required for stable peer discovery.

Explanation

Correct Answer

B:

This is the intended effect of PathType prefix semantics: The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

Incorrect Answers

A:

This effect belongs to Ingress endpoint empty, produced by a different operation: Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings. It is not the direct consequence of the stated action.

C:

This effect belongs to CNI MTU mismatch, produced by a different operation: Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead. It is not the direct consequence of the stated action.

D:

This effect belongs to Headless Service discovery, produced by a different operation: Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName. It is not the direct consequence of the stated action.

Question 395

An Ingress path rule uses Exact for /shop but clients expect /shop/cart to match as well. A colleague instead proposes: Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings. Which step best corrects the approach to the original issue?

  1. Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead.
  2. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.
  3. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.
  4. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.

Explanation

Correct Answer

C:

This correction targets PathType prefix semantics: The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

Incorrect Answers

A:

This option concerns CNI MTU mismatch instead. Cross-node packets avoid fragmentation-related black holes caused by oversized encapsulated traffic.

B:

This option concerns Ingress endpoint empty instead. The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

D:

This option concerns Headless Service discovery instead. DNS can expose the individual backing Pod identities required for stable peer discovery.

Question 396

A Kubernetes administrator recommends: Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior. Which situation most directly calls for that operation?

  1. A StatefulSet's clients must resolve individual replica hostnames instead of routing randomly through a single virtual IP.
  2. Large responses between Pods on separate nodes fail while small health checks pass after tunnel encapsulation was enabled.
  3. An ingress controller reports upstream unavailable although the host and path rule are valid.
  4. An Ingress path rule uses Exact for /shop but clients expect /shop/cart to match as well.

Explanation

Correct Answer

D:

This is the original issue addressed by PathType prefix semantics: The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.

Incorrect Answers

A:

That separate problem requires another operation: Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName. DNS can expose the individual backing Pod identities required for stable peer discovery.

B:

That separate problem requires another operation: Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead. Cross-node packets avoid fragmentation-related black holes caused by oversized encapsulated traffic.

C:

That separate problem requires another operation: Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings. The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Question 397

An ingress controller reports upstream unavailable although the host and path rule are valid. Which Kubernetes administration step most directly addresses this problem?

  1. Remove the conflicting host port or stop using hostNetwork for a workload that does not require it.
  2. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.
  3. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.
  4. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.

Explanation

Correct Answer

C:

This action addresses Ingress endpoint empty: The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Incorrect Answers

A:

This instead addresses HostNetwork binding behavior: The monitoring process avoids competing for a port in the node's shared network namespace. It does not directly correct the original Ingress endpoint empty issue.

B:

This instead addresses CoreDNS service not reachable: DNS service resolution resumes once the cluster DNS Service has healthy backing Pods. It does not directly correct the original Ingress endpoint empty issue.

D:

This instead addresses Manual EndpointSlice service: The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery. It does not directly correct the original Ingress endpoint empty issue.

Question 398

A Kubernetes administrator performs the following operation: Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings. Which outcome most directly follows?

  1. The monitoring process avoids competing for a port in the node's shared network namespace.
  2. DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.
  3. The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.
  4. The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Explanation

Correct Answer

D:

This is the intended effect of Ingress endpoint empty: The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Incorrect Answers

A:

This effect belongs to HostNetwork binding behavior, produced by a different operation: Remove the conflicting host port or stop using hostNetwork for a workload that does not require it. It is not the direct consequence of the stated action.

B:

This effect belongs to CoreDNS service not reachable, produced by a different operation: Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings. It is not the direct consequence of the stated action.

C:

This effect belongs to Manual EndpointSlice service, produced by a different operation: Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses. It is not the direct consequence of the stated action.

Question 399

An ingress controller reports upstream unavailable although the host and path rule are valid. A colleague instead proposes: Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings. Which step best corrects the approach to the original issue?

  1. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.
  2. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.
  3. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.
  4. Remove the conflicting host port or stop using hostNetwork for a workload that does not require it.

Explanation

Correct Answer

A:

This correction targets Ingress endpoint empty: The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.

Incorrect Answers

B:

This option concerns CoreDNS service not reachable instead. DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.

C:

This option concerns Manual EndpointSlice service instead. The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

D:

This option concerns HostNetwork binding behavior instead. The monitoring process avoids competing for a port in the node's shared network namespace.

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.