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 36

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.

Question 351

A Service intentionally fronts a legacy backend outside the cluster but has no matching selector-managed Pods. A colleague instead proposes: Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName. Which step best corrects the approach to the original issue?

  1. Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses.
  2. Use a Prefix pathType for /shop after confirming the desired segment-based matching behavior.
  3. Remove the conflicting host port or stop using hostNetwork for a workload that does not require it.
  4. Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName.

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

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

C:

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

D:

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

Question 352

A Kubernetes administrator recommends: Create an appropriate selectorless Service and manually supply an EndpointSlice pointing at the approved backend addresses. Which situation most directly calls for that operation?

  1. A monitoring Pod with hostNetwork: true unexpectedly conflicts with a host daemon on TCP port 9100.
  2. A Service intentionally fronts a legacy backend outside the cluster but has no matching selector-managed Pods.
  3. An Ingress path rule uses Exact for /shop but clients expect /shop/cart to match as well.
  4. An HTTPRoute is valid but no Gateway listener becomes programmed because the GatewayClass names a controller not installed in the cluster.

Explanation

Correct Answer

B:

This is the original issue addressed by Manual EndpointSlice service: The Service directs traffic to explicitly managed external endpoints rather than waiting for Pod selector discovery.

Incorrect Answers

A:

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.

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

An HTTPRoute is valid but no Gateway listener becomes programmed because the GatewayClass names a controller not installed in the cluster. Which Kubernetes administration step most directly addresses this problem?

  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. Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef.
  4. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.

Explanation

Correct Answer

B:

This action addresses GatewayClass controller mismatch: The Gateway reconciles under an available implementation rather than remaining unprogrammed.

Incorrect Answers

A:

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 GatewayClass controller mismatch issue.

C:

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 GatewayClass controller mismatch issue.

D:

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 GatewayClass controller mismatch issue.

Question 354

A Kubernetes administrator performs the following operation: Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName. Which outcome most directly follows?

  1. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.
  2. The upstream backend is restored by fixing Service endpoint selection rather than unrelated certificate settings.
  3. The Gateway reconciles under an available implementation rather than remaining unprogrammed.
  4. Inbound connections are denied for selected Pods by capable policy enforcement until explicit ingress allows exist.

Explanation

Correct Answer

C:

This is the intended effect of GatewayClass controller mismatch: The Gateway reconciles under an available implementation rather than remaining unprogrammed.

Incorrect Answers

A:

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.

B:

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.

D:

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.

Question 355

An HTTPRoute is valid but no Gateway listener becomes programmed because the GatewayClass names a controller not installed in the cluster. A colleague instead proposes: Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef. 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. Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef.
  3. Check the referenced Service name, exposed port and ready EndpointSlices before modifying TLS settings.
  4. Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName.

Explanation

Correct Answer

D:

This correction targets GatewayClass controller mismatch: The Gateway reconciles under an available implementation rather than remaining unprogrammed.

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 HTTPRoute parentRef namespace instead. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

C:

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

Question 356

A Kubernetes administrator recommends: Install or select a supported Gateway API controller and use the GatewayClass associated with its controllerName. Which situation most directly calls for that operation?

  1. An HTTPRoute is valid but no Gateway listener becomes programmed because the GatewayClass names a controller not installed in the cluster.
  2. An HTTPRoute in shop must attach to a Gateway in edge but cross-namespace attachment is not allowed by the listener policy.
  3. An ingress controller reports upstream unavailable although the host and path rule are valid.
  4. A payments namespace currently allows inbound connections from any Pod, but policy requires denying traffic unless explicitly approved.

Explanation

Correct Answer

A:

This is the original issue addressed by GatewayClass controller mismatch: The Gateway reconciles under an available implementation rather than remaining unprogrammed.

Incorrect Answers

B:

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.

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.

D:

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.

Question 357

An HTTPRoute in shop must attach to a Gateway in edge but cross-namespace attachment is not allowed by the listener policy. Which Kubernetes administration step most directly addresses this problem?

  1. Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort.
  2. Create an ingress NetworkPolicy with namespaceSelector plus podSelector and the required TCP 8080 port.
  3. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.
  4. Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef.

Explanation

Correct Answer

D:

This action addresses HTTPRoute parentRef namespace: The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

Incorrect Answers

A:

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 HTTPRoute parentRef namespace issue.

B:

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 HTTPRoute parentRef namespace issue.

C:

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 HTTPRoute parentRef namespace issue.

Question 358

A Kubernetes administrator performs the following operation: Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef. Which outcome most directly follows?

  1. The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.
  2. DNS service resolution resumes once the cluster DNS Service has healthy backing Pods.
  3. The Gateway routes through the Service port declared in the API instead of a mismatched backend reference.
  4. Only matching frontend Pods from the specified namespace satisfy the API Pod ingress allow rule.

Explanation

Correct Answer

A:

This is the intended effect of HTTPRoute parentRef namespace: The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

Incorrect Answers

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

Question 359

An HTTPRoute in shop must attach to a Gateway in edge but cross-namespace attachment is not allowed by the listener policy. A colleague instead proposes: Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort. Which step best corrects the approach to the original issue?

  1. Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort.
  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. Check CoreDNS Deployment health, DNS Service selectors and ready EndpointSlices before replacing Pod network settings.

Explanation

Correct Answer

B:

This correction targets HTTPRoute parentRef namespace: The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

Incorrect Answers

A:

This option concerns HTTPRoute backend port reference instead. The Gateway routes through the Service port declared in the API instead of a mismatched backend reference.

C:

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

D:

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

Question 360

A Kubernetes administrator recommends: Configure the Gateway listener allowedRoutes namespaces to select the intended shop namespace and use a correct parentRef. Which situation most directly calls for that operation?

  1. A backend API should accept inbound TCP port 8080 only from Pods labeled role=frontend in the web namespace.
  2. Pods cannot resolve cluster DNS names and the kube-dns Service has no healthy endpoints.
  3. An HTTPRoute in shop must attach to a Gateway in edge but cross-namespace attachment is not allowed by the listener policy.
  4. Traffic reaches a Gateway but returns backend errors because the HTTPRoute backendRef uses 8080 while the Service exposes port 80.

Explanation

Correct Answer

C:

This is the original issue addressed by HTTPRoute parentRef namespace: The HTTPRoute can attach to the Gateway through an explicitly authorized namespace boundary.

Incorrect Answers

A:

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.

B:

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.

D:

That separate problem requires another operation: Change HTTPRoute backendRefs port to the Service's exposed port 80 rather than its Pod targetPort. The Gateway routes through the Service port declared in the API instead of a mismatched backend reference.