Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Workloads and Scheduling practice sets

CKA Workloads and Scheduling • Complete Question Bank

CKA Workloads and Scheduling — All Questions With Answers

Complete CKA Workloads and Scheduling question bank — all 0 questions with answers and detailed explanations.

126
Questions
Free
No signup
Certifications/CKA/Practice Test/Workloads and Scheduling/All Questions
Question 1mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

Question 2hardmultiple choice
Read the full Workloads and Scheduling explanation →

You need to update a Deployment's image from nginx:1.20 to nginx:1.21 using a rolling update strategy, but you want to ensure that during the update, at most 2 pods above the desired replicas (10) are running, and at least 8 pods are available at all times. Which strategy configuration should you apply?

Question 3easymultiple choice
Read the full Workloads and Scheduling explanation →

Which kubectl command will show the rollout history of a Deployment named 'web-app'?

Question 4mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet that is supposed to run on all nodes, but you notice it is not running on a node with a taint 'dedicated=monitoring:NoSchedule'. What must be added to the DaemonSet's pod template to make it run on that node?

Question 5hardmultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment 'db' with 3 replicas. Each pod writes to a PersistentVolumeClaim (PVC). A StatefulSet is required for stable network identities and ordered pod management. Which of the following is a key characteristic that differentiates a StatefulSet from a Deployment?

Question 6mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a CronJob that runs a batch job every 5 minutes. The job takes about 2 minutes to complete. However, if a job takes longer than 5 minutes, you want to prevent a new job from starting until the previous one finishes. Which CronJob field should you configure?

Question 7easymultiple choice
Read the full Workloads and Scheduling explanation →

Which of the following describes the role of init containers in a pod?

Question 8mediummultiple choice
Read the full Workloads and Scheduling explanation →

You need to schedule a pod to a specific node named 'worker-2' for testing purposes. Which field should you set in the pod spec?

Question 9mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod with a resource request of 500m CPU and a limit of 1 CPU is scheduled. The node has a CPU capacity of 2 cores. What does the '500m' represent?

Question 10hardmultiple choice
Read the full Workloads and Scheduling explanation →

You have a PriorityClass 'high-priority' with value 1000 and 'low-priority' with value 100. A pod A with 'high-priority' is pending because the node has no resources. A pod B with 'low-priority' is running on that node. What will happen if preemption is enabled?

Question 11easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command creates a ConfigMap named 'app-config' from a file 'config.properties'?

Question 12mediummultiple choice
Read the full Workloads and Scheduling explanation →

You want to mount a Secret named 'db-secret' as a volume in a pod. Which volume type should you use in the pod spec?

Question 13mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid ways to expose environment variables from a ConfigMap to a pod? (Select TWO.)

Question 14hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are valid ways to restrict or influence pod scheduling using taints and tolerations? (Select THREE.)

Question 15mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid strategies for a Deployment's rolling update? (Select TWO.)

Question 16mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Deployment named 'web-app' is configured with rolling update strategy. You run 'kubectl describe deployment web-app' and see 'RollingUpdateStrategy: 25% max unavailable, 25% max surge'. You have 4 replicas. You update the image. How many pods will be unavailable during the rollout at most?

Question 17mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet that runs a logging agent. You want to ensure it only runs on nodes with GPU. Which field should you set in the DaemonSet's pod template spec?

Question 18easymultiple choice
Read the full Workloads and Scheduling explanation →

Which kubectl command creates a ConfigMap named 'app-config' from a file 'config.properties'?

Question 19hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'db' has 3 replicas. You need to update the pod template to change the resource limits. After applying the change, you run 'kubectl rollout status sts db' and it hangs. What is the most likely reason?

Question 20mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a CronJob that runs a backup job every 5 minutes. The job takes about 2 minutes to complete. You notice that sometimes two job pods are running simultaneously. What is the most likely cause?

Question 21hardmultiple choice
Read the full Workloads and Scheduling explanation →

A pod with priorityClassName: high is pending. You describe the pod and see the event: '0/3 nodes are available: 3 node(s) didn't match pod affinity/anti-affinity, 1 node(s) had taint {node-role.kubernetes.io/control-plane: }, that the pod didn't tolerate.' The pod has required anti-affinity to avoid co-location with pods from the same app. How can you get the pod scheduled?

