Study guide · Flashcards and memory notes

CKA Flashcards

40 recall cards for the commands and objects on CKA curriculum v1.37: kubeadm, workloads, Services, storage, and broken clusters.

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 · Cluster and access

What the exam awards, kubeadm, and RBAC.

10 cards
1.1What does passing CKA award by itself?

Certified Kubernetes Administrator. It does not award CKAD or CKS. CKS requires a passed CKA before the attempt.

1.2Which cluster version and cut score does the FAQ list?

Kubernetes v1.37, 2 hours, and 66%. CKS on the same page is 67%. Confirm the FAQ again before exam day.

1.3Which command creates the first control plane?

kubeadm init. Workers use kubeadm join. A second control plane adds --control-plane and the certificate key.

1.4How long does the uploaded certificate Secret last?

Two hours. kubeadm init --upload-certs stores the encrypted control-plane certificates for additional control-plane joins.

1.5What is the documented upgrade order on the first control plane?

Upgrade kubeadm, check the plan, run kubeadm upgrade apply, drain, upgrade kubelet and kubectl, restart kubelet, then uncordon. Check CNI upgrade instructions. Other nodes use kubeadm upgrade node.

1.6Where does a RoleBinding apply a ClusterRole?

Only in the RoleBinding namespace. A ClusterRoleBinding is the cluster-wide binding.

1.7What do CNI, CSI, and CRI mean?

Pod networking, volumes, and the container runtime interface. A missing CNI can leave a node NotReady.

1.8Which Helm command installs or upgrades one release name?

helm upgrade --install. helm install fails when that release already exists. kubectl apply -k is Kustomize, not Helm.

1.9Does creating a CRD start an operator?

No. A CRD adds an API type. The controller is a separate workload you install.

1.10How do you stop a kubeadm static Pod for good?

Move its file out of /etc/kubernetes/manifests. Deleting the mirror object lets the kubelet recreate it.

Deck 2 · Workloads

Rollouts, requests, probes, and taints.

10 cards
2.1Which object replaces a Pod after its node is lost?

A Deployment, through its ReplicaSet. restartPolicy Always does not schedule a new Pod on another node.

2.2Which command returns a Deployment to the previous revision?

kubectl rollout undo deployment/web. Deleting the ReplicaSet is not the rollback.

2.3What do maxSurge 1 and maxUnavailable 0 allow?

One extra Pod, and no early removal of an old Pod. Setting both to 0 cannot make progress.

2.4When does a running container see a ConfigMap change in env?

After that container restarts. A normal volume mount can update without that env behavior. subPath mounts do not.

2.5Is Secret data encrypted?

No. It is base64. stringData is plaintext in the manifest and stored as base64. Encryption at rest is a separate API-server setting.

2.6What is an HPA CPU percentage based on?

The CPU request. Pods without a request are skipped for that metric. Limits are not the baseline.

2.7Which Pod number does the scheduler use?

Requests. A request larger than every node stays Pending. Raising the limit does not create free CPU.

2.8What does a NoSchedule taint do to Pods already running?

Nothing by itself. New Pods without a toleration are not scheduled there. NoExecute can evict.

2.9Does required node affinity evict a running Pod when labels change?

No. requiredDuringSchedulingIgnoredDuringExecution applies at schedule time. Preferred affinity may be skipped.

2.10How do readiness and liveness differ?

Readiness removes the Pod from Service endpoints. Liveness restarts the container.

Memory note: A Ready failure can empty endpoints while the process is still running.

Deck 3 · Networking

Services, DNS, policies, and routes.

10 cards
3.1Who can use a ClusterIP address?

Clients inside the cluster. It is not by itself a public load-balancer address.

3.2What does NodePort add?

A port on every node that forwards to the Service. It does not allocate a cloud load balancer.

3.3Which field must match the container listen port?

targetPort. port is the Service port. They can differ.

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

web.app.svc.cluster.local when the cluster domain is cluster.local.

3.5Why would endpoints be empty while Pods are Running?

The selector does not match, or the Pods are not Ready. Endpoints do not list every Running Pod.

3.6What does an empty ingress list deny?

Ingress to the selected Pods. Egress stays open unless a policy restricts it. No policy means no isolation.

3.7What does an empty podSelector in a policy select?

All Pods in that policy namespace. Other namespaces need a namespaceSelector.

3.8Does an Ingress object route traffic by itself?

No. It needs a controller for its class. An HTTPRoute attaches to a Gateway with parentRefs. That is a different API.

3.9Which component implements Service virtual IPs?

kube-proxy, or a dataplane that replaces it. The CNI connects Pods. CoreDNS resolves names.

3.10Which Service is cluster DNS on a typical kubeadm cluster?

kube-dns in kube-system, often implemented by CoreDNS Pods. A Deployment named coredns in another namespace is not automatically that Service.

Deck 4 · Storage and repair

Volumes, logs, snapshots, and context.

10 cards
4.1Which storage object is namespaced?

