Study guide · Flashcards and memory notes

CKAD Flashcards

40 recall cards for the commands and objects on CKAD curriculum v1.37: images, rollouts, configuration, security, and Services.

Curriculum v1.374 decks · 40 cardsNo sign-up required

How to use these cards: Say the command or the object out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Design and build

What the exam awards, images, workloads, and volumes.

10 cards
1.1What does passing CKAD award by itself?

Certified Kubernetes Application Developer. It does not award CKA or CKS. There is no prerequisite. CKS requires a passed CKA.

1.2Which cluster version, length, and cut score do the current pages list?

Kubernetes v1.37, 2 hours, and 66%. Confirm the FAQ again before exam day. The environment moves about 4 to 8 weeks after a minor release.

1.3How long is a CKAD earned after April 1, 2024 valid?

2 years. Certificates earned before that date were valid for 3 years. Renewal is passing again.

1.4Which docs sites are standing permissions for CKAD?

kubernetes.io/docs, kubernetes.io/blog, and helm.sh/docs, plus Quick Reference links and files under /usr/share. gateway-api.sigs.k8s.io is listed for CKA only.

1.5Which object replaces a Pod after its node disappears?

A Deployment, through its ReplicaSet. restartPolicy Always only restarts containers in the same Pod. A bare Pod is not rescheduled.

1.6Which restartPolicy values can a Job use?

Never or OnFailure. Always is rejected. A CronJob uses the same limit in its Job template.

1.7When does a normal init container run?

Before the app containers, and it must exit successfully. It does not stay running. The next container waits.

1.8What does an emptyDir survive?

A container restart in the same Pod. Deleting the Pod removes it. A PersistentVolumeClaim is what outlives the Pod.

1.9What do Pod command and args override?

command replaces ENTRYPOINT. args replaces CMD. If you set command and omit args, the image CMD is dropped.

1.10What is an init container with restartPolicy Always?

A sidecar. It starts before the app containers and keeps running in the same Pod network namespace.

Deck 2 · Deploy and package

Rollouts, blue/green, Helm, and Kustomize.

10 cards
2.1What is the default Deployment strategy?

RollingUpdate. Recreate removes the old Pods before the new ones are ready. BlueGreen is not a strategy type.

2.2Which command returns a Deployment to the previous revision?

kubectl rollout undo deployment/web. Add --to-revision for a specific one. helm rollback is a different history.

2.3Which Helm command installs or upgrades one release name?

helm upgrade --install. helm install fails when the release name already exists. helm repo update does not change a release.

2.4Which command applies a Kustomize directory?

kubectl apply -k directory. kubectl kustomize only prints the YAML. Applying kustomization.yaml with -f does not build it.

2.5How do you switch a Service from blue to green?

Change the Service selector after the green Pods are Ready. The old Deployment can keep running until you scale it down.

2.6How do two Deployments approximate a canary?

Share the Service selector. Ready endpoint counts can give a rough traffic share, not a guaranteed request percentage. There is no canary percentage field on a Deployment.

2.7What do maxUnavailable 0 and maxSurge 1 allow?

One extra Pod starts before an old Pod is removed. Old Pods are not taken down early to make room.

2.8What is the risk of strategy Recreate when the new image cannot be pulled?

The old Pods are already gone. RollingUpdate can keep them serving while the new Pod fails to pull.

2.9What happens to an extensions/v1beta1 Ingress on a current cluster?

The API rejects it. The live group is networking.k8s.io/v1, and pathType is required. Use kubectl explain.

2.10Why does a configMapGenerator change roll a Deployment?

The generated name gains a content hash. A Pod template that uses that name changes, so the Deployment rolls.

Deck 3 · Config and security

Requests, Secrets, ServiceAccounts, and security contexts.

10 cards
3.1Is Secret data encrypted?

No. It is base64. stringData is plaintext in the manifest and is stored as base64. Anyone who can get the Secret can decode it.

3.2When does a running container see a ConfigMap change imported with env?

After the container starts again. A normal volume projection can update without that restart. A subPath mount does not.

3.3Which number does the scheduler reserve?

The request. A limit can stop a container later. It does not make an oversized request fit on a node.

3.4What does a ResourceQuota do when a new Pod would exceed it?

The API rejects the create. The Pod is not stored and is not left Pending. Insufficient CPU is a different, later event.

3.5What identity does a Pod use?

Its ServiceAccount. That is serviceAccountName, or the default account in the namespace. The image name is not the API identity.

3.6How do you stop the projected ServiceAccount token from mounting?

automountServiceAccountToken: false on the Pod or the ServiceAccount. The default mount is projected, not a Secret you must create.

3.7Will runAsNonRoot true and runAsUser 0 start?

No. User 0 is root. A non-zero runAsUser can satisfy the check even when the image USER is root.

3.8How can a process write when the root filesystem is read-only?

Mount a writable volume, such as emptyDir, on the directory it writes. The rest of the container filesystem stays read-only.

3.9Does creating a CRD start an operator?

No. A CRD adds an API type. The controller that watches those objects is a separate workload.

3.10What rejects a privileged Pod in a restricted namespace today?

Pod Security admission. PodSecurityPolicy was removed. The rejection happens at admission, not as a CPU scheduling failure.

Deck 4 · Services and debugging

Probes, logs, Services, NetworkPolicy, and Ingress.

10 cards
4.1Readiness is failing and liveness is succeeding. What happens?

The container keeps running but is not a ready Service backend. Its EndpointSlice address may remain with conditions.ready: false. Liveness is the probe that restarts the container.

4.2Which command shows the previous container logs?

kubectl logs pod -p -c name. Without -c, a multi-container Pod does not pick the container you mean. Without -p you see the current attempt.

4.3What does a startupProbe delay?

Liveness and readiness, until the startup probe succeeds. If it keeps failing, the container is restarted. It protects a slow start.

4.4Which Service field must match the port the process listens on?

targetPort. port is where clients reach the Service. They can differ. A mismatch drops the forwarded connection.

4.5An ingress list is empty and egress is not mentioned. What is denied?

Ingress to the selected Pods. Egress stays open unless a policy restricts it. Nothing is denied until a policy selects the Pod, and only if the plugin enforces policies.

4.6An Ingress object exists and no controller is installed. What routes traffic?

Nothing in that object. A controller for its class has to be running. kube-proxy implements Services, not Ingress.

4.7What is the full DNS name of Service web in namespace app?

web.app.svc.cluster.local when the cluster domain is cluster.local. Pods in app can also use the short name web.

4.8Which field explicitly selects an IngressClass?

ingressClassName. A cluster may assign a default class when it is omitted. networking.k8s.io/v1 also requires pathType. The backend is a Service name and port.

4.9Is the Gateway API a CKAD competency?

No. The CKAD list names Ingress. gateway-api.sigs.k8s.io is a standing allowed site for CKA, not for CKAD.

4.10kubectl get pods shows the wrong cluster. What do you change?

The context, with kubectl config use-context. A correct edit on the wrong cluster does not complete the task.

Memory notes

Four checks that are easy to swap under a timer.

Context, then the object

The exam can put several clusters in one kubeconfig. Say the context name before the verb. kubectl config current-context is the check. A perfect NetworkPolicy on the wrong cluster scores nothing.

Ready is not Running

Normal Service traffic needs ready backends whose labels match. A readiness failure can leave the address in an EndpointSlice with ready: false while the process keeps running. A liveness failure restarts the container. A startup probe holds both probes off until it succeeds.

Requests schedule. Limits do not

The scheduler reserves requests. A limit can stop a container later. It cannot make a large request fit on a small node. A ResourceQuota rejection never creates the Pod. Do not look for that Pod in a Pending list.

Stored is not enforced

An Ingress without a controller does not route. A NetworkPolicy without a supporting plugin does not deny. A CRD without an operator does not act. A Secret value you can decode is not encrypted. Check the thing that implements the object, not only the YAML.

Using these cards before a hands-on exam

Say the command before you flip the card. Then name the object you would check: a context, an endpoint list, a rollout, or a probe. A card you can recognize and cannot perform is still a gap.

Keep the decks mixed

A Service task uses labels, readiness, and a port together. After a deck feels easy, shuffle all 40 cards. The largest curriculum share is application environment, configuration, and security, so a card that only names a securityContext is unfinished until you can say whether the container will start.

Follow a card with one lab change

Use clusters you are allowed to break. After the selector card, empty the endpoints on purpose and write down whether the cause was labels or readiness. After the ConfigMap card, compare env with a volume. After the blue/green card, move a Service selector only when the new Pods are Ready. Do not practice Gateway API routes as if they were CKAD tasks.

Forty cards cannot cover every field. Use the exam overview for scope, the core notes for context, and the practice questions to find a decision you still hesitate on. Check the live FAQ before you book.

Turn a remembered answer into a verification chain

For the Service cards, create a Deployment and a Service, check the Pod labels, then inspect the endpoints and call the Service from another Pod. Change only targetPort and observe that endpoints can stay populated while the application stops answering.

For the rollout cards, change an image tag, watch kubectl rollout status, then undo. For Recreate, use an image you know will fail to pull and confirm the old Pods are already gone. Put the Deployment back before you leave the lab.

For the policy cards, confirm the network plugin enforces NetworkPolicy. Test a connection before and after an empty ingress list. A saved object without enforcement does not prove that traffic is blocked.

For the probe cards, fail readiness first and read the endpoints. Then fail liveness on a disposable Pod and read kubectl logs -p. These chains turn a flashcard answer into a small CKAD-style check on a cluster you can rebuild.

Continue the CKAD study path

Test what you have learned with a timed practice exam.

CKAD hub →
Available

Overview

Exam format, curriculum v1.37, and a lab plan.

Available

Core Notes

Reference notes for images, Helm, probes, security contexts, and Services.

Available · You are here

Flashcards & Memory Notes

40 recall cards in four decks, plus memory notes for probes, selectors, and context.

Available

Practice Exams

200 original questions sized to the published domain weights.

Official exam sources

Use the CKAD curriculum v1.37 and the Linux Foundation FAQ to check every command on these cards. Allowed documentation is listed on the resources-allowed page. These cards are independent recall prompts, not official exam tasks.

CKA

Practice cluster administration. Passing CKA does not award CKAD, and this path does not cover kubeadm.

AWS Developer

See a different developer exam. It does not cover the CKAD curriculum.

Apply concepts in the Scenario Workshop →