Question 22mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Pod that needs to run a database migration before the main application container starts. Which Kubernetes concept should you use?

Question 23mediummultiple choice
Read the full Workloads and Scheduling explanation →

You need to implement a PriorityClass named 'high-priority' with value 1000 and mark it as non-preempting. Which YAML field should you set to true?

Question 24hardmultiple choice
Read the full Workloads and Scheduling explanation →

A HorizontalPodAutoscaler (HPA) is configured for a Deployment with 5 replicas. The HPA is using average CPU utilization, target 50%. You observe that the actual CPU usage is 40% and the HPA does not scale down. What is the most likely reason?

Question 25easymultiple choice
Read the full Workloads and Scheduling explanation →

Which of the following is a valid way to mount a Secret as a volume in a Pod?

Question 26easymultiple choice
Read the full Workloads and Scheduling explanation →

What is the default pod phase when a pod is first created but not yet running?

Question 27mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment with 3 replicas. You run 'kubectl rollout history deployment web-app' and see revision 2 is current. You want to roll back to revision 1. Which command should you use?

Question 28mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO statements about Kubernetes resource requests and limits are correct? (Select 2)

Question 29hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are valid taint effects that can be applied to a node? (Select 3)

Question 30mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO statements about DaemonSets are correct? (Select 2)

Question 31mediummultiple choice
Read the full NAT/PAT explanation →

A Deployment named 'app' has 3 replicas. The rolling update strategy is set with maxSurge=1 and maxUnavailable=1. During an update, a new ReplicaSet is created. How many pods will be in terminating state at the moment when the new ReplicaSet has 2 pods ready?

Question 32hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'web' with spec.replicas=3 uses the default pod management policy (OrderedReady). The StatefulSet has persistent volume claims. You run 'kubectl scale statefulset web --replicas=5'. Which statement is TRUE about the new pods?

Question 33easymultiple choice
Read the full Workloads and Scheduling explanation →

Which kubectl command lists all events in the cluster, sorted by timestamp (newest first)?

Question 34mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a pod with resource requests: cpu: 500m, memory: 128Mi. The node has 4 CPU cores and 8Gi memory. What is the maximum number of such pods that can be scheduled on this node based on CPU only?

Question 35hardmultiple choice
Read the full Workloads and Scheduling explanation →

A pod has tolerations for a taint with key 'dedicated', value 'gpu', and effect 'NoSchedule'. The pod's nodeSelector is {disktype: ssd}. Which node(s) can this pod be scheduled on? (Assume node1 has taint dedicated=gpu:NoSchedule and label disktype=ssd; node2 has taint dedicated=gpu:NoSchedule and label disktype=hdd; node3 has no taint and label disktype=ssd)

Question 36easymultiple choice
Read the full Workloads and Scheduling explanation →

Which of the following creates a ConfigMap named 'my-config' from a file 'app.properties'?

Question 37mediummultiple choice
Read the full Workloads and Scheduling explanation →

A DaemonSet is expected to run on all nodes, but a particular node does not have the pod. The node is Ready and has no taints. You run 'kubectl describe daemonset <name>' and see 'MISSING' for that node. What is a likely cause?

Question 38mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment with spec.replicas=3. You update the container image. The rollout gets stuck because the new ReplicaSet cannot create pods due to an image pull error. Which command would you use to roll back to the previous revision?

Question 39hardmultiple choice
Read the full Workloads and Scheduling explanation →

A Job named 'pi' runs a container that computes pi to 2000 digits. The Job's spec has completions=3 and parallelism=2. After some time, you observe that two pods completed successfully, and the third pod is still running. What is the expected behavior when the third pod completes?

Question 40easymultiple choice
Read the full Workloads and Scheduling explanation →

Which CronJob schedule expression runs a job every day at midnight (00:00)?

Question 41mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod has an init container that downloads a large file. The init container uses the 'busybox' image and runs the command 'wget http://example.com/data.zip'. The pod's status shows 'Init:0/1' and then 'PodInitializing'. After a few minutes, the pod enters 'Init:Error'. What is the most likely cause?

