Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Examen

CKA TEST QUESTIONS AND CORRECT ANSWERS.

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

CKA TEST QUESTIONS AND CORRECT ANSWERS.

Vista previa del contenido

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?

Información del documento

Subido en
18 de junio de 2025
Número de páginas
8
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
QUINTER
3.6
(73)
Vendido
410
Seguidores
106
Artículos
39858
Última venta
1 semana hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes