Courseiva

CKAD · topic practice

Application Design and Build practice questions

This domain covers building and running containerized workloads on Kubernetes: writing Dockerfiles, choosing Pod patterns, and creating Deployments, Jobs, and CronJobs with kubectl. CKAD tests it through hands-on tasks where you generate manifests, wire multi-container Pods, and verify running objects in a live cluster.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Application Design and Build

What the exam tests

What to know about Application Design and Build

You must be able to write a Dockerfile, pick the right Pod pattern, and create Deployments, Jobs, and CronJobs with kubectl. The single most important thing: know when an init container is required versus a sidecar, since ordering and completion semantics drive the task.

Writing Dockerfiles with FROM, RUN, COPY, and CMD to build application images

Choosing multi-container Pod patterns: sidecar, init, adapter, and ambassador containers

Creating Deployments with kubectl create deployment and scaling via --replicas

Defining Jobs and CronJobs for run-to-completion and scheduled batch workloads

Watch out for

Common Application Design and Build exam traps

  • ▸Using a sidecar when the task requires a run-to-completion init container, so the main app starts before the diagnostic finishes.
  • ▸Forgetting that all containers in a Pod share the network namespace, causing port conflicts between the app and its sidecar.
  • ▸Writing a Dockerfile CMD in shell form when exec form is needed, so signals and arguments are not passed to the process.

Practice set

Application Design and Build questions

20 questions · select your answer, then reveal the explanation

A developer is creating a ConfigMap from a file named 'app.properties'. The file contains key-value pairs. Which command correctly creates the ConfigMap with keys matching the file content?

A developer is designing a Job that should run exactly once and then stop. The Job runs a batch process that is expected to complete within one hour. Which restartPolicy and backoffLimit are appropriate?

Match each Kubernetes resource to its primary purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Smallest deployable unit running containers

Stable network endpoint for a set of pods

Store non-sensitive configuration data

Request for storage resources

HTTP and HTTPS routing to services

Match each Kubernetes Service type to its behavior.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Exposes service on a cluster-internal IP

Exposes service on each node's IP at a static port

Exposes service externally using a cloud load balancer

Maps service to a DNS name

No cluster IP; used for stateful workloads

A developer is creating a CronJob that should not start a new job if the previous one is still running. Which TWO configurations achieve this? (Select exactly 2.)

A Kubernetes pod has two containers: a main application container and a sidecar container running a logging agent. The sidecar container is expected to start before the main container because it needs to initialize a shared log directory. What Kubernetes feature ensures this ordering?

Which TWO of the following are valid patterns for sidecar containers in a multi-container pod?

Which TWO of the following are valid concurrencyPolicy values for a CronJob?

Which command builds a Docker image from the current directory and tags it as 'myapp:v1'?

Which kubectl command creates a pod named 'nginx' from the image 'nginx:latest'?

Which of the following commands creates a Job that runs a single pod executing the command 'sleep 30'?

You have a multi-stage Dockerfile for a Go application. The first stage compiles the binary, and the second stage uses a scratch image. Which of the following is the correct way to copy the binary from the first stage into the second stage?

Which TWO of the following are valid patterns for sidecar containers in Kubernetes?

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

Which TWO statements about init containers are correct?

Which command builds a Docker image from the current directory and tags it as 'myapp:v1'?

A developer creates a pod with two containers: a main web server and a sidecar that rotates logs. The sidecar must start before the main container. Which field enforces this startup order?

You need to debug a pod that is not responding. Which command attaches an ephemeral debug container to a running pod named 'web-pod'?

Which THREE options are valid fields in a CronJob spec? (Select 3)

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Application Design and Build sessions

Start a Application Design and Build only practice session

Every question in these sessions is drawn from the Application Design and Build domain — nothing else.

Related practice questions

Related CKAD topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CKAD exam test about Application Design and Build?
You must be able to write a Dockerfile, pick the right Pod pattern, and create Deployments, Jobs, and CronJobs with kubectl. The single most important thing: know when an init container is required versus a sidecar, since ordering and completion semantics drive the task.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Application Design and Build questions in a focused session?
Yes — the session launcher on this page draws every question from the Application Design and Build domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CKAD topics?
Use the topic links above to move to related areas, or go back to the CKAD question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CKAD exam covers. They are not copied from any real exam or dump site.