Question 42hardmultiple choice
Read the full Workloads and Scheduling explanation →

You create a PriorityClass named 'high-priority' with value 1000000 (one million). A pod uses this PriorityClass. The cluster has limited resources. What scheduling behavior is most likely?

Question 43mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a HorizontalPodAutoscaler targeting a Deployment with minReplicas=2 and maxReplicas=10. currentReplicas is 2. The HPA uses average CPU utilization across pods, targetting 80% of the requested CPU. Pod CPU request is 500m. The current average CPU utilization is 90%. What will the HPA do?

Question 44easymultiple choice
Read the full Workloads and Scheduling explanation →

Which of the following is a valid way to mount a Secret as a volume in a pod?

Question 45mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod is in 'Pending' state. 'kubectl describe pod' shows '0/4 nodes are available: 1 node(s) had taint that the pod didn't tolerate, 2 node(s) didn't match pod's node affinity/selector, 1 node(s) had insufficient memory'. What does this indicate?

Question 46mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following will cause a pod to be rescheduled to a different node? (Select TWO.)

Question 47hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are valid fields in a Deployment's rolling update strategy? (Select THREE.)

Question 48easymulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid ways to inject configuration data into a pod? (Select TWO.)

Question 49easymultiple choice
Read the full Workloads and Scheduling explanation →

You need to update a Deployment's container image to 'nginx:1.21' and ensure the rollout performs a rolling update with 2 extra pods allowed above the desired count during the update. Which command should you use?

Question 50mediummultiple choice
Read the full Workloads and Scheduling explanation →

A DaemonSet named 'fluentd' is configured to run on all nodes. After adding a new node to the cluster, you notice that the DaemonSet pod is not running on the new node. What could be the cause?

Question 51hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'web' has 3 replicas. You need to update the container image from 'nginx:1.19' to 'nginx:1.20' using a rolling update with ordered pod management. What must you ensure in the StatefulSet spec?

Question 52mediummultiple choice
Read the full Workloads and Scheduling explanation →

You create a Job named 'pi-job' that runs a single pod to compute pi to 2000 decimal places. After creation, the pod runs and completes successfully. Which command would you use to view the pod's logs after completion?

Question 53easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command creates a ConfigMap named 'app-config' from the file 'config.properties'?

Question 54mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod is in Pending state. You run 'kubectl describe pod' and see the event: '0/4 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 3 node(s) had taint {node.kubernetes.io/not-ready: }.'. What is the most likely reason?

Question 55easymultiple choice
Read the full Workloads and Scheduling explanation →

Which annotation is commonly used to trigger a rollout restart of a Deployment when a ConfigMap is updated?

Question 56mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment with 4 replicas. During a rolling update, you want to ensure that only 2 pods are unavailable at any given time. Which field should you set in the Deployment spec?

Question 57hardmultiple choice
Read the full Workloads and Scheduling explanation →

A pod is scheduled on a node with a taint 'dedicated=prod:NoSchedule'. The pod has a toleration for this taint. However, you want to prevent the pod from being evicted if the node becomes unreachable. Which toleration effect should you add?

Question 58mediummultiple choice
Read the full Workloads and Scheduling explanation →

A CronJob is configured to run every hour. You notice that the job did not run at the scheduled time. What is the most likely reason?

Question 59easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command can be used to scale a Deployment named 'webapp' to 5 replicas?

Question 60hardmultiple choice
Read the full Workloads and Scheduling explanation →

A PriorityClass named 'high-priority' has a value of 1000. A pod using this PriorityClass is pending because no node has enough resources. A lower-priority pod is running on a node. What will happen?

Question 61mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid ways to inject a ConfigMap into a pod as environment variables? (Select 2)

Question 62mediummulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are characteristics of a StatefulSet? (Select 3)

Question 63hardmulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid ways to specify resource requests and limits for a container in a pod? (Select 2)

Question 64mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Deployment 'web' has replicas=3 and update strategy RollingUpdate with maxSurge=50% and maxUnavailable=0. You update the container image. During the rollout, what is the maximum number of pods that can be running simultaneously?

Question 65easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command rolls back a Deployment named 'web' to the previous revision?

