T TestsWorld

Free practice test · Kubernetes / CNCF

Certified Kubernetes Application Developer (CKAD)

250 questions with a timer and instant results. Practise in short drills or take the full test, then see exactly which topics need work.

📝 250 questions ⏱ 120 min for all 🎯 Pass mark 66% 💸 Free, unlimited attempts
⚡
Short drills

Pick 10, 25 or 50 questions for a quick round, or take all of them.

💡
Learn as you go

Practice mode shows the right answer and an explanation for every question.

📊
See your weak spots

Your result shows strong and weak topics and what to read next.

What's in the test

Easy 46% Medium 49% Hard 5%
Dockerfile Instructions 5Multi-Stage Builds 1Image Optimization 1Build Cache 1Image Tags 1Kubectl Run 1Init Containers 4Sidecar Pattern 1Ambassador Pattern 1Adapter Pattern 1Multi-Container Pods 1Shared Volumes 1

Sample questions with answers

6 of the 250 questions in Certified Kubernetes Application Developer (CKAD). Try each one, then open the answer.

  1. Question 1
    Which Dockerfile instruction sets the default command run by the container?
    • A. CMD
    • B. RUN
    • C. ENTRYPOINT (which is the executable; CMD is the default args)
    • D. EXEC
    Show answer
    Answer: A. CMD
    CMD provides the default command (or default args to ENTRYPOINT). RUN runs commands at IMAGE BUILD time to install software. ENTRYPOINT sets the executable that always runs; CMD provides default args you can override at 'docker run'. Both can be set together.
  2. Question 2
    Which Dockerfile instruction copies files INTO the image from the build context?
    • A. COPY
    • B. MV
    • C. GET
    • D. FROM
    Show answer
    Answer: A. COPY
    COPY is preferred for plain file copies — explicit and predictable. ADD adds URL-fetching and tar-extraction magic. Best practice is COPY for clarity; ADD only when you need its extras.
  3. Question 3
    Which Dockerfile instruction declares which network ports the container listens on?
    • A. EXPOSE
    • B. PORT
    • C. OPEN
    • D. BIND
    Show answer
    Answer: A. EXPOSE
    EXPOSE is metadata — it documents the intended ports for image consumers. Kubernetes ignores EXPOSE when computing networking; containers.ports[].containerPort in pod spec does the actual declaration. EXPOSE is good documentation, nothing more.
  4. Question 4
    Which Dockerfile instruction sets the working directory for subsequent instructions?
    • A. WORKDIR
    • B. CWD
    • C. CD
    • D. SETDIR
    Show answer
    Answer: A. WORKDIR
    WORKDIR /app sets the cwd for RUN, CMD, ENTRYPOINT, COPY, ADD that follow. Equivalent to 'cd' but persistent. Use WORKDIR (not 'RUN cd ...') because shell 'cd' doesn't persist across RUN layers.
  5. Question 5
    Which is TRUE about multi-stage Docker builds?
    • A. Stages are named with AS and copied from with COPY --from
    • B. Each stage adds its layers to the final image's layer stack
    • C. Multi-stage builds require Docker Compose to orchestrate stages
    • D. A Dockerfile can define at most two build stages
    Show answer
    Answer: A. Stages are named with AS and copied from with COPY --from
    Multi-stage builds run 'build' tooling (compilers, package managers) in one stage and produce only the binary in a tiny final stage (FROM scratch / alpine). Dramatically reduces final image size and attack surface. Standard pattern for Go, Java, Node, Python apps.
  6. Question 6
    Which is the BEST way to keep a container image small?
    • A. Minimal base image plus a multi-stage build
    • B. Run apt-get install -y for every tool you might need
    • C. Use the largest base image for maximum compatibility
    • D. Always start FROM ubuntu:latest with full tooling
    Show answer
    Answer: A. Minimal base image plus a multi-stage build
    Small images speed up pulls, reduce CVE surface, fit better in registry storage. distroless (gcr.io/distroless/static) is great for static binaries. alpine is small but uses musl libc (compatibility footgun for some apps). scratch is the absolute minimum.

Want all 250 with a timer and a topic-wise result? Start the free test at the top of this page.

About this practice test

The Certified Kubernetes Application Developer (CKAD) is the second pillar of the Kubernetes certification arc — issued by the Cloud Native Computing Foundation (CNCF) and administered by the Linux Foundation. While CKA focuses on the cluster operator, CKAD focuses on the application developer: designing, building, deploying, configuring, and observing applications running on Kubernetes.

This practice test gives you 250 scenario-style multiple-choice questions with detailed, multi-sentence explanations. Questions reference real kubectl commands, container patterns, YAML manifests, and the day-to-day workflow of shipping apps to Kubernetes. The bank follows the latest CKAD curriculum and matches the exam blueprint's domain weighting.

What the CKAD exam covers

  • Application Design and Build (20%) — defining and building container images, understanding Jobs and CronJobs, multi-container pod design patterns (sidecar, init, ambassador, adapter), persistent and ephemeral volumes, ConfigMap and Secret consumption for applications.
  • Application Deployment (20%) — Deployments and rolling updates, blue/green and canary patterns at the cluster level, Helm packaging and templating, Kustomize overlays for environment-specific config, working with custom resources (CRDs).
  • Application Observability and Maintenance (15%) — API discovery and deprecation, liveness/readiness/startup probes, application monitoring with metrics endpoints, application logging strategies, debugging running pods with kubectl exec / logs / describe / debug, the full app troubleshooting flow.
  • Application Environment, Configuration and Security (25% — largest domain) — understanding authentication, authorization, and admission control as they affect workloads; ServiceAccounts and securityContext for pods; resource requests and limits; ConfigMap and Secret design; Pod Security Standards; OWASP Top 10 in the container context.
  • Services and Networking (20%) — demonstrating basic understanding of NetworkPolicies, providing and troubleshooting access to applications via Services, using Ingress resources to expose applications externally.

Exam format on the Linux Foundation

The live CKAD is a 2-hour performance-based exam — you work in real Linux terminals on multiple Kubernetes clusters and solve hands-on tasks. The passing score is 66%. The exam is open-book against the official Kubernetes documentation (kubernetes.io and kubernetes.io/blog only) plus the official Helm documentation. Recertification is required every 2 years.

Our 250-question MCQ bank is the knowledge layer — covers every concept, command, and YAML structure you need to be fluent with, so your hands-on practice focuses on the operational muscle memory the live exam demands. Pair this bank with practice in killer.sh simulators, kind, or any cluster where you can deploy real apps.

Who should take this?

Application developers building services that run on Kubernetes, full-stack engineers transitioning to cloud-native delivery, DevOps engineers covering the developer side of the workflow, and anyone preparing for the live CKAD exam. CNCF recommends at least 6 months of practical Kubernetes experience and comfort with at least one programming language and YAML. CKAD pairs naturally with CKA (operator) and CKS (security) to complete the Kubernetes certification arc.

Free to attempt with a TestsWorld account. No card required.

Before you start: device, fullscreen and proctoring