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 35

Question 340

A Kubernetes administrator recommends: Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules. 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. A web application must serve /app requests for portal.example.org while leaving other hostnames unaffected.
  3. A sidecar and application container in the same Pod attempt to bind different services to the same port and one fails.
  4. External clients need to connect via a specific worker node IP and a known cluster-allocated port without provisioning a cloud load balancer.

Explanation

Correct Answer

D:

This is the original issue addressed by NodePort external reachability: The application is reachable through a node address and the Service's assigned NodePort when network policies permit.

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.

B:

That separate problem requires another operation: Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port. The controller routes only requests matching the intended host and path to the application Service.

C:

That separate problem requires another operation: Allocate nonconflicting listening ports because containers within a Pod share its network namespace. Both containers coexist on the Pod IP without conflicting listeners in the shared network stack.

Question 341

A bare-metal Kubernetes cluster creates a type LoadBalancer Service but its EXTERNAL-IP remains pending indefinitely. Which Kubernetes administration step most directly addresses this problem?

  1. Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type.
  2. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.
  3. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.
  4. Review the CNI implementation's node-to-Pod routing and firewall assumptions before opening unrelated public LoadBalancer ports.

Explanation

Correct Answer

A:

This action addresses LoadBalancer pending external IP: An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

Incorrect Answers

B:

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 LoadBalancer pending external IP issue.

C:

This instead addresses Ingress TLS Secret namespace: The controller can load the intended certificate from the namespace in which the Ingress exists. It does not directly correct the original LoadBalancer pending external IP issue.

D:

This instead addresses Node-to-Pod firewall boundary: The diagnostic targets actual node-to-Pod reachability rather than exposing the workload on the Internet. It does not directly correct the original LoadBalancer pending external IP issue.

Question 342

A Kubernetes administrator performs the following operation: Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type. Which outcome most directly follows?

  1. The controller can load the intended certificate from the namespace in which the Ingress exists.
  2. An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.
  3. The diagnostic targets actual node-to-Pod reachability rather than exposing the workload on the Internet.
  4. DNS can expose the individual backing Pod identities required for stable peer discovery.

Explanation

Correct Answer

B:

This is the intended effect of LoadBalancer pending external IP: An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

Incorrect Answers

A:

This effect belongs to Ingress TLS Secret namespace, produced by a different operation: Create or synchronize the approved TLS Secret in public and reference its name in that Ingress. It is not the direct consequence of the stated action.

C:

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.

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 343

A bare-metal Kubernetes cluster creates a type LoadBalancer Service but its EXTERNAL-IP remains pending indefinitely. A colleague instead proposes: Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName. Which step best corrects the approach to the original issue?

  1. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.
  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. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.

Explanation

Correct Answer

C:

This correction targets LoadBalancer pending external IP: An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

Incorrect Answers

A:

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

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.

D:

This option concerns Ingress TLS Secret namespace instead. The controller can load the intended certificate from the namespace in which the Ingress exists.

Question 344

A Kubernetes administrator recommends: Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type. 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. Pods reach services from other Pods but external monitoring on nodes cannot reach a Pod IP on another host.
  3. An HTTPS Ingress in the public namespace references a TLS Secret that exists only in default.
  4. A bare-metal Kubernetes cluster creates a type LoadBalancer Service but its EXTERNAL-IP remains pending indefinitely.

Explanation

Correct Answer

D:

This is the original issue addressed by LoadBalancer pending external IP: An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.

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: 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.

C:

That separate problem requires another operation: Create or synchronize the approved TLS Secret in public and reference its name in that Ingress. The controller can load the intended certificate from the namespace in which the Ingress exists.

Question 345

A StatefulSet's clients must resolve individual replica hostnames instead of routing randomly through a single virtual IP. Which Kubernetes administration step most directly addresses this problem?

  1. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.
  2. Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status.
  3. Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead.
  4. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.

Explanation

Correct Answer

A:

This action addresses Headless Service discovery: DNS can expose the individual backing Pod identities required for stable peer discovery.

Incorrect Answers

B:

This instead addresses IngressClass differentiation: The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing. It does not directly correct the original Headless Service discovery issue.

C:

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 Headless Service discovery 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 Headless Service discovery issue.

Question 346

A Kubernetes administrator performs the following operation: Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName. Which outcome most directly follows?

  1. Cross-node packets avoid fragmentation-related black holes caused by oversized encapsulated traffic.
  2. DNS can expose the individual backing Pod identities required for stable peer discovery.
  3. The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.
  4. The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

Explanation

Correct Answer

B:

This is the intended effect of Headless Service discovery: DNS can expose the individual backing Pod identities required for stable peer discovery.

Incorrect Answers

A:

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.

C:

This effect belongs to IngressClass differentiation, produced by a different operation: Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status. It is not the direct consequence of the stated action.

D:

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 347

A StatefulSet's clients must resolve individual replica hostnames instead of routing randomly through a single virtual IP. A colleague instead proposes: Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses. 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. Measure the effective overlay MTU and align CNI interface MTU with the underlay and tunnel overhead.
  3. Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName.
  4. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.

Explanation

Correct Answer

C:

This correction targets Headless Service discovery: DNS can expose the individual backing Pod identities required for stable peer discovery.

Incorrect Answers

A:

This option concerns IngressClass differentiation instead. The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

B:

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

D:

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

Question 348

A Kubernetes administrator recommends: Create a Service with clusterIP: None matching StatefulSet Pods and use the StatefulSet serviceName. Which situation most directly calls for that operation?

  1. Two ingress controllers run in the same cluster and an application is being routed by the wrong implementation.
  2. Large responses between Pods on separate nodes fail while small health checks pass after tunnel encapsulation was enabled.
  3. A Service intentionally fronts a legacy backend outside the cluster but has no matching selector-managed Pods.
  4. A StatefulSet's clients must resolve individual replica hostnames instead of routing randomly through a single virtual IP.

Explanation

Correct Answer

D:

This is the original issue addressed by Headless Service discovery: DNS can expose the individual backing Pod identities required for stable peer discovery.

Incorrect Answers

A:

That separate problem requires another operation: Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status. The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.

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: 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.

Question 349

A Service intentionally fronts a legacy backend outside the cluster but has no matching selector-managed Pods. 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. Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName.
  3. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.
  4. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.

Explanation

Correct Answer

C:

This action addresses Manual EndpointSlice service: The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

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 Manual EndpointSlice service issue.

B:

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

D:

This instead addresses PathType prefix semantics: The controller includes descendant paths under the /shop prefix rather than matching only one exact URL. It does not directly correct the original Manual EndpointSlice service issue.

Question 350

A Kubernetes administrator performs the following operation: Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses. Which outcome most directly follows?

  1. The monitoring process avoids competing for a port in the node's shared network namespace.
  2. The controller includes descendant paths under the /shop prefix rather than matching only one exact URL.
  3. The Gateway reconciles under an available implementation rather than remaining unprogrammed.
  4. The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

Explanation

Correct Answer

D:

This is the intended effect of Manual EndpointSlice service: The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

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 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.

C:

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.