Courseiva
Back to Certified Kubernetes Administrator CKA questions

Scenario-based practice

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

20
scenario questions
CKA
exam code
CNCF
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider 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 1hardmultiple choice
Full question →

A cluster administrator notices that nodes are not joining the cluster after a kubeadm init. The kubelet logs show: 'failed to run Kubelet: could not init service: open /var/lib/kubelet/config.yaml: permission denied'. What is the most likely cause?

Question 2hardmulti select
Full question →

Which THREE are valid methods to restore an etcd cluster from a snapshot? (Select 3)

Question 3hardmultiple choice
Full question →

A Pod is stuck in Pending state. 'kubectl describe pod' shows the event: '0/4 nodes are available: 1 node had taint {node-role.kubernetes.io/control-plane: }, that the pod didn't tolerate, 3 Insufficient cpu.' Which of the following is the most likely combination of issues?

Question 4hardmultiple choice
Full question →

You have a cluster with multiple worker nodes. You need to upgrade the cluster from v1.28.0 to v1.29.0 using kubeadm. What is the correct sequence of steps?

Question 5hardmultiple choice
Full question →

You run 'kubectl top nodes' and get an error: 'error: metrics not available yet'. Which of the following is the MOST likely cause?

Question 6hardmultiple choice
Full question →

A Job named 'pi' runs a container that computes pi to 2000 digits. The Job's spec has completions=3 and parallelism=2. After some time, you observe that two pods completed successfully, and the third pod is still running. What is the expected behavior when the third pod completes?

Question 7hardmulti select
Full question →

Which TWO of the following could cause a Node to be in NotReady state?

Question 8hardmultiple choice
Full question →

A Pod is stuck in Pending state. Running 'kubectl describe pod' shows '0/3 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/control-plane: }, 2 node(s) had taint {node-role.kubernetes.io/master: }'. The Pod does not have tolerations. What is the most likely cause?

Question 9hardmulti select
Full question →

Which THREE of the following are valid steps to troubleshoot a Node in NotReady state? (Choose three)

Question 10hardmultiple choice
Full question →

A kubeadm cluster is being upgraded from v1.28 to v1.29. You have upgraded the control plane components on the first master node. What is the NEXT step according to the recommended upgrade procedure?

Question 11hardmulti select
Full question →

Which TWO of the following are valid ways to isolate a set of pods from all ingress traffic except from monitoring pods?

Question 12hardmultiple choice
Full question →

You have configured a ServiceAccount with an associated image pull secret. The Pod referencing this ServiceAccount still fails with ImagePullBackOff due to authentication errors. What is the most likely misconfiguration?

Question 13hardmultiple choice
Full question →

Refer to the exhibit. A new worker node (node2) has been added to the cluster. It shows NotReady status, and a CertificateSigningRequest (CSR) is pending. What step must the cluster administrator take to make node2 ready?

Exhibit

```
$ kubectl get csr
NAME        AGE   SIGNERNAME                                    REQUESTOR          REQUESTDURATION   CONDITION
csr-node2   10m   kubernetes.io/kube-apiserver-client-kubelet   kubelet-bootstrap   <none>            Pending

$ kubectl describe csr csr-node2
Name:               csr-node2
Labels:             <none>
Annotations:        <none>
CreationTimestamp:  Mon, 01 Jan 2024 12:00:00 +0000
Requesting User:    kubelet-bootstrap
Signer:             kubernetes.io/kube-apiserver-client-kubelet
Status:             Pending
Subject:
  Common Name:    system:node:node2
  Organization:   system:nodes
Groups:
  system:nodes
  system:authenticated

$ kubectl get nodes
NAME     STATUS     ROLES                  AGE   VERSION
master   Ready      control-plane,master   10d   v1.28.0
node1    Ready      <none>                 10d   v1.28.0
node2    NotReady   <none>                 1m    v1.28.0
```
Question 14hardmultiple choice
Read the full DNS explanation →

You are a platform engineer managing a multi-tenant Kubernetes cluster. A development team deploys a StatefulSet for a database with the following configuration: 3 replicas, headless service 'db-headless' for DNS-based discovery, and a regular ClusterIP service 'db' for read/write operations. The cluster uses Calico CNI with default NetworkPolicy enforcement. The team reports that applications in the same namespace can connect to the ClusterIP service but cannot connect to individual pod DNS names (e.g., db-0.db-headless.namespace.svc.cluster.local). You verify that the DNS resolution works (nslookup returns the pod IP). However, a curl to the pod IP on the database port (5432) times out. You check the endpoints and they are correct. Which action should you take to resolve the connectivity issue?

Question 15hardmultiple choice
Full question →

A pod's YAML specifies 'restartPolicy: Never' and the container exits with code 0. What state will the pod be in?

Question 16hardmultiple choice
Full question →

An administrator runs 'kubeadm certs check-expiration' and sees that the kubelet client certificate expires in 7 days. What is the correct way to renew it?

Question 17hardmulti select
Full question →

Which TWO statements about EndpointSlices are correct?

Question 18hardmulti select
Full question →

Which THREE of the following are steps required when restoring an etcd cluster from a snapshot?

Question 19hardmultiple choice
Full question →

A pod is stuck in Pending state. 'kubectl describe pod' shows the event: '0/3 nodes are available: 3 node(s) didn't match pod anti-affinity rules'. What is the most likely cause?

Question 20hardmultiple choice
Full question →

A cluster has a NetworkPolicy that denies all ingress traffic by default. An administrator wants to allow TCP traffic on port 8080 from pods with label 'app: web' in the same namespace. Which NetworkPolicy egress rule is needed?

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.