Question 66mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet that runs on all nodes. You need to ensure it does NOT run on a node labeled 'disk=ssd'. Which field in the DaemonSet spec should you use?

Question 67hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet 'db' has 3 replicas. You scale it down to 1. In what order are the pods deleted?

Question 68mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Job 'backup' uses the default restartPolicy. The pod completes successfully. What is the pod's phase?

Question 69mediummultiple choice
Read the full Workloads and Scheduling explanation →

A CronJob runs every hour. The job takes 45 minutes to complete. What is the default behavior if the next scheduled time occurs while the previous job is still running?

Question 70mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod with an init container that runs a database migration fails. The init container exits with code 1. What is the pod's status?

Question 71mediummultiple choice
Read the full Workloads and Scheduling explanation →

A container requests 256Mi memory and has a limit of 512Mi. The container tries to allocate 600Mi. What happens?

Question 72hardmultiple choice
Read the full Workloads and Scheduling explanation →

You apply a LimitRange that sets default CPU request to 0.5 and default CPU limit to 1. You create a pod without specifying any CPU resources. What are the effective CPU request and limit for the pod?

Question 73easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command creates a ConfigMap named 'app-config' from a file 'config.properties'?

Question 74hardmultiple choice
Read the full Workloads and Scheduling explanation →

A node has a taint 'gpu=true:NoSchedule'. A pod has a toleration 'key: gpu, operator: Exists, effect: NoSchedule'. Will the pod be scheduled on the node?

Question 75easymultiple choice
Read the full Workloads and Scheduling explanation →

What is the purpose of a PriorityClass in Kubernetes scheduling?

Question 76mediummulti select
Read the full Workloads and Scheduling explanation →

Which two statements about HorizontalPodAutoscaler (HPA) are correct?

Question 77mediummulti select
Read the full Workloads and Scheduling explanation →

Which three are valid pod phases?

Question 78hardmulti select
Read the full Workloads and Scheduling explanation →

Which two scheduling constraints can be used to ensure a pod runs on a node that has a specific label?

Question 79easymultiple choice
Read the full Workloads and Scheduling explanation →

A Deployment named 'web-app' has 10 replicas. You want to perform a rolling update with a maximum of 2 extra pods during the update and a maximum of 1 pod unavailable at any time. Which YAML snippet correctly sets these rolling update parameters?

Question 80mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet that should run on all nodes with a label 'disk=ssd'. Which node selector field should you use in the DaemonSet spec?

Question 81hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'mysql' manages 3 replicas. You need to scale it down to 1 replica. What happens to the PersistentVolumeClaims (PVCs) of the removed pods?

Question 82easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command creates a ConfigMap named 'app-config' from a file named 'config.properties'?

Question 83mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Job named 'data-processor' completes successfully. You want to run it again with the same configuration. What is the correct way to rerun the Job?

Question 84mediummultiple choice
Read the full Workloads and Scheduling explanation →

You define a Pod with resource requests: cpu: 250m, memory: 256Mi. The node has 2 CPUs and 4 Gi of memory. How many of these Pods can fit on the node based on CPU requests alone?

Question 85hardmultiple choice
Read the full Workloads and Scheduling explanation →

A Pod is stuck in 'Pending' state. You run 'kubectl describe pod my-pod' and see the event: '0/3 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 2 Insufficient cpu.' The pod has resource requests: cpu: 2, memory: 1Gi. The cluster has 3 nodes: one control-plane with taint node-role.kubernetes.io/master:NoSchedule, and two worker nodes each with 1 CPU. What is the most likely cause?

Question 86easymultiple choice
Read the full Workloads and Scheduling explanation →

Which of the following is a valid way to mount a Secret as a volume in a Pod?

Question 87mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Deployment has been updated with a new image, but the rollout is stuck. You run 'kubectl rollout status deployment/my-app' and see 'Waiting for rollout to finish: 2 out of 5 new replicas have been updated...'. The deployment's strategy is RollingUpdate with maxSurge: 25% and maxUnavailable: 25%. What is the most likely cause?

Question 88hardmultiple choice
Read the full Workloads and Scheduling explanation →

You create a CronJob that should run every day at midnight. The CronJob has a startingDeadlineSeconds of 100. If the CronJob controller is down for 2 minutes, what happens?

