Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

CKA TEST QUESTIONS AND CORRECT ANSWERS.

Document preview thumbnail
Preview 2 out of 8 pages

CKA TEST QUESTIONS AND CORRECT ANSWERS.

Content preview

CKA TEST QUESTIONS AND CORRECT
ANSWERS.
What command lists everything in a Kubernetes namespace?

kubectl get all -A

How are DaemonSets similar to ReplicaSets?

Both ensure a specified number of pod replicas run, but DaemonSets ensure one pod per node.

What field in a pod specification forces a pod to run on a specific node?

nodeName

What ensures that critical control plane pods (like etcd, kube-apiserver, and controller-
manager) stay running?

The Kubelet ensures that critical control plane pods stay running by continuously monitoring
static pods defined in the kube manifest files. If a pod crashes or is deleted, Kubelet
automatically restarts it.

Where does Kubelet read static pod manifests from by default?

/etc/kubernetes/manifests

How can you change the path Kubelet reads static pod manifests from?

Modify staticPodPath in the Kubelet configuration file

Where is the Kubelet config file located?

The file can be found under /var/lib/kubelet/config.yaml on each node.

How does Kubelet run on every node in Kubernetes?

Kubelet runs as a systemd service or static pod on every node in the cluster. It registers the node
with the API server, watches for assigned pods, and ensures containers are running. It interacts
with the container runtime (e.g., containerd, CRI-O, Docker) to start and stop containers as

, needed. On the control plane, Kubelet also manages static pods that run critical control plane
components like kube-apiserver, etcd, kube-controller-manager, and kube-scheduler.

How can you view static pods using Docker?

docker ps (if using Docker as the container runtime)

How are static pod names formatted?

They are suffixed with the node's hostname.

How can you check if a pod is a static pod?

Look at its ownerReferences field in the YAML; it should say node.

What command runs a BusyBox container with a sleep command?

kubectl run static-busybox --image=busybox --command -- sleep 1000

What field in a pod spec sets a custom scheduler?

schedulerName

What command displays events such as which node picked up a pod?

kubectl get events -o wide

What field sets pod scheduling priority?

priorityClassName

What are the four stages of the Kubernetes scheduler?

Scheduling queue, filtering, scoring, binding

What can be customized at each stage of scheduling?

Plugins

How does a filtering plugin work in the scheduler?

It filters out nodes that do not match the pod's nodeName.

What do scheduler profiles allow in Kubernetes?

Document information

Uploaded on
June 18, 2025
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUINTER
3.6
(73)
Sold
410
Followers
106
Items
39858
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions