CNCF CKA Practice Test Questions and Exam Dumps Part20 Q381-400

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 381 Which scheduling rule requires Pods to prefer certain nodes? nodePreference nodeSelector nodeAffinity nodeRule Correct Answer: 3 Explanation: nodeAffinity provides more expressive node-selection rules than a simple nodeSelector. It can define required placement conditions as well as preferred conditions that influence scheduling without […]

CNCF CKA Practice Test Questions and Exam Dumps Part19 Q361-380

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 361 Which CoreDNS file defines its plugin configuration? Corefile DNSConfig ResolverFile ServerConfig Correct Answer: 1 Explanation: The CoreDNS Corefile defines how the DNS server operates through its configured plugins and directives. In Kubernetes, the Corefile is commonly stored in a ConfigMap named coredns […]

CNCF CKA Practice Test Questions and Exam Dumps Part18 Q341-360

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 341 Which Helm command displays available chart repositories? helm repo list helm charts show helm sources helm repository view Correct Answer: 1 Explanation: The helm repo list command displays the chart repositories currently configured in the local Helm client. Repository configuration allows Helm […]

CNCF CKA Practice Test Questions and Exam Dumps Part17 Q321-340

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 321 Which CronJob field defines its execution schedule? triggerExpression runPattern executionPlan schedule Correct Answer: 4 Explanation: The schedule field defines when a CronJob should create Jobs. Kubernetes uses cron-style scheduling syntax for this field, allowing administrators to specify recurring execution patterns such as […]

CNCF CKA Practice Test Questions and Exam Dumps Part16 Q301-320

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 301 Which command checks node resource utilization? kubectl top nodes kubectl node usage kubectl metrics nodes kubectl resource nodes Correct Answer: 1 Explanation: kubectl top nodes displays resource usage information for cluster nodes when the Metrics API is available. It commonly reports CPU […]

CNCF CKA Practice Test Questions and Exam Dumps Part15 Q281-300

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 281 Which file commonly defines a static Pod on a kubeadm control plane? /etc/kubernetes/config.yaml /etc/kubernetes/manifests/ /var/lib/kubelet/static/ /opt/kubernetes/pods/ Correct Answer: 2 Explanation: Static Pods are managed directly by the kubelet from a configured manifest directory. In a typical kubeadm control-plane installation, the static Pod […]

CNCF CKA Practice Test Questions and Exam Dumps Part14 Q261-280

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 261 Which object stores a Pod’s disruption budget? ReplicaSet LimitRange ResourceQuota PodDisruptionBudget Correct Answer: 4 Explanation: A PodDisruptionBudget defines how many replicas of an application can be voluntarily disrupted at the same time. It helps protect application availability during operations such as node […]

CNCF CKA Practice Test Questions and Exam Dumps Part13 Q241-260

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 241 Which setting prevents a process from gaining additional privileges? allowPrivilegeEscalation: false privileged: true hostNetwork: true runAsUser: 0 Correct Answer: 1 Explanation: The allowPrivilegeEscalation security setting controls whether a container process can gain more privileges than its parent process. Setting it to false […]

CNCF CKA Practice Test Questions and Exam Dumps Part12 Q221-240

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 221 Which Kubernetes object defines an external service entry without selecting Pods? ServiceAccount ReplicaSet Service DaemonSet Correct Answer: 3 Explanation: A Kubernetes Service can represent a stable network identity even when it does not directly select Pods. This becomes useful when the Service […]

CNCF CKA Practice Test Questions and Exam Dumps Part11 Q201-220

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 201 What does an EndpointSlice primarily represent? Node resource limits Pod security settings Storage attachment data Service endpoint information Correct Answer: 4 Explanation: EndpointSlice stores information about network endpoints associated with a Kubernetes Service. It provides a scalable way to track groups of […]

CNCF CKA Practice Test Questions and Exam Dumps Part10 Q181-200

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 181 Which command displays recent cluster events? kubectl logs kubectl events kubectl records kubectl activity Correct Answer: 2 Explanation: The kubectl events command displays Kubernetes Event objects and is useful for investigating recent cluster activity. Events can reveal scheduling failures, image-pull problems, container […]

CNCF CKA Practice Test Questions and Exam Dumps Part9 Q161-180

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 161 Which command safely evicts eligible Pods from a node? kubectl evacuate kubectl drain kubectl relocate kubectl migrate Correct Answer: 2 Explanation: The kubectl drain command prepares a node for maintenance by marking it unschedulable and attempting to evict eligible Pods. It is […]

CNCF CKA Practice Test Questions and Exam Dumps Part8 Q141-160

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 141 Which command opens an interactive shell inside a running container? kubectl shell kubectl exec -it kubectl enter kubectl connect Correct Answer: 2 Explanation: The kubectl exec -it command allows an administrator to start an interactive process inside a running container. The -i […]

CNCF CKA Practice Test Questions and Exam Dumps Part7 Q121-140

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 121 Which field makes a container execute a custom startup command? args entrypoint startupCommand command Correct Answer: 4 Explanation: The command field in a Kubernetes container specification overrides the image’s default executable. It is commonly used when a workload needs to start with […]

CNCF CKA Practice Test Questions and Exam Dumps Part6 Q101-120

View Full CNCF CKA Exam Dumps and Practice Test Dumps   Question 101 Which command shows nodes that are currently unschedulable? kubectl get nodes kubectl show nodes kubectl list nodes kubectl inspect nodes Correct Answer: 1 Explanation: The kubectl get nodes command lists nodes along with their status. The output can indicate whether a node […]