Courseiva

CKA · topic practice

Workloads and Scheduling practice questions

This domain covers deploying and managing Kubernetes workloads: Deployments, ReplicaSets, DaemonSets, StatefulSets, Jobs, CronJobs, and pod scheduling controls like nodeSelector, affinity, taints, tolerations, and resource requests/limits. CKA tasks are hands-on: you write YAML, run kubectl commands, scale workloads, inspect rollouts, and fix broken pods or scheduling failures on a live cluster.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Workloads and Scheduling

What the exam tests

What to know about Workloads and Scheduling

You must be able to create, scale, update, and troubleshoot Deployments, Jobs, CronJobs, and StatefulSets from YAML and kubectl, and diagnose why pods stay Pending due to taints, affinity, or insufficient resources. The key skill is reading pod events and status to fix scheduling and rollout problems.

Creating and updating Deployments with kubectl, including rollout status, history, and rollback

Configuring Jobs and CronJobs, including concurrencyPolicy, completions, and parallelism

Managing StatefulSets with stable pod names, headless Services, and persistent volume claims

Controlling pod placement using nodeSelector, node affinity, taints, tolerations, and resource requests

Watch out for

Common Workloads and Scheduling exam traps

  • ▸Assuming a CronJob skips or kills an overrunning job: the default concurrencyPolicy is Allow, so overlapping runs proceed unless set otherwise
  • ▸Editing a Deployment's pod template without triggering a rollout, or rolling back to the wrong revision from rollout history
  • ▸Forgetting that StatefulSet pods are recreated in ordinal order and that deleting a pod does not delete its PVC

Practice set

Workloads and Scheduling questions

20 questions · select your answer, then reveal the 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?

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?

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?

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?

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?

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

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?

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

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

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?

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?

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?

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

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?

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

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

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?

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?

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

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?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Workloads and Scheduling sessions

Start a Workloads and Scheduling only practice session

Every question in these sessions is drawn from the Workloads and Scheduling domain — nothing else.

Related practice questions

Related CKA topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CKA exam test about Workloads and Scheduling?
You must be able to create, scale, update, and troubleshoot Deployments, Jobs, CronJobs, and StatefulSets from YAML and kubectl, and diagnose why pods stay Pending due to taints, affinity, or insufficient resources. The key skill is reading pod events and status to fix scheduling and rollout problems.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Workloads and Scheduling questions in a focused session?
Yes — the session launcher on this page draws every question from the Workloads and Scheduling domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CKA topics?
Use the topic links above to move to related areas, or go back to the CKA question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CKA exam covers. They are not copied from any real exam or dump site.