The PersistentVolumeClaim. The PersistentVolume is cluster-scoped. A Pod mounts the claim.

4.2Which reclaim policy keeps the disk after the claim is deleted?

Retain. The PV becomes Released until you clear claimRef. Delete can remove the backing volume.

4.3When does an omitted storageClassName use the default class?

When the field is omitted and a class is marked default. An empty string selects no class.

4.4Why can a WaitForFirstConsumer claim stay Pending?

No Pod has been scheduled to use it yet. Immediate binds without waiting for a Pod.

4.5Which access mode is one node, and which is one Pod?

ReadWriteOnce is one node. ReadWriteOncePod is one Pod. ReadWriteMany is multiple nodes when the driver allows it.

4.6Which command shows the previous container logs?

kubectl logs pod -p. Add -c when the Pod has more than one container. ImagePullBackOff has no application log yet.

4.7Which command saves a live etcd snapshot?

etcdctl snapshot save, with the member certificates. Use etcdutl snapshot status to inspect the file. Restore with etcdutl into a new data directory after the API servers are stopped.

Memory note: Do not restore into a directory a running etcd member is using.

4.8Certificates were renewed, and the API server still shows the old one. What else is required?

Restart the control-plane static Pods so they load the new files.

4.9Where does a node debug Pod mount the node root?

At /host. kubectl debug node/name is not kubectl exec into an application container.

4.10What do you switch before you run a task command?

The kubeconfig context named in the task. kubectl config use-context. A correct command on the wrong cluster does not finish the task.

Memory notes

Use these four checks when a card feels familiar but you cannot say what the cluster will do next.

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

Endpoints want Ready Pods whose labels match. A readiness failure removes the address and leaves the process running. A liveness failure restarts the container. ImagePullBackOff never started the process. CrashLoopBackOff did, and kubectl logs -p is how you see the previous exit.

Requests schedule. Limits do not

The scheduler reserves requests. An HPA CPU percentage uses the request. A limit can stop a container later. It cannot make a 4 CPU request fit on a 2 CPU node. A NoSchedule taint blocks new Pods and does not delete the ones already there.

Files outlive kubectl delete

A static Pod comes back while its manifest stays in /etc/kubernetes/manifests. A renewed certificate stays unused until the process restarts. Stop the API servers before restoring etcd. When restoring to a new directory, update the etcd-data hostPath in the etcd static-Pod manifest and restart etcd. Also update etcd.local.dataDir in the kubeadm configuration so a later upgrade keeps that path.

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 claim, or a static-pod file. A card you can recognize and cannot perform is still a gap.

Keep the decks mixed

A troubleshooting task uses Services, volumes, and kubeadm together. After a deck feels easy, shuffle all 40 cards. The largest curriculum share is troubleshooting, so a card that only names an object is unfinished until you can say the event that proves it.

Follow a card with one lab change

Use clusters you are allowed to break. After the Service card, empty the endpoints on purpose and write down whether the cause was labels or readiness. After the claim card, compare an omitted storage class with an empty string. After the etcd card, save a snapshot and run etcdutl snapshot status. Do not restore onto a cluster you need to keep.

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, do not stop at saying targetPort. Create a small Deployment and a Service, check the Pod labels, then inspect the EndpointSlices and test the Service from a client Pod. Change only the target port and observe that endpoints can remain present while the application stops answering. This distinguishes routing to an address from reaching a process that listens there.

For the storage cards, state whether the PVC is namespaced, whether a default StorageClass is selected, and when a WaitForFirstConsumer volume should bind. Then create a disposable claim and inspect its Events. A Pending claim before a consumer Pod is expected in one case; a provisioner failure after the Pod is scheduled is a different problem. The access mode and capacity still have to match a candidate volume.

For the NetworkPolicy cards, first check that the lab's network plugin enforces policies. Test a connection before and after applying a policy with an empty ingress list. A saved NetworkPolicy object without enforcement does not prove that traffic is blocked. For the Gateway card, name the GatewayClass, Gateway, HTTPRoute, and installed controller. A route attached by parentRefs needs a controller to put the declared behavior on the network.

For the troubleshooting cards, say which layer you can inspect when the API server is unavailable. kubectl depends on that API, while node logs and static-Pod manifests remain on the host. A snapshot restore changes etcd data, not the API server's data directory. These chains turn a flashcard answer into a small CKA-style investigation on a cluster you can safely rebuild.

Continue the CKA study path

Test what you have learned with a timed practice exam.

CKA hub →
Available

Overview

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

Available

Core Notes

Reference notes for kubeadm, RBAC, networking, storage, and troubleshooting.

Available · You are here

Flashcards & Memory Notes

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

Available

Practice Exams

200 original questions sized to the published domain weights.

Official exam sources

Use the CKA 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.

RHCSA

Practice Linux administration on hosts you can rebuild. It does not prepare you for the CKA.

Terraform Associate

See a different infrastructure exam. It does not cover kubeadm or the CKA curriculum.

Apply concepts in the Scenario Workshop →