CNCF CKA Exam Dumps, Practice Test Questions

100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

CNCF CKA Premium Bundle
$64.98
$54.98

CKA Premium Bundle

  • Premium File: 58 Questions & Answers. Last update: Nov 30, 2026
  • Training Course: 138 Video Lectures
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

CKA Premium Bundle

CNCF CKA Premium Bundle
  • Premium File: 58 Questions & Answers. Last update: Nov 30, 2026
  • Training Course: 138 Video Lectures
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$64.98
$54.98

CNCF CKA Practice Test 58

Question 570

The control plane and `kubectl get pods` work, but `kubectl top pods` fails with `the server could not find the requested resource` for `metrics.k8s.io`. Choose THREE useful diagnostic actions.

  1. Delete all ResourceQuotas to make kubectl top operational.
  2. Increase each application Service NodePort to 30000.
  3. Assume core Pod listing proves the aggregated metrics API is healthy.
  4. Inspect the `metrics.k8s.io` APIService and its Available condition.
  5. Validate metrics-server access to kubelet summary or resource metrics paths and related TLS configuration.
  6. Check metrics-server Deployment readiness and logs if that component is installed.

Explanation

Correct Answers

D:

The aggregated metrics API must be registered and reachable for kubectl top to retrieve resource measurements.

E:

The metrics pipeline depends on collecting node/Pod measurements through kubelet endpoints.

F:

An unavailable metrics-server can prevent the aggregated metrics endpoint from serving data.

Incorrect Answers

A:

Namespace quota admission does not register or repair the metrics API.

B:

Application Service ports are independent of the metrics API registration and collection pipeline.

C:

Core API object listing and metrics.k8s.io are separate API capabilities.

Question 571

Two Ingress controllers run in the cluster. An Ingress is annotated for class `edge-nginx` but the intended controller watches only class `public-nginx`; its load balancer never gets an applicable rule. Which correction matches the symptom? Choose ONE answer.

  1. Remove all backend Service selectors.
  2. Set `spec.ingressClassName` to the intended installed IngressClass and verify controller events.
  3. Increase a PVC capacity request by one GiB.
  4. Change the application Pod restartPolicy from Always to Never.

Explanation

Correct Answer

B:

Ingress controllers typically reconcile resources matching their class; a wrong class can leave the rule ignored.

Incorrect Answers

A:

That would eliminate healthy endpoints, not repair which controller manages the Ingress.

C:

Storage volume size does not cause the edge controller to watch a mismatched IngressClass.

D:

Pod restart policy does not make an Ingress resource select the desired controller.

Question 572

A support engineer may `kubectl get pods -n qa`, but `kubectl logs` is Forbidden for the same Pods. RBAC uses a Role that lists only resource `pods` with verbs `get,list`. What additional scoped permission is needed? Choose ONE answer.

  1. Grant `update` on `pods/status` only.
  2. Give `create` on all Secrets cluster-wide.
  3. Add `get` on the `pods/log` subresource in `qa` and bind it to the engineer.
  4. Add `delete` on Deployments in `qa`.

Explanation

Correct Answer

C:

Reading logs is a separate `pods/log` API request; plain `pods` access does not authorize log retrieval.

Incorrect Answers

A:

Status updates are a different subresource and do not allow log reads.

B:

Secrets permissions are unrelated and unnecessarily broaden sensitive access.

D:

Deleting controllers neither supplies the log API authorization nor meets least privilege.

Question 573

During a rolling update, a worker keeps accepting requests after receiving SIGTERM, then abruptly loses in-flight writes when its termination grace period expires. What should the application and Pod shutdown design address? Choose ONE answer.

  1. Change imagePullPolicy to Always.
  2. Raise liveness probe frequency so SIGTERM is ignored.
  3. Stop accepting new work, finish bounded in-flight operations, and set an appropriate terminationGracePeriodSeconds.
  4. Use a headless Service to disable Pod termination.

Explanation

Correct Answer

C:

The container must cooperate with termination and respect the available grace interval before forced shutdown.

Incorrect Answers

A:

Pull policy affects image retrieval, not shutdown behavior after SIGTERM.

B:

Probe frequency does not extend graceful termination or preserve in-flight writes.

D:

Headless Services affect name resolution, not workload lifecycle termination.

Question 574

An administrator runs `kubectl cordon node-x` before maintenance. Existing user Pods keep running, but new Pods are not scheduled there. What next action is necessary to attempt voluntary eviction of suitable existing Pods? Choose ONE answer.

  1. Run cordon repeatedly until all existing Pods disappear.
  2. Use `kubectl drain node-x` with appropriate safety checks and honor disruption budgets.
  3. Increase `nodePort` for each Service on the node.
  4. Delete namespace `default` to empty the node.

Explanation

Correct Answer

B:

Cordon marks the node unschedulable for new placements; drain is the operation that requests eviction of existing workloads.

Incorrect Answers

A:

Cordon alone does not evict already bound Pods.

C:

NodePort configuration does not evict Pods.

D:

Deleting a namespace is disruptive and unrelated to safe node maintenance.

Question 575

A backup of etcd was taken yesterday. Today accidental deletions damage cluster state, and an operator proposes replacing the live data directory without isolating components or checking the snapshot. What recovery discipline is most defensible? Choose ONE answer.

  1. Scale CoreDNS to zero as the complete disaster recovery procedure.
  2. Change every Namespace label to make the deleted objects reappear.
  3. Copy the snapshot into a running member data directory while writes continue.
  4. Validate the snapshot and follow the documented restore and control-plane reconfiguration sequence before reopening API traffic.

Explanation

Correct Answer

D:

Restoring etcd changes the authoritative cluster state and needs a coordinated process, not an unreviewed live directory swap.

Incorrect Answers

A:

DNS replicas do not restore lost etcd key-value data.

B:

Labels do not reconstruct deleted etcd records.

C:

Mixing restored data with live write operations risks inconsistent or corrupt membership state.

Question 576

After adding `api.prod.example` as a new control-plane DNS name, clients fail TLS verification because the serving certificate lacks that SAN. An operator runs `kubeadm certs renew apiserver` using the old certificate. Why might the failure persist? Choose ONE answer.

  1. A PodDisruptionBudget must first permit client TLS verification.
  2. A Service selector determines the serving certificate SAN.
  3. Only the client clock can ever cause a SAN mismatch.
  4. Renewal can inherit the current certificate attributes, including SANs; deliberately regenerate with the desired SAN configuration.

Explanation

Correct Answer

D:

The kubeadm certificate renewal procedure uses existing certificate attributes rather than automatically adopting every new endpoint name.

Incorrect Answers

A:

PDBs regulate voluntary Pod eviction and do not change X.509 SAN validation.

B:

Kubernetes Services do not rewrite API server certificates during routing.

C:

Time skew affects validity periods, while this case explicitly reports a missing DNS subject alternative name.

Question 577

One worker switches to `NotReady` after its kubelet client certificate expires. Network connectivity and container runtime are healthy, but kubelet API authentication fails. What evidence should be checked before replacing the node? Choose ONE answer.

  1. Inspect kubelet client-cert rotation status, certificate expiration and pending CSRs, then restore a trusted credential.
  2. Change application Ingress path matching.
  3. Reduce the size of every namespace ResourceQuota.
  4. Recreate all Pod Services with new ports.

Explanation

Correct Answer

A:

Kubelet needs valid API authentication; rotation failures or unapproved CSRs can prevent node status updates.

Incorrect Answers

B:

An Ingress rule cannot repair kubelet authentication to the API server.

C:

Namespace quotas do not renew or approve kubelet client certificates.

D:

Service routing updates do not change the node kubelet client identity.

Question 578

A Deployment rollout introduces an image tag that fails its startup probe; the old ReplicaSet remains recorded. Health checks are failing and the release must be reverted. What controlled action best restores the prior version? Choose ONE answer.

  1. Edit the ClusterIP address to an earlier IP.
  2. Delete the rollout history annotation manually.
  3. Set PodDisruptionBudget maxUnavailable to 100%.
  4. Inspect rollout history and use `kubectl rollout undo deployment/<name>` for the appropriate revision.

Explanation

Correct Answer

D:

Deployment rollout history permits returning to a previous Pod template revision while monitoring restored availability.

Incorrect Answers

A:

Service virtual IP changes do not revert the Deployment image or startup configuration.

B:

Removing history metadata does not itself restore a working ReplicaSet revision.

C:

Increasing tolerated disruption is not a rollback and may make availability worse.

Question 579

A PVC uses `volumeBindingMode: WaitForFirstConsumer`, and a consuming Pod has `spec.nodeName: node-z`. The PVC stays Pending even though compatible CSI storage is available. Choose TWO configuration changes that preserve topology-aware provisioning.

  1. Change the Service ClusterIP to node-z.
  2. Use a `nodeSelector` requiring `kubernetes.io/hostname: node-z` if placement must stay on that node.
  3. Assume WaitForFirstConsumer always provisions volumes as soon as a PVC exists.
  4. Remove the direct nodeName assignment so the scheduler can participate in first-consumer volume binding.
  5. Delete the CSI driver because delayed binding cannot coexist with CSI.

Explanation

Correct Answers

B:

A node selector constrains the scheduler without bypassing the delayed-binding workflow.

D:

Direct nodeName bypasses scheduler volume binding decisions needed by WaitForFirstConsumer.

Incorrect Answers

A:

Service addresses do not select nodes or trigger PVC topology binding.

C:

The mode intentionally delays binding/provisioning until a consumer enters scheduling.

E:

CSI drivers are supported for WaitForFirstConsumer when the storage implementation provides it.

Question 580

A process reads a ConfigMap file mounted with `subPath`. The ConfigMap is updated, but the process keeps seeing old bytes. Administrators want correct rollouts without changing Secret or RBAC scope. Choose THREE accurate statements.

  1. RBAC permissions on Deployments force existing subPath mounts to reload.
  2. A controlled Pod recreation can remount the new ConfigMap content.
  3. ConfigMap changes do not automatically propagate through an existing `subPath` volume mount.
  4. A Service targetPort change must refresh the mounted bytes.
  5. Avoid subPath for live-reloaded ConfigMap projections if automatic update propagation is required.
  6. Changing an Ingress class automatically remounts volumes for all Pods.

Explanation

Correct Answers

B:

A newly created Pod resolves its volume content using the current ConfigMap object.

C:

The subPath binding fixes the mounted file path instead of receiving projected update swaps.

E:

Normal projected ConfigMap volumes may receive eventual updates, unlike subPath mounts.

Incorrect Answers

A:

Kubernetes API authorization does not rewrite files held through subPath.

D:

Network forwarding and ConfigMap volume projection are unrelated.

F:

Ingress class affects external HTTP routing, not Pod filesystem mounts.

Certified Kubernetes Administrator (CKA) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.