Courseiva
← Back to Certified Kubernetes Administrator CKA questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Certified Kubernetes Administrator CKA practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

6
scenario questions
CKA
exam code
CNCF
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related CKA topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummultiple choice
Full question →

Refer to the exhibit. The master node shows NotReady status. The kubelet is reporting 'container runtime is down'. Which command should be used to investigate and fix this issue?

Exhibit

```
$ kubectl get nodes
NAME     STATUS   ROLES                  AGE   VERSION
master   NotReady control-plane,master   10d   v1.28.0
node1    Ready    <none>                 10d   v1.28.0

$ kubectl describe node master | grep -A5 Conditions
Conditions:
  Type                 Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----                 ------  -----------------                 ------------------                ------                       -------
  NetworkUnavailable   False   Mon, 01 Jan 2024 12:00:00 +0000   Mon, 01 Jan 2024 12:00:00 +0000   CalicoIsUp                   Calico is running on this node
  MemoryPressure       False   Mon, 01 Jan 2024 12:00:00 +0000   Mon, 01 Jan 2024 12:00:00 +0000   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure         False   Mon, 01 Jan 2024 12:00:00 +0000   Mon, 01 Jan 2024 12:00:00 +0000   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure          False   Mon, 01 Jan 2024 12:00:00 +0000   Mon, 01 Jan 2024 12:00:00 +0000   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready                False   Mon, 01 Jan 2024 12:00:00 +0000   Mon, 01 Jan 2024 12:00:00 +0000   KubeletNotReady              container runtime is down
```
Question 2hardmultiple choice
Full question →

Refer to the exhibit. A pod is defined with an emptyDir volume using memory medium. The pod is scheduled on a node with 4 GB of RAM. The container writes 3 GB of data to /cache. What will happen?

Exhibit

apiVersion: v1
kind: Pod
metadata:
  name: test-pod
spec:
  containers:
  - name: test
    image: busybox
    command: ["sleep", "3600"]
    volumeMounts:
    - name: cache
      mountPath: /cache
  volumes:
  - name: cache
    emptyDir:
      medium: Memory
Question 3hardmultiple choice
Full question →

Based on the exhibit, what is the most likely cause of the pod not running?

Exhibit

Refer to the exhibit.
$ kubectl describe pod nginx-pod
...
Events:
  Type     Reason                  Age   From               Message
  ----     ------                  ----  ----               -------
  Normal   Scheduled               2m    default-scheduler  Successfully assigned default/nginx-pod to node-1
  Warning  FailedMount             2m    kubelet            MountVolume.SetUp failed for volume "config" : secrets "my-secret" not found
  Warning  FailedMount             1m    kubelet            MountVolume.SetUp failed for volume "config" : secrets "my-secret" not found
  Warning  FailedMount             30s   kubelet            MountVolume.SetUp failed for volume "config" : secrets "my-secret" not found
Question 4mediummultiple choice
Full question →

Based on the exhibit, the pod is in CrashLoopBackOff. Which command should you run NEXT to identify the root cause?

Exhibit

Refer to the exhibit.

$ kubectl get pods -n production
NAME                    READY   STATUS             RESTARTS   AGE
api-6f4d7b9d4c-abcde   0/1     CrashLoopBackOff   5          3m

$ kubectl describe pod api-6f4d7b9d4c-abcde -n production
...
Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  3m40s                 default-scheduler  Successfully assigned production/api-6f4d7b9d4c-abcde to node-1
  Normal   Pulled     3m30s                 kubelet            Container image "nginx:1.21" already present on machine
  Normal   Created    3m30s                 kubelet            Created container api
  Normal   Started    3m30s                 kubelet            Started container api
  Warning  BackOff    1s (x5 over 3m)       kubelet            Back-off restarting failed container
Question 5hardmultiple choice
Full question →

Refer to the exhibit. A Kubernetes cluster was initialized using kubeadm with the command shown. After initialization, the cluster nodes are in NotReady state. Which is the most likely missing step?

Network Topology
$ kubeadm initpod-network-cidr=10.244.0.0/16apiserver-advertise-address=192.168.1.100```[init] Using Kubernetes version: v1.28.0[certs] Using certificateDir folder "/etc/kubernetes/pki"[kubeconfig] Using kubeconfig folder "/etc/kubernetes"[kubeconfig] Writing "admin.conf" kubeconfig file[kubeconfig] Writing "kubelet.conf" kubeconfig file[kubeconfig] Writing "controller-manager.conf" kubeconfig file[kubeconfig] Writing "scheduler.conf" kubeconfig file[control-plane] Using manifest folder "/etc/kubernetes/manifests"
Question 6mediummultiple choice
Full question →

Refer to the exhibit. An administrator creates a token with TTL 0. What is the effect on the token?

Network Topology
$ kubeadm token createttl 0$ kubeadm token listabcdef.0123456789abcdef

These CKA practice questions are part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style CKA questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.