Certified Kubernetes Administrator Dumps & Practice Exams for CKA Success
- CertiMaan
- Oct 24, 2025
- 8 min read
Updated: Dec 24, 2025
Accelerate your preparation for the Certified Kubernetes Administrator (CKA) exam with our curated set of updated dumps and mock exams. These CKA practice materials are tailored to reflect real exam scenarios and cover all core domains, including cluster architecture, installation, networking, workloads, and troubleshooting. Ideal for Kubernetes professionals aiming to validate their hands-on skills, these practice tests help you assess readiness, fill knowledge gaps, and boost exam confidence. From CKA exam cost details to comprehensive dumps and practical simulations, this guide equips you with everything you need to pass the CKA certification on your first try.
Certified Kubernetes Administrator Dumps & Sample Questions List :
1. When configuring a RollingUpdate strategy in a Deployment, which parameter directly controls the maximum number of pods unavailable during the update?
`maxSurge`
`minReadySeconds`
`revisionHistoryLimit`
`maxUnavailable`
2. When defining a Pod template in a Deployment, which field is used to attach metadata (like labels) to the Pods?
`pod.metadata`
`template.spec`
`template.metadata`
`spec.template.metadata`
3. Which probe type restarts a container if it fails but allows traffic to reach the pod while the container is initializing?
ReadinessProbe
LivenessProbe
StartupProbe
HealthProbe
4. What is the primary purpose of a ReplicaSet in Kubernetes?
To manage the update strategy for Pods
To ensure a specified number of pod replicas are running at any time
To expose Pods as network services
To schedule Pods on specific nodes
5. What happens when a Pod's `resources.limits.cpu` is set to "1" but `resources.requests.cpu` is unset?
The Pod is scheduled with no CPU guarantees
The Pod defaults to Burstable QoS class
The Pod inherits the node's CPU capacity
Kubernetes rejects the Pod spec
6. In a Deployment, what does the `revisionHistoryLimit` field control?
The number of old ReplicaSets retained for rollback
The maximum number of revisions stored in etcd
The number of previous container images kept
The number of failed rollback attempts recorded
7. How do you immediately terminate all Pods in a Deployment named `app-frontend`?
`kubectl delete pods -l app=app-frontend`
`kubectl scale deployment app-frontend --replicas=0`
`kubectl rollout restart deployment/app-frontend`
`kubectl patch deployment app-frontend -p '{"spec":{"replicas":0}}'`
8. Which of the following commands is used to view the rollout history of a Deployment?
`kubectl history deployment/my-deployment`
`kubectl get deployments my-deployment --show-history`
`kubectl rollout history deployment/my-deployment`
`kubectl logs deployment/my-deployment`
9. Which field ensures a Pod is scheduled only on nodes with SSD disks using node affinity?
`requiredDuringSchedulingIgnoredDuringExecution`
`preferredDuringSchedulingIgnoredDuringExecution`
`nodeSelectorTerms`
`podAntiAffinity`
10. What happens when a Pod's `restartPolicy` is set to "Never" and the main container exits with a non-zero code?
The Pod is rescheduled on another node
The container is restarted indefinitely
The Pod phase becomes "Failed"
Kubernetes deletes the Pod immediately
11. A ReplicaSet shows 3/5 pods "Ready". What does this indicate?
Two pods failed liveness probes
Two pods are pending resource allocation
Two pods are running but not passing readiness probes
Two pods are terminated
12. How does a LivenessProbe affect a container that fails the probe?
The container is terminated and restarted
The Pod is removed from service endpoints
The container is given more resources
The Pod is evicted and rescheduled
13. What is the purpose of `terminationGracePeriodSeconds` in a Pod spec?
Delays SIGTERM signal after a probe failure
Sets time for pre-stop hooks before SIGKILL
Defines interval between liveness probe checks
Configures timeout for initial container startup
14. Which annotation is used to control the update strategy of a Deployment?
It is defined in the `strategy` field, not an annotation
`spec.updateStrategy`
15. Which command rolls back a Deployment to its previous revision?
`kubectl rollout undo deployment/myapp`
`kubectl rollout history deployment/myapp --revision=1`
`kubectl apply -f previous.yaml`
`kubectl edit deployment/myapp`
16. What is the effect of setting `spec.strategy.type` to "Recreate" in a Deployment?
Pods are updated in a rolling fashion
New Pods are created only after old Pods are terminated
Pods are updated in batches
Only one Pod is updated at a time
17. What occurs if a StartupProbe exceeds `failureThreshold`?
Traffic is removed from the pod
The container restarts
The pod enters "CrashLoopBackOff"
Kubernetes reschedules the pod
18. In a Pod's container definition, what does the `command` field override?
The Docker ENTRYPOINT
The Docker CMD
Both ENTRYPOINT and CMD
The Docker WORKDIR
19. How are Pods matched to a ReplicaSet?
Via Deployment UID
Using `metadata.ownerReferences`
Through Service selectors
By ReplicaSet name in Pod annotations
20. What is the purpose of the `kubectl rollout pause` command?
To temporarily stop the Deployment from reconciling changes
To halt all Pods in a Deployment
To stop the current rollout
To prevent new revisions from being created
21. Which resource directly manages desired pod count independently of update strategies?
Deployment
ReplicaSet
StatefulSet
DaemonSet
22. Which of the following is true about PodDisruptionBudget?
It ensures a minimum number of Pods are always running during voluntary disruptions
It prevents all voluntary disruptions
It is applied to individual Pods
It only works with ReplicaSets
23. What does `kubectl set image deployment/nginx nginx=nginx:1.25` achieve?
Creates a new ReplicaSet for nginx:1.25
Patches existing pods in-place
Triggers a rolling update to the new image
Updates only the Deployment metadata
24. How do you set an environment variable in a Pod's container to the value of a field from the Pod's metadata?
Using `valueFrom.fieldRef`
Using `valueFrom.configMapKeyRef`
Using `valueFrom.secretKeyRef`
It is not possible
25. What does the `kubectl rollout status` command do?
Shows the history of rollouts
Displays the current state of a rollout
Rolls back to the previous revision
Pauses an ongoing rollout
26. Which of the following is a valid scaling command for a Deployment?
`kubectl scale --deployment my-deployment --count 5`
`kubectl scale deployment my-deployment --replicas=5`
`kubectl set replicas deployment my-deployment=5`
`kubectl edit deployment my-deployment` and change `replicas`
27. Which of the following is a valid way to set resource requests for a container?
`resources: requests: cpu: "500m"`
`requests: resources: cpu: "500m"`
`resources: {requests: {cpu: "500m"}}`
`spec: resources: requests: cpu: "500m"`
28. A Pod's readiness probe fails. What is the immediate consequence?
The Pod is restarted
The Pod is removed from Service endpoints
The Pod is terminated
The node is cordoned
29. What is the effect of `hostNetwork: true` in a Pod spec?
The Pod uses the node's network namespace
The Pod gets a public IP address
The Pod can access host services
The Pod shares the node's hostname
30. What is the default value for `spec.strategy.rollingUpdate.maxSurge` in a Deployment?
0
1
25%
50%
31. How do you add a label to a Pod named `mypod`?
`kubectl label pod mypod key=value`
`kubectl annotate pod mypod key=value`
`kubectl set label pod/mypod key=value`
`kubectl edit pod mypod` and add the label
32. Which of the following fields is used to set the initial delay for a LivenessProbe?
`initialDelay`
`initialDelaySeconds`
`delay`
`startDelay`
33. Which of the following is a valid use case for an init container?
To run the main application
To collect configuration data before the main container starts
To monitor the main container
To handle incoming requests
34. How can you make a Pod stick to a specific node without using node affinity?
Using `nodeName` in Pod spec
Using `nodeSelector` with a label
Using `podAffinity`
Using `tolerations`
35. What is the purpose of the `imagePullPolicy` field?
To specify the image registry
To control when the image is pulled
To set the image pull timeout
To provide credentials for the registry
36. What is the purpose of the `kubectl rollout resume` command?
To restart a failed rollout
To continue a paused Deployment
To roll back to a previous revision
To retry a rollout after failure
37. How does a Pod's `dnsPolicy` set to `ClusterFirst` affect DNS resolution?
The Pod uses the node's DNS settings
The Pod uses Kubernetes DNS for internal names and forwards others to upstream DNS
The Pod only resolves cluster-internal names
The Pod ignores Kubernetes DNS
38. In the context of resource management, what happens if a container exceeds its memory limit?
The container is terminated with OOMKilled
The container is throttled
The Pod is evicted
Kubernetes increases the limit automatically
39. Which command lists all Pods with their node assignment?
`kubectl get pods -o wide`
`kubectl get pods --show-nodes`
`kubectl describe pods`
`kubectl get pods -o custom-columns=NAME:.metadata.name,NODE:.spec.nodeName`
40. Which of the following is not a valid probe handler?
`exec`
`httpGet`
`tcpSocket`
`udpCheck`
41. What is the effect of `spec.containers[].securityContext.privileged: true`?
The container runs as root
The container has unrestricted host access
The container can access Kubernetes secrets
The container can mount host volumes
42. How are Pods affected when their node becomes unreachable?
They are immediately deleted
They enter "Terminating" state until manually deleted
They are rescheduled after the node's `notReady` timeout
They are automatically recreated by the controller after the node's `unreachable` taint is applied
43. When using `kubectl apply -f deployment.yaml`, what is the role of the `kubectl.kubernetes.io/last-applied-configuration` annotation?
It stores the previous configuration for rollback
It records the last applied configuration for computing changes
It holds the history of all changes
It is used by Helm for revision tracking
44. What is the main advantage of using a Deployment over directly creating a ReplicaSet?
Deployments are more lightweight
Deployments provide rollback and history features
ReplicaSets cannot scale Pods
Deployments support stateful applications
45. Which of the following is true about `emptyDir` volumes?
They persist across Pod restarts
They are deleted when the Pod is removed
They can be shared across nodes
They require a PersistentVolume
46. Which field in a Pod spec allows you to run commands before the container terminates?
`preStop` handler in lifecycle hooks
`postStart` handler in lifecycle hooks
`terminationCommand`
`initContainers`
47. How do you configure a Deployment to use a specific ServiceAccount for its Pods?
Set `spec.serviceAccount` in the Deployment
Set `spec.template.spec.serviceAccountName`
Use `automountServiceAccountToken: true`
Create a RoleBinding for the Deployment
48. What is the purpose of `activeDeadlineSeconds` in a Pod?
Maximum time a Pod can run before being terminated
Time to wait before restarting a failed container
Time to wait for a Pod to become ready
Time to wait for a node to become available
49. What does the `kubectl rollout undo` command do by default?
Reverts to the last successful revision
Reverts to the first revision
Pauses the rollout
Deletes the Deployment
50. Which of the following is a valid way to set a node affinity preferred rule?
`preferredDuringSchedulingIgnoredDuringExecution`
`requiredDuringSchedulingRequiredDuringExecution`
`preferredDuringSchedulingRequiredDuringExecution`
`requiredDuringSchedulingIgnoredDuringExecution`
FAQs
1. What is the Certified Kubernetes Administrator (CKA) certification?
The Certified Kubernetes Administrator (CKA) certification validates your skills in deploying, managing, and troubleshooting Kubernetes clusters in production environments.
2. How do I become a Certified Kubernetes Administrator?
You must pass the CKA exam administered by the Cloud Native Computing Foundation (CNCF), demonstrating hands-on knowledge of Kubernetes operations and administration.
3. What are the prerequisites for the CKA exam?
There are no strict prerequisites, but prior experience with Linux, Docker, and Kubernetes basics is recommended.
4. How much does the Certified Kubernetes Administrator (CKA) exam cost?
The exam costs $395 USD, which includes one free retake.
5. How many questions are in the CKA exam?
The CKA exam has 15–20 performance-based tasks that must be completed in 2 hours in a real command-line environment.
6. What topics are covered in the Certified Kubernetes Administrator exam?
It covers Cluster Architecture, Installation, Workloads, Networking, Security, Storage, and Troubleshooting.
7. How difficult is the Kubernetes CKA exam?
The exam is considered moderately difficult, as it requires real-time command-line execution and practical problem-solving skills.
8. How long does it take to prepare for the Certified Kubernetes Administrator exam?
Most learners take 6–8 weeks of consistent study and hands-on lab practice to prepare effectively.
9. What jobs can I get after earning the Certified Kubernetes Administrator certification?
You can work as a Kubernetes Administrator, DevOps Engineer, Cloud Engineer, or Site Reliability Engineer (SRE).
10. How much salary can I earn with a Certified Kubernetes Administrator certification?
Professionals with a CKA certification typically earn between $100,000–$140,000 per year, depending on their experience and region.

Comments