Free CKAD Practice Exam 1 | Kubernetes Application Developer Mock Test

Free CKAD mock test
Free CKAD Practice Exam 1 | Kubernetes Application Developer Mock Test

Practice real CKAD-style questions before you book the exam.

This free CKAD practice exam helps you test your Kubernetes application development skills with scenario-based questions, instant feedback, and answer explanations. Use it to measure readiness, spot weak areas, and build confidence before the Certified Kubernetes Application Developer exam.

Retake anytime No signup required Instant answer explanations CKAD-focused questions

Start the practice exam below, answer every question honestly, and use the explanations to decide what to study next. Revisit the test whenever you want to sharpen weaker topics and track improvement.

CKAD EXAM 1

1 / 10

Question:
You need to create a pod for a web application that uses Redis as a cache with specific requirements. The pod must meet the following criteria:

  • It must run in the web namespace (already created).
  • The pod should have the name cache.
  • Use the ifccncf/redis image with the 3.2 tag.
  • The pod must expose port 6379.

Which of the following commands will correctly create the pod with the specified configuration?

2 / 10

Question:
You are tasked with preparing a Canary deployment for testing a new application release in a Kubernetes environment. Given that a service named krill-Service in the goshark namespace currently points to 5 pods created by the deployment current-krill-deployment, how can you create and configure a new deployment to meet the following requirements:

  • An identical deployment named canary-krill-deployment should be created in the same namespace.
  • The deployment should ensure a maximum of 10 pods are running in total within the namespace.
  • 40% of the traffic to krill-Service should route to the new canary deployment pods.

Which of the following configurations satisfies the requirements?

3 / 10

Question:

You are tasked with creating a pod named nginx-resources in an existing namespace called resources. The pod must meet the following specifications:

  • It should use the nginx:stable container image.
  • A resource request of 300m CPUs and 1Gi memory should be specified for the pod's container.
  • The pod should be created as a standalone pod, not as a deployment.

Which of the following commands correctly satisfies all the requirements?

4 / 10

Question:

You are tasked with deploying a web application with specific constraints in the Kubernetes cluster. The web application must meet the following requirements:

  • A deployment should be created with the name web-app-deployment in the namespace production.
  • The deployment should use the httpd:2.4 container image.
  • The deployment should have 3 replicas running.
  • The application should expose port 80.
  • Resource requests must be 200m CPU and 512Mi memory.
  • You must create the deployment so it can be scaled and managed reliably.

Which of the following options meets all these requirements?

5 / 10

Question:

You are tasked with exposing two applications in a Kubernetes cluster using Ingress rules. The requirements are as follows:

  • App 1 should be exposed at /app1 on the domain example.com.
  • App 2 should be exposed at /app2 on the same domain example.com.
  • Both applications should be accessible over HTTP.
  • Both apps are running in the default namespace, with the following services:
    • App 1 is exposed by a service named app1-service.
    • App 2 is exposed by a service named app2-service.

Which of the following Ingress configurations satisfies these requirements?

6 / 10

Question:

You are tasked with configuring persistent storage for a database running on Kubernetes. The requirements are as follows:

  • Use a Persistent Volume (PV) of 5Gi with access mode ReadWriteOnce.
  • The Persistent Volume Claim (PVC) should request 5Gi of storage, also with access mode ReadWriteOnce.
  • The database pod should use the PVC for storage.
  • The pod should mount the storage to /data inside the container.

Which of the following YAML configurations satisfies these requirements?

7 / 10

Question:

You are tasked with setting up a Kubernetes environment for a web application with two components:

  • Frontend: A web server that needs to be exposed externally to users.
  • Backend: A database service that should only be accessible by the frontend pods and not exposed externally.

You need to:

  1. Create a Deployment for the frontend using the nginx container with 3 replicas, running on port 80.
  2. Create a Service to expose the frontend deployment to external traffic on port 8080.
  3. Create a Deployment for the backend using the mysql:5.7 container with 2 replicas, running on port 3306.
  4. Create a Service for the backend that only allows internal communication between the frontend and backend. The backend service should not be exposed externally.

Which of the following YAML configurations satisfies these requirements?

8 / 10

Question:

You need to configure resource limits for a deployment running a simple nginx container. The deployment should meet the following requirements:

  • Run in the default namespace.
  • Use the nginx:latest image.
  • Have 3 replicas.
  • Set a CPU limit of 500m and a memory limit of 512Mi for the container.
  • Expose port 80 for the container.

Which of the following YAML configurations meets all these requirements?

9 / 10

Question:

You are tasked with creating a Pod for a simple web application that uses the nginx:latest container image. The pod should:

  • Run in the development namespace.
  • Have the pod name as nginx-pod.
  • Expose port 80.
  • Ensure that the container uses the nginx:latest image.

Which of the following commands will correctly create this pod?

10 / 10

Question:

You are tasked with deploying a stateful application in Kubernetes to run a database with persistent storage. The database should meet the following requirements:

  • The database must be deployed in the production namespace.
  • The deployment should use the container image mysql:5.7 with the tag latest.
  • A StatefulSet should be used to ensure that pods maintain unique identities and persistent storage.
  • The application must have 3 replicas.
  • Each pod must have a persistent volume attached with a size of 2Gi and should be dynamically provisioned using a storage class called fast-storage.
  • The volumeClaimTemplates should be used to ensure that each pod gets its own persistent volume.
  • The pods should be exposed internally within the cluster using a headless service (no load balancing), and the service should have the same name as the StatefulSet.

Which of the following options correctly satisfies these requirements?

Your score is

The average score is 41%

0%

What this free exam covers

  • Pods, deployments, and rolling updates
  • ConfigMaps, Secrets, and environment variables
  • Services, Ingress, and application exposure
  • Volumes, persistence, and storage basics
  • Troubleshooting common Kubernetes workload issues
  • YAML accuracy and kubectl task thinking

How to get more value from this mock test

  • Take your first attempt without notes so your score reflects real exam readiness.
  • Review every explanation, not just the questions you missed.
  • Group mistakes into topics, then study those topics before retaking the test.
  • Use repeated practice to improve speed, confidence, and pattern recognition.

Why free practice exams matter

Free exam prep lowers the barrier for learners who want to improve without paying for every mock test. That makes these pages more useful, more shareable, and more likely to attract returning visitors who are actively preparing for certification.

FAQ

Is this CKAD practice exam free?

Yes. This mock test is free to use, and you can retake it whenever you want to review Kubernetes application development topics.

How should I use this CKAD mock test?

Take the quiz once without looking anything up, review every explanation carefully, then revisit the Kubernetes topics that caused mistakes before trying again.

Does this replace the real CKAD exam?

No. It is a free practice resource designed to improve readiness, but the official exam remains hands-on and should still be supported with broader study and lab work.

Leave a Reply

Your email address will not be published. Required fields are marked *