DEVELOPER (CKAD) EXAMINATION
QUESTIONS AND CORRECT ANSWERS
(VERIFIED ANSWERS) PLUS RATIONALES
2026 Q&A | INSTANT DOWNLOAD PDF
1. What is the primary purpose of a Kubernetes Pod?
A. To manage cluster networking
B. To run a single instance of a containerized application
C. To store persistent data
D. To manage user authentication
Answer: B. To run a single instance of a containerized application
Rationale: A Pod is the smallest deployable unit in Kubernetes and is designed to
host one or more tightly coupled containers that share networking and storage.
It represents a single instance of a running process in the cluster.
2. Which Kubernetes object is used to ensure a specified number of pod
replicas are running?
A. Job
B. ConfigMap
C. ReplicaSet
D. Service
Rationale: A ReplicaSet ensures that a defined number of identical pod replicas
are always running, providing high availability and self-healing capabilities.
3. What command is used to create a Kubernetes deployment from a YAML
file?
A. kubectl apply -f file.yaml
, B. kubectl run deployment file.yaml
C. kubectl create pod file.yaml
D. kubectl get deployment file.yaml
Answer: A. kubectl apply -f file.yaml
Rationale: kubectl apply is the standard declarative approach used in
Kubernetes to create or update resources defined in YAML manifests.
4. Which object exposes a Kubernetes application internally or externally?
A. ConfigMap
B. Secret
C. Service
D. Volume
Rationale: A Service provides stable networking endpoints for accessing pods,
enabling internal cluster communication or external exposure.
5. What is the default restart policy for a Pod?
A. Always
B. Never
C. OnFailure
D. Always
Rationale: The default restart policy is Always, meaning containers in a Pod will
automatically restart if they fail.
6. Which command lists all pods in the current namespace?
A. kubectl get nodes
B. kubectl describe pods
C. kubectl get pods
D. kubectl list pod
Rationale: kubectl get pods retrieves a list of all pods in the current namespace.
7. What is the function of a ConfigMap?
A. Store encrypted secrets
B. Manage persistent storage
, C. Store non-sensitive configuration data
D. Manage cluster scaling
Rationale: ConfigMaps are used to decouple configuration artifacts from
container images, storing non-sensitive key-value pairs.
8. Which Kubernetes component schedules pods onto nodes?
A. kubelet
B. etcd
C. kube-scheduler
D. kube-proxy
Rationale: The kube-scheduler is responsible for assigning pods to appropriate
nodes based on resource availability and constraints.
9. What is a Namespace in Kubernetes used for?
A. Encrypt network traffic
B. Logical isolation of resources
C. Store logs
D. Manage storage volumes
Rationale: Namespaces provide a way to divide cluster resources between
multiple users or teams for isolation and organization.
10.Which command deletes a pod?
A. kubectl remove pod
B. kubectl destroy pod
C. kubectl delete pod
D. kubectl stop pod
Rationale: kubectl delete pod is used to remove a pod resource from the cluster.
11.What is the purpose of a Kubernetes Deployment?
A. Manage storage volumes
B. Provide DNS resolution
C. Manage application updates and replicas
D. Handle security policies