Free CKA Practice Exam 2 | Kubernetes Administrator Mock Test

Free CKA mock test
Free CKA Practice Exam 2 | Kubernetes Administrator Mock Test

Sharpen your Kubernetes admin decision making with another free mock exam.

Take this second free CKA practice exam to keep building speed and confidence across Kubernetes administration topics. It is useful for candidates who want more than a single mock test before attempting the Certified Kubernetes Administrator exam.

Retake anytime No signup required Instant answer explanations CKA-focused questions

Start the practice exam below, answer every question honestly, and use the explanations to decide what to study next. Revisit the test whenever you want to sharpen weaker topics and track improvement.

0

CKA 2

1 / 10

Question

Perform the following tasks:

  • Create a Kubernetes secret named super-secret with the key password and value bob.

  • Create a pod named pod-secrets-via-file using the redis image, which mounts the secret at /secrets.

  • Create a second pod named pod-secrets-via-env using the redis image, which exposes the secret via an environment variable named CONFIDENTIAL.

Which configuration correctly implements the required setup?

2 / 10

Question

Perform the following tasks:

  • Add an init container to the pod named hungry-bear, defined in the spec file at /opt/KUCC00108/pod-spec-KUCC00108.yaml

  • The init container should create an empty file at /workdir/calm.txt

  • If /workdir/calm.txt is not present, the pod should exit

  • Once updated, create the pod using this spec file

Which of the following correctly modifies the YAML to meet all requirements?

3 / 10

Question

You are required to schedule a Pod with the following characteristics:

  • Pod Name: kucc1

  • Number of App Containers: 2

  • Container Name/Image pairs:

    • nginx (image: nginx)

    • consul (image: consul)

Which of the following configurations will correctly create this pod?

4 / 10

Question

You are given access to a broken single-node Kubernetes cluster on host Cka000059, which was migrated from another machine.

  • The original cluster used an external etcd server.

  • After the migration, some cluster components are broken.

  • Your task is to identify the misconfiguration and fix all broken components so the cluster can run successfully again.

What is the correct sequence of actions to fix the issue?

5 / 10

Question

Configure the kubelet systemd-managed service on the node labeled with name=wk8s-node-1 so that it automatically launches a pod containing:

  • A single container

  • Image: httpd

  • Container name: webtool

🔧 Place the required pod spec file in the following directory: /etc/kubernetes/manifests

💡 You can SSH and elevate privileges using:
- ssh wk8s-node-1
- sudo -i

6 / 10

Question

You are required to list all pods, sorted by their creation timestamp (from oldest to newest).
Which of the following commands achieves this correctly?

7 / 10

Question

Create a PersistentVolume with the following specifications:

  • Name: app-data

  • Capacity: 1Gi

  • Access Mode: ReadOnlyMany

  • Type: hostPath

  • Path: /srv/app-data

Which of the following YAML definitions is correct?

8 / 10

Question

List all pods across all namespaces, showing only the pod name and namespace, using a JSONPath expression.

9 / 10

Check how many worker nodes are in the Ready state, excluding nodes tainted with NoSchedule, and write the count to the file: /opt/KUCC00104/kucc00104.txt

10 / 10

Create a deployment with the following specifications:

  • Name: nginx-app

  • Image: nginx:1.11.10-alpine

  • Replicas: 3

Then:

  1. Perform a rolling update to version 1.11.13-alpine.

  2. Rollback the deployment to version 1.11.10-alpine.

Which of the following command sets will correctly complete this task?

Your score is

0%

What this free exam covers

  • Admin troubleshooting and command accuracy
  • Cluster maintenance and day-two operations
  • Storage, services, and workload behavior
  • Secrets, configuration, and security choices
  • Node and pod lifecycle decisions
  • Exam-style Kubernetes administrator scenarios

How to get more value from this mock test

  • Take your first attempt without notes so your score reflects real exam readiness.
  • Review every explanation, not just the questions you missed.
  • Group mistakes into topics, then study those topics before retaking the test.
  • Use repeated practice to improve speed, confidence, and pattern recognition.

Why free practice exams matter

Free exam prep lowers the barrier for learners who want to improve without paying for every mock test. That makes these pages more useful, more shareable, and more likely to attract returning visitors who are actively preparing for certification.

FAQ

Is this CKA practice exam free?

Yes. You can use this free CKA mock test without paying, which makes it useful for repeated administration-focused revision.

What does this CKA mock test help me practice?

It helps you rehearse Kubernetes administrator thinking across troubleshooting, cluster operations, networking, storage, and exam-style decision making.

Should I only rely on practice questions for CKA?

No. A strong CKA prep plan should also include command-line labs, kubectl speed practice, and hands-on troubleshooting in a cluster environment.