- Home
- All questions
- Installation
CKA study material: Installation
98 questions of the 1000 in the CKA — Certified Kubernetes Administrator quiz. Each opens with its answer, the reasoning and where that is written down.
Challenge yourself on this topic → Study as cards
The questions
- 43. What are the stated minimum resources for a kubeadm control-plane machine? Choose two.
- 44. Which values must be unique across every node in a kubeadm cluster? Choose two.
- 45. Two cloned virtual machines fail to join a cluster as distinct nodes. Which file would you read to confirm the cause?
- 46. Why can kubeadm fail to run on a lightweight distribution such as Alpine Linux?
- 47. Which kubeadm preflight check fails when a node runs an unsupported kernel version?
- 48. A kubelet refuses to start on a node that has swap enabled. Which configuration change lets it start?
- 49. After setting failSwapOn to false, workloads still get no swap. What else must change?
- 50. An administrator runs swapoff -a but swap returns after a reboot. Which two statements explain and fix this? Choose two.
- 51. kubeadm init stops with an error because it detected more than one container runtime. Which flag resolves this?
- 52. Which statement about kubeadm and version skew is correct?
- 53. How do Kubernetes components choose the address they advertise on a multi-homed host?
- 54. Which flag sets the shared endpoint that every control-plane node in a cluster answers on?
- 55. Which two statements about --control-plane-endpoint are correct? Choose two.
- 56. Why does changing a control-plane component's IP address require re-issuing certificates?
- 57. What does kubeadm init do before it downloads and installs the control-plane components?
- 58. An administrator wants to run kubeadm init again on a node that already initialised a cluster. What must happen first?
- 59. Which two steps give a non-root user kubectl access after kubeadm init? Choose two.
- 60. Which group does the certificate inside kubeadm's super-admin.conf belong to?
- 61. Why is the bootstrap token printed by kubeadm init treated as a secret?
- 62. Straight after kubeadm init, the CoreDNS Pods sit in Pending and never start. What is the expected cause?
- 63. What must be true of the Pod network CIDR chosen for a cluster?
- 64. Why must a Pod network add-on and its manifests support RBAC in a kubeadm cluster?
- 65. How many Pod networks may be installed in one cluster?
- 66. Which admission controller does kubeadm enable by default to limit what labels a kubelet may give itself?
- 67. What does a successful kubectl drain guarantee before it returns? Choose two.
- 68. kubectl drain will not complete on a node running DaemonSet Pods. Which flag lets it finish?
- 69. Maintenance is finished on a drained node but no new Pods are scheduled to it. What was forgotten?
- 70. A Pod keeps running on a node that has been drained and marked unschedulable. What explains this?
- 71. Two drains run in parallel against different nodes hosting one StatefulSet. What limits how many Pods go down at once?
- 72. How many minor versions may a kubeadm cluster move in a single upgrade?
- 73. What is the documented order for upgrading a kubeadm cluster?
- 74. Why should application state still be backed up before a kubeadm upgrade?
- 75. Before upgrading a kubelet across a minor version, what must be done to the node?
- 76. Why does every container restart after a kubeadm upgrade?
- 77. An administrator wants to change cluster configuration as part of an upgrade. What does kubeadm support?
- 78. During an upgrade that replaces the etcd static Pod, in-flight API requests stall. What is suggested to limit the disruption?
- 79. Which two topologies does kubeadm document for a highly available control plane? Choose two.
- 80. Why is an odd number of control-plane nodes preferred in a highly available cluster?
- 81. Which registry must every host in a kubeadm cluster reach, unless the images are supplied another way?
- 82. Upgrading across a minor version with the community packages requires which extra step?
- 83. Which two statements about cgroup drivers in a kubeadm cluster are correct? Choose two.
- 84. Which kernel setting commonly has to be enabled by hand before cluster networking works?
- 406. kubeadm init hangs waiting for the control plane. Which two causes are most common?
- 407. Which Pod is expected to be Pending immediately after kubeadm init?
- 410. Passing an admission-plugin list through --apiserver-extra-args fails with a malformed pair error. Why?
- 506. An administrator wants to create Node objects by hand rather than letting machines add themselves. Which kubelet setting achieves that?
- 525. Three control plane nodes each run kube-scheduler, yet only one is making scheduling decisions. What arranges that?
- 543. A cluster was built with a single control plane node and no --control-plane-endpoint. The team now wants to add two more control plane nodes for high availability. What does kubeadm support?
- 544. During kubeadm init, which flag sets the single address that every control plane node in the cluster will answer on?
- 545. An engineer installs a CNI plugin whose manifest assumes 10.244.0.0/16, but Pods never get addresses in that range. What was most likely missed at kubeadm init?
- 546. A node has both containerd and CRI-O installed, and kubeadm join fails while trying to detect the runtime. Which flag resolves the ambiguity?
- 547. Immediately after a successful kubeadm init, the CoreDNS Pods sit in Pending. What is the expected explanation?
- 548. You are choosing a Pod CIDR for a new cluster. Which two statements are correct? Choose two.
- 549. A new operator asks for a copy of admin.conf from a kubeadm cluster so they can run kubectl. What does that file grant?
- 550. Which kubeadm-generated kubeconfig holds an identity that skips the authorization layer, RBAC included?
- 551. A colleague pastes the full kubeadm join command, bootstrap token and all, into a public chat. What is the immediate risk?
- 552. On a single-machine kubeadm cluster, ordinary workloads stay Pending. Which action lets them run?
- 553. A kubelet is started with --node-labels=node-role.kubernetes.io/worker= and the node never appears in kubectl get nodes. What happened?
- 554. How should a restricted label such as node-role.kubernetes.io/worker be applied to a node in a kubeadm cluster?
- 555. You are decommissioning a worker node cleanly. Which two steps belong to the documented procedure, before the Node object is deleted? Choose two.
- 556. After running kubeadm reset you plan to reuse the machine as a worker in a different cluster. What does reset leave behind?
- 557. A kubeadm binary at v1.35 is used to build a new cluster. Which control plane versions may it deploy?
- 558. With kubeadm at v1.35, how far behind may the kubelet on a host be?
- 559. You are writing a backup job for a single-control-plane kubeadm cluster. Which directory on that node holds the etcd data?
- 560. A control plane component exits with an error on a freshly provisioned host that has no default route configured. What is the likely cause?
- 561. An administrator changes a control plane node's IP address after the cluster is built. What else must be done?
- 562. kubeadm init prints several preflight WARNING lines and then continues. What does this tell you?
- 563. You run kubeadm join --control-plane on a second machine without any extra etcd configuration. What happens to etcd?
- 564. A team plans a highly available cluster with stacked etcd. What is the minimum number of control plane nodes?
- 565. How many machines does the external etcd topology require, at a minimum, compared with the stacked one?
- 566. In an external etcd topology, which statement describes the communication pattern?
- 567. A kubeadm cluster has been running for eleven months and you want to know how much life its certificates have left. Which command reports that?
- 568. An organisation wants kubeadm to sign cluster certificates with its own existing CA. What is the procedure?
- 569. Which two kubeadm ClusterConfiguration fields change how long its certificates remain valid? Choose two.
- 570. kubeadm finds ca.crt in its PKI directory but no ca.key. What does it do?
- 571. A kubelet refuses to start on a node that has swap enabled. Which setting allows it to start anyway?
- 572. Nodes cloned from a single virtual machine template fail to join a cluster correctly. Which two attributes must be unique per node? Choose two.
- 573. Which kubeadm preflight check fails when a node runs a kernel version the project does not support?
- 574. A cluster running v1.33 needs to reach v1.35. What does kubeadm support?
- 575. You are upgrading the kubelet on a control plane node across a minor version. Why must that node be drained first?
- 576. After a kubeadm upgrade, every container on the upgraded nodes has restarted. Why?
- 577. An administrator wants to change an API server flag while also upgrading the cluster. What does kubeadm upgrade offer?
- 578. During a kubeadm upgrade that also restarts etcd, in-flight API requests stall. Which mitigation is documented?
- 579. An etcd cluster has lost quorum and cannot elect a leader. What is the effect on the Kubernetes cluster?
- 580. You need to defragment an etcd database and verify a snapshot file offline. Which tool is intended for that?
- 581. What is the effect of running etcdctl snapshot save against a live etcd member?
- 582. You are restricting an etcd cluster so that only the API servers may talk to it. Which two etcd settings accomplish that? Choose two.
- 583. You are starting a replacement etcd member after removing a failed one. Which environment variable value is required?
- 584. A node runs containerd configured with the systemd cgroup driver, but the kubelet was left at its default. What must be changed?
- 752. An engineer proposes a Pod CIDR that partially overlaps the Service CIDR to save address space. Why is this rejected?
- 754. You are writing firewall rules for a control plane node. Which two inbound ports are needed by default? Choose two.
- 755. Which protocols must be permitted for the NodePort range on a worker node?
- 799. A cluster's API server is reached on port 443 rather than 6443. What does that tell you?
- 907. kubeadm init hangs after printing that it created the API client and is waiting for the control plane. Which two causes are named? Choose two.
- 938. Auditing is configured on an API server running as a static Pod, and the records vanish on restart. What was forgotten?
- 990. The API server logs "x509: certificate has expired" for one node. Which kubeadm mechanism has failed?
- 991. A node has /var/lib/kubelet on a separate mounted filesystem, and kubeadm reset is run. What must be done afterwards?
- 992. kubeadm upgrade plan prints "context deadline exceeded" on a cluster with external etcd. What should be done?