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 39

Question 380

A Kubernetes administrator recommends: Install a supported Ingress controller and set a matching ingressClassName in the Ingress specification. Which situation most directly calls for that operation?

  1. A ClusterIP Service resolves in DNS but has no EndpointSlices despite healthy application Pods running.
  2. Pods on different worker nodes can reach local peers but cross-node Pod-to-Pod traffic times out after a network plugin update.
  3. A web application must serve /app requests for portal.example.org while leaving other hostnames unaffected.
  4. An Ingress object is accepted by the API but no controller assigns an address or programs HTTP routing.

Explanation

Correct Answer

D:

This is the original issue addressed by Ingress without controller: Ingress configuration is reconciled by an actual controller rather than remaining inert API data.

Incorrect Answers

A:

That separate problem requires another operation: Compare the Service selector with the target Pod labels and correct the mismatched key or value. The Service controller discovers matching ready Pod endpoints instead of routing to an empty backend set.

B:

That separate problem requires another operation: Inspect CNI routing or encapsulation configuration and node PodCIDR routes before changing Service objects. The fault is isolated to cross-node Pod transport rather than an unrelated Service abstraction.

C:

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.

Question 381

A web application must serve /app requests for portal.example.org while leaving other hostnames unaffected. Which Kubernetes administration step most directly addresses this problem?

  1. Set the Service port to 80 and targetPort to the actual container listening port 8080.
  2. Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port.
  3. Launch an authorized diagnostic Pod and test the backend Pod IP and application port directly.
  4. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.

Explanation

Correct Answer

B:

This action addresses Ingress host and path rule: The controller routes only requests matching the intended host and path to the application Service.

Incorrect Answers

A:

This instead addresses Port versus targetPort: ClusterIP traffic arriving on the Service port is directed to the correct backend application port. It does not directly correct the original Ingress host and path rule issue.

C:

This instead addresses Pod IP direct connectivity test: Direct endpoint connectivity separates Pod networking problems from Service selection or proxy issues. It does not directly correct the original Ingress host and path rule issue.

D:

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 Ingress host and path rule issue.

Question 382

A Kubernetes administrator performs the following operation: Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port. Which outcome most directly follows?

  1. Direct endpoint connectivity separates Pod networking problems from Service selection or proxy issues.
  2. The controller can load the intended certificate from the namespace in which the Ingress exists.
  3. The controller routes only requests matching the intended host and path to the application Service.
  4. ClusterIP traffic arriving on the Service port is directed to the correct backend application port.

Explanation

Correct Answer

C:

This is the intended effect of Ingress host and path rule: The controller routes only requests matching the intended host and path to the application Service.

Incorrect Answers

A:

This effect belongs to Pod IP direct connectivity test, produced by a different operation: Launch an authorized diagnostic Pod and test the backend Pod IP and application port directly. It is not the direct consequence of the stated action.

B:

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.

D:

This effect belongs to Port versus targetPort, produced by a different operation: Set the Service port to 80 and targetPort to the actual container listening port 8080. It is not the direct consequence of the stated action.

Question 383

A web application must serve /app requests for portal.example.org while leaving other hostnames unaffected. A colleague instead proposes: Create or synchronize the approved TLS Secret in public and reference its name in that Ingress. Which step best corrects the approach to the original issue?

  1. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.
  2. Launch an authorized diagnostic Pod and test the backend Pod IP and application port directly.
  3. Set the Service port to 80 and targetPort to the actual container listening port 8080.
  4. Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port.

Explanation

Correct Answer

D:

This correction targets Ingress host and path rule: The controller routes only requests matching the intended host and path to the application Service.

Incorrect Answers

A:

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

B:

This option concerns Pod IP direct connectivity test instead. Direct endpoint connectivity separates Pod networking problems from Service selection or proxy issues.

C:

This option concerns Port versus targetPort instead. ClusterIP traffic arriving on the Service port is directed to the correct backend application port.

Question 384

A Kubernetes administrator recommends: Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port. Which situation most directly calls for that operation?

  1. A web application must serve /app requests for portal.example.org while leaving other hostnames unaffected.
  2. An HTTPS Ingress in the public namespace references a TLS Secret that exists only in default.
  3. A Service listens on port 80 but the container accepts traffic only on port 8080 and clients receive connection failures.
  4. An operator suspects a Service misconfiguration but needs to determine whether the backend Pod is itself reachable.

Explanation

Correct Answer

A:

This is the original issue addressed by Ingress host and path rule: The controller routes only requests matching the intended host and path to the application Service.

Incorrect Answers

