B Y T E B A R

Study Hub / Certified Kubernetes Application Developer (CKAD) / Domain 1.0

Certified Kubernetes Application Developer (CKAD) Domain 1.0: Application Design and Build — Explained

Domain 1.0 is about designing applications for Kubernetes: how to structure container images, when pods hold more than one container, and how run-to-completion work fits the platform. Developer thinking, platform concepts.

Exam weight: 20% · Free study preview from ByteBar

Designing container images

Multi-container pods: patterns

Jobs: run-to-completion design

Deployment = "keep this running." Job = "run this until it succeeds." CronJob = "run this until it succeeds, on a schedule." Pick by lifecycle, not by container.

The must-memorize table: pod patterns

Which pattern for which helper.

PatternContainer roleExample
SidecarHelper alongside main containerLog shipper, service-mesh proxy
Init containerSetup, runs first to completionDB migration, wait-for-service
AdapterNormalizes outputMetrics format converter
AmbassadorProxies outbound trafficLocal proxy to external service

Try it: 4 sample questions

Sample questions to check your understanding of this domain. Answers and full reasoning are tucked under each one.

1. An application needs its logs shipped to a central system, but the app itself can't be modified. Which pod design fits?

  1. A. A. An init container that ships logs then exits
  2. B. B. A sidecar container sharing the pod's volumes that tails and ships the logs
  3. C. C. A second Deployment for the logging agent
  4. D. D. A CronJob that restarts the app hourly
Show answer & reasoning

B. The sidecar pattern exists for exactly this: a helper container sharing the pod's network/volumes, running alongside the unmodifiable main container. Init containers (A) exit before the app starts — they can't ship ongoing logs. A separate Deployment (C) can't see the pod's local log files.

2. A database migration must run to completion before the application starts, and must block startup if it fails. Which construct?

  1. A. A. A sidecar container
  2. B. B. An init container — runs to completion before app containers start
  3. C. C. A liveness probe
  4. D. D. A second replica of the app
Show answer & reasoning

B. Init containers run sequentially to completion before any app container starts — and a failed init container blocks the pod. That's the "migrate first, then start" gate. Sidecars (A) run alongside; probes (C) check running containers; replicas (D) don't order anything.

3. A team's production incident was caused by ":latest" resolving to a different image than tested. What is the robust fix?

  1. A. A. Pull images more frequently
  2. B. B. Pin images by digest (@sha256:…) so deployments reference exact bits
  3. C. C. Use bigger nodes
  4. D. D. Add more replicas
Show answer & reasoning

B. Tags are mutable — :latest today isn't :latest tomorrow. Digests pin the exact image bits, making deployments reproducible: what you tested is what you ship. Pulling more often (A) makes the drift worse, not better.

4. A nightly report job occasionally fails from transient network errors and must retry automatically. Which Kubernetes behavior handles this, and what must the job guarantee?

  1. A. A. Deployments restart it; the job must be stateless
  2. B. B. The Job controller retries failed pods (backoffLimit); the work must be idempotent
  3. C. C. CronJobs never retry; the job must never fail
  4. D. D. The scheduler retries; the job must be faster
Show answer & reasoning

B. Jobs exist for run-to-completion work and retry failures automatically — but retries are only safe if the work is idempotent (re-running doesn't duplicate effects). A non-idempotent job retried by the platform is a data-corruption machine. Design for retry.

This was one domain. The simulator drills all 5.

This free preview covered Application Design & Build (Domain 1.0, 20%). Not covered here: Application Deployment (Domain 2.0, 20%); Application Environment, Configuration & Security (Domain 4.0, 25%). Deployment patterns and the highest-weight environment/security domain stay in the paid guide and practice bank. The ByteBar Practice Exam Simulator drills every domain with 1,000 exam-style questions — $9.99 one-time unlocks all 28 exams. Prefer to read? The full CKAD Study Guide is in the ByteBar shop on Etsy.

Practice Exam Simulator — $9.99 one-time, all 28 exams Full Study Guides on Etsy
Keep learning: ByteBar blog · ByteBar store