Question 89mediummultiple choice
Read the full Workloads and Scheduling explanation →

You want to ensure that a pod only runs on nodes that have a GPU. Nodes with GPUs are labeled with 'gpu=true'. Which scheduling constraint should you use?

Question 90easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command scales a Deployment named 'frontend' to 5 replicas?

Question 91mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Pod has an init container that writes a configuration file, and the main container reads that file. The init container runs successfully, but the main container fails with 'file not found'. What is the most likely cause?

Question 92hardmultiple choice
Read the full Workloads and Scheduling explanation →

You have a ResourceQuota in a namespace that sets limits: pods: 10, requests.cpu: 4, requests.memory: 8Gi. You try to create a Pod with requests.cpu: 1, requests.memory: 2Gi, and no limits. The namespace currently has 8 pods using 3 CPUs and 5Gi memory in total requests. What happens?

Question 93mediummultiple choice
Read the full Workloads and Scheduling explanation →

A HorizontalPodAutoscaler (HPA) is configured for a Deployment with targetCPUUtilizationPercentage: 80. The current CPU utilization is 90%. The deployment has minReplicas: 3 and maxReplicas: 10. What will the HPA do?

Question 94mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO statements are correct regarding DaemonSets?

Question 95hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE are valid ways to inject configuration data into a pod?

Question 96mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO commands can be used to view the rollout history of a Deployment?

Question 97easymultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment named 'web-app' in the 'default' namespace. You run the following command: kubectl rollout history deployment web-app. The output shows: revision 1, revision 2, revision 3. You want to roll back to revision 1. Which command achieves this?

Question 98easymultiple choice
Read the full Workloads and Scheduling explanation →

You need to create a ConfigMap named 'app-config' from a file named 'config.properties' located in the current directory. Which command should you use?

Question 99mediummultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'mysql' is deployed with 3 replicas. A developer reports that the pod 'mysql-0' is failing due to persistent volume issues. After fixing the underlying storage, they want to recreate 'mysql-0' while preserving its stable network identity. What is the correct approach?

Question 100mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet named 'fluentd' that is intended to run on all worker nodes. After deploying, you notice that the DaemonSet pods are not running on a node that has the label 'node-type=worker'. What is the most likely reason?

Question 101mediummultiple choice
Read the full Workloads and Scheduling explanation →

A CronJob is configured to run every 5 minutes. After creation, no jobs are running. You inspect the CronJob and see that the 'suspend' field is set to false. The CronJob has a job history limit of 3. What could be the reason that no jobs are running?

Question 102mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment with 5 replicas. During a rolling update, you want to ensure that at most 3 pods are unavailable at any time. Which field should you set in the Deployment's strategy?

Question 103hardmultiple choice
Read the full Workloads and Scheduling explanation →

You create a Pod with an init container and a main container. The init container runs a script that writes to a shared volume. The main container reads from that volume. However, the Pod is stuck in 'Init:CrashLoopBackOff'. What is the most likely cause?

Question 104hardmultiple choice
Read the full Workloads and Scheduling explanation →

You have a PriorityClass named 'high-priority' with value 1000 and 'low-priority' with value 100. A Pod with 'high-priority' is pending because no node has enough resources. Another Pod with 'low-priority' is running on a node. Will the high-priority Pod preempt the low-priority Pod?

Question 105hardmultiple choice
Read the full Workloads and Scheduling explanation →

You are debugging a Pod that is in 'Pending' state. The output of 'kubectl describe pod' shows: Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedScheduling 2m default-scheduler 0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate. What does this indicate?

Question 106easymultiple choice
Read the full NAT/PAT explanation →

You want to run a batch job that processes a queue and then terminates. The job should be run only once. Which Kubernetes resource should you use?

Question 107mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a Deployment that should have a rolling update with no downtime. You set maxSurge to 25% and maxUnavailable to 0%. With 4 replicas, how many pods will be created above the desired count during the update?

Question 108mediummultiple choice
Read the full Workloads and Scheduling explanation →

You need to ensure that a Pod only runs on nodes that are in a specific availability zone labeled 'zone=us-east-1a'. Which scheduling constraint should you use?