B:

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.

C:

That separate problem requires another operation: Set the Service port to 80 and targetPort to the actual container listening port 8080. ClusterIP traffic arriving on the Service port is directed to the correct backend application port.

D:

That separate problem requires another operation: Launch an authorized diagnostic Pod and test the backend Pod IP and application port directly. Direct endpoint connectivity separates Pod networking problems from Service selection or proxy issues.

Question 385

An HTTPS Ingress in the public namespace references a TLS Secret that exists only in default. Which Kubernetes administration step most directly addresses this problem?

  1. Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules.
  2. Allocate nonconflicting listening ports because containers within a Pod share its network namespace.
  3. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.
  4. Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status.

Explanation

Correct Answer

C:

This action addresses Ingress TLS Secret namespace: The controller can load the intended certificate from the namespace in which the Ingress exists.

Incorrect Answers

A:

This instead addresses NodePort external reachability: The application is reachable through a node address and the Service's assigned NodePort when network policies permit. It does not directly correct the original Ingress TLS Secret namespace issue.

B:

This instead addresses Pod network namespace distinction: Both containers coexist on the Pod IP without conflicting listeners in the shared network stack. It does not directly correct the original Ingress TLS Secret namespace issue.

D:

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 Ingress TLS Secret namespace issue.

Question 386

A Kubernetes administrator performs the following operation: Create or synchronize the approved TLS Secret in public and reference its name in that Ingress. Which outcome most directly follows?

  1. Both containers coexist on the Pod IP without conflicting listeners in the shared network stack.
  2. The selected controller reconciles the Ingress rather than allowing ambiguous multi-controller processing.
  3. The application is reachable through a node address and the Service's assigned NodePort when network policies permit.
  4. The controller can load the intended certificate from the namespace in which the Ingress exists.

Explanation

Correct Answer

D:

This is the intended effect of Ingress TLS Secret namespace: The controller can load the intended certificate from the namespace in which the Ingress exists.

Incorrect Answers

A:

This effect belongs to Pod network namespace distinction, produced by a different operation: Allocate nonconflicting listening ports because containers within a Pod share its network namespace. It is not the direct consequence of the stated action.

B:

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.

C:

This effect belongs to NodePort external reachability, produced by a different operation: Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules. It is not the direct consequence of the stated action.

Question 387

An HTTPS Ingress in the public namespace references a TLS Secret that exists only in default. A colleague instead proposes: Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status. Which step best corrects the approach to the original issue?

  1. Create or synchronize the approved TLS Secret in public and reference its name in that Ingress.
  2. Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status.
  3. Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules.
  4. Allocate nonconflicting listening ports because containers within a Pod share its network namespace.

Explanation

Correct Answer

A:

This correction targets Ingress TLS Secret namespace: The controller can load the intended certificate from the namespace in which the Ingress exists.

Incorrect Answers

B:

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

C:

This option concerns NodePort external reachability instead. The application is reachable through a node address and the Service's assigned NodePort when network policies permit.

D:

This option concerns Pod network namespace distinction instead. Both containers coexist on the Pod IP without conflicting listeners in the shared network stack.

Question 388

A Kubernetes administrator recommends: Create or synchronize the approved TLS Secret in public and reference its name in that Ingress. Which situation most directly calls for that operation?

  1. External clients need to connect via a specific worker node IP and a known cluster-allocated port without provisioning a cloud load balancer.
  2. An HTTPS Ingress in the public namespace references a TLS Secret that exists only in default.
  3. A sidecar and application container in the same Pod attempt to bind different services to the same port and one fails.
  4. Two ingress controllers run in the same cluster and an application is being routed by the wrong implementation.

Explanation

Correct Answer

B:

This is the original issue addressed by Ingress TLS Secret namespace: The controller can load the intended certificate from the namespace in which the Ingress exists.

Incorrect Answers

A:

That separate problem requires another operation: Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules. The application is reachable through a node address and the Service's assigned NodePort when network policies permit.

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.

D:

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.

Question 389

Two ingress controllers run in the same cluster and an application is being routed by the wrong implementation. 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. Review the CNI implementation's node-to-Pod routing and firewall assumptions before opening unrelated public LoadBalancer ports.
  3. Set spec.ingressClassName to the intended IngressClass and verify that controller's ownership status.
  4. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.

Explanation

Correct Answer

C:

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

Incorrect Answers

A:

This instead addresses LoadBalancer pending external IP: An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware. It does not directly correct the original IngressClass differentiation issue.

B:

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 IngressClass differentiation 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 IngressClass differentiation issue.

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.