Free · CKAD · no sign-up
CKAD practice test
Original unofficial practice questions for Kubernetes application development topics: design and build, environment and security, deployment, observability, and services and networking. Not an official CNCF or Linux Foundation exam.
The free timed mock has 50 questions, a 90-minute limit and a 70% pass mark. This is an unofficial practice format, not the format of any certification exam.
Every question is original unofficial practice for Kubernetes application development topics.
- Free, no account
- Every answer cites its source
- No paywall on the full mock
Topics
20% of the mock19 free Application Deployment
21% of the mock20 free Application Observability and Maintenance
15% of the mock14 free Application Environment, Configuration and Security
24% of the mock23 free Services and Networking
21% of the mock20 free
Browse practice questions
Application Design and Build (19)
- A container needs temporary working storage that can spill onto disk if memory pressure occurs, without using a network PersistentVolume. Which volume configuration fits best?
- A CronJob named daily-compact has startingDeadlineSeconds: 60 and schedule: '0 1 * * *'. What happens if the cluster control plane is unavailable from 01:00 to 01:05 and recovers at 01:05?
- A Job has completions: 6, parallelism: 2, and completionMode: Indexed. What environment variable does each Pod receive to identify its work index from 0 to 5?
- A Pod has two initContainers (init-schema then init-seed) and one app container. If init-seed fails with exit code 1 on a Pod whose restartPolicy is Never, what happens to the Pod?
- A Pod must mount a ConfigMap named feature-flags so each key in the ConfigMap appears as a separate file under /etc/config, and the container must NOT fail to start if feature-flags is temporarily absent. Which field enables that behavior?
Practice all 19 Application Design and Build questions one at a time
Application Deployment (20)
- A Deployment has progressDeadlineSeconds: 30 and a new ReplicaSet takes 45 seconds to become ready due to a slow image pull. What happens to the Deployment object itself?
- A Deployment has replicas: 3, maxSurge: 1, and maxUnavailable: 0. During a rolling update, which sequence of Pod counts is valid?
- A Deployment is stuck in Progressing condition with message 'ReplicaSet ... has timed out progressing' because new Pods fail readiness probes. What is the fastest way to return traffic to the previous working version using kubectl?
- A Deployment named checkout has revisionHistoryLimit: 3 and has undergone 6 rollouts. How many old ReplicaSets does the Deployment controller typically retain?
- After running kubectl rollout pause deployment/api -n staging and updating the container image and environment variables, which command resumes the rollout?
Practice all 20 Application Deployment questions one at a time
Application Observability and Maintenance (14)
- A container exits with exit code 137. In Linux and Kubernetes, what does exit code 137 most commonly indicate?
- A container fails its livenessProbe repeatedly after startup. What action does kubelet take?
- A distroless container image has no shell (/bin/sh) or debugging utilities installed, and you need to inspect live processes and network connections inside a running Pod named checkout-api in namespace shop. Which command attaches an interactive troubleshooting container?
- A legacy application takes up to 90 seconds to initialize before responding to health checks. If you configure livenessProbe with periodSeconds: 5 and failureThreshold: 3 without a startupProbe, what happens?
- A Pod is in Pending state and Events show '0/3 nodes are available: 3 Insufficient memory'. What is the most direct fix?
Practice all 14 Application Observability and Maintenance questions one at a time
Application Environment, Configuration and Security (23)
- A container image has default user UID 0. If you set securityContext.runAsNonRoot: true on the container without setting runAsUser to a non-zero UID, what happens?
- A container sets readOnlyRootFilesystem: true, and the application writes temporary lock/cache files to /tmp. Which change allows /tmp to be writable while keeping the rest of the root filesystem read-only?
- A developer wants to run a Pod with seccompProfile set to the container runtime's default profile. Where is seccompProfile configured in a Pod manifest?
- A Pod has spec.containers[0].resources.requests.memory: 256Mi and limits.memory: 256Mi, and no CPU values set. What Quality of Service (QoS) class does Kubernetes assign to this Pod?
- A Pod mounts a Secret named api-token as a file at /run/secrets/token. If you update the Secret's data in Kubernetes, what happens to the file at /run/secrets/token inside the running container?
Practice all 23 Application Environment, Configuration and Security questions one at a time
Services and Networking (20)
- A NetworkPolicy in namespace prod has spec.podSelector: { matchLabels: { role: db } }, ingress: [{ from: [{ podSelector: { matchLabels: { role: api } } }], ports: [{ protocol: TCP, port: 5432 }] }], and policyTypes: [Ingress]. Which traffic does it allow?
- A NodePort Service has type: NodePort, port: 80, targetPort: 8080, and nodePort: 30080. How can an external client reach the Service via a cluster node's IP?
- A Pod has spec.dnsPolicy: ClusterFirst. Which DNS server does it query by default for cluster service names?
- A Service named api-svc has selector app: api, port: 80, and targetPort: 8080, while the target Deployment's Pods have label app: api-v2 and containerPort: 8080. Why does curl to api-svc fail or time out?
- A Service named auth-svc exists in namespace iam, and your Pod is in namespace app. Which short DNS name resolves auth-svc from inside namespace app?
Practice all 20 Services and Networking questions one at a time
Timed mock exam
The free mock draws 50 questions across the topics above (10/10/7/13/10), runs a 90-minute clock and scores you by topic. No account needed. Start the timed mock.
Topic weights: Unofficial practice split from this bank's topic tags. Weights follow the number of items in each topic, not an official CKAD blueprint.
Other free practice tests
- FAA Part 107 practice test
- Angular 22 practice test
- Java 25 practice test
- Security+ SY0-701 practice test
- AWS Cloud Practitioner practice test
- Azure Fundamentals practice test
- A+ 220-1201 practice test
- A+ 220-1202 practice test
- Network+ N10-009 practice test
- Cloud Digital Leader practice test
- US Citizenship Civics practice test
- US Citizenship 65/20 practice test
- Business Analyst practice test
- PSM I practice test
- Part 107 Recurrent practice test
- CySA+ CS0-004 practice test
- CBAP practice test
- CISSP practice test
- Salesforce Admin practice test
- Cloud ACE practice test
- ISTQB CTFL practice test
- Electrical practice test
- HVAC 608/NATE practice test
- Plumbing practice test
- ITIL 4 practice test
- CCNA practice test
- PMP practice test
- PSM II practice test