Question 109easymulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid ways to expose a ConfigMap to a pod? (Select TWO)

Question 110mediummulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are characteristics of a Kubernetes StatefulSet? (Select THREE)

Question 111hardmulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are true about a HorizontalPodAutoscaler (HPA) using average CPU utilization? (Select TWO)

Question 112mediummultiple choice
Read the full Workloads and Scheduling explanation →

A Deployment named 'web-app' has 5 replicas. You want to perform a rolling update with a maximum of 3 pods unavailable during the update and a maximum of 2 extra pods above the desired count. Which YAML snippet correctly sets the rolling update strategy?

Question 113easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command creates a Job that runs a single pod to execute the command 'echo Hello'?

Question 114hardmultiple choice
Read the full Workloads and Scheduling explanation →

A StatefulSet named 'db' manages 3 pods. The pods are named db-0, db-1, db-2. What is the expected behavior when the StatefulSet's pod management policy is set to OrderedReady and you scale down from 3 to 1 replica?

Question 115mediummultiple choice
Read the full Workloads and Scheduling explanation →

You have a DaemonSet that runs a logging agent on all nodes. You want to update the agent's image to a new version. Which update strategy allows you to control the rollout by manually updating each node's DaemonSet pod?

Question 116mediummultiple choice
Read the full Workloads and Scheduling explanation →

A pod is stuck in Pending state. You run 'kubectl describe pod my-pod' and see the event: '0/4 nodes are available: 1 node(s) had taint {gpu: true} that the pod didn't tolerate, 3 node(s) had resource pressure.'. What is the most likely cause?

Question 117easymultiple choice
Read the full Workloads and Scheduling explanation →

Which command retrieves the rollout history of a Deployment named 'web'?

Question 118mediummultiple choice
Read the full Workloads and Scheduling explanation →

You need to schedule a pod on a node with label 'disktype=ssd'. Which field should you add to the pod spec?

Question 119hardmultiple choice
Read the full Workloads and Scheduling explanation →

A pod has resource requests: cpu: 250m, memory: 128Mi. The node has 2 CPU cores and 4Gi memory. What is the maximum number of such pods that can fit on this node based solely on CPU requests?

Question 120mediummultiple choice
Read the full Workloads and Scheduling explanation →

You create a ConfigMap named 'app-config' with key 'database.url'. Which command correctly creates a pod that injects this ConfigMap value as an environment variable named 'DB_URL'?

Question 121easymultiple choice
Read the full Workloads and Scheduling explanation →

What is the purpose of a PriorityClass in Kubernetes?

Question 122mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid fields in a PodSpec for defining init containers?

Question 123hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are true about HorizontalPodAutoscaler (HPA)?

Question 124mediummulti select
Read the full Workloads and Scheduling explanation →

Which TWO taint effects can be used to prevent a pod from being scheduled on a node unless it has a matching toleration?

Question 125easymulti select
Read the full Workloads and Scheduling explanation →

Which TWO of the following are valid methods to expose ConfigMap data to pods?

Question 126hardmulti select
Read the full Workloads and Scheduling explanation →

Which THREE of the following are true about pod lifecycle phases?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

CKA Practice Test 1 — 10 Questions→CKA Practice Test 2 — 10 Questions→CKA Practice Test 3 — 10 Questions→CKA Practice Test 4 — 10 Questions→CKA Practice Test 5 — 10 Questions→CKA Practice Exam 1 — 20 Questions→CKA Practice Exam 2 — 20 Questions→CKA Practice Exam 3 — 20 Questions→CKA Practice Exam 4 — 20 Questions→Free CKA Practice Test 1 — 30 Questions→Free CKA Practice Test 2 — 30 Questions→Free CKA Practice Test 3 — 30 Questions→CKA Practice Questions 1 — 50 Questions→CKA Practice Questions 2 — 50 Questions→CKA Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Cluster Architecture, Installation and ConfigurationServices and NetworkingWorkloads and SchedulingStorageTroubleshootingCluster Architecture, Installation & ConfigurationWorkloads & SchedulingServices & Networking

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Workloads and Scheduling setsAll Workloads and Scheduling questionsCKA Practice Hub