Maghrib · Cert prep · Fri 2026-11-06 · ML

Training Jobs, checkpoints, PVC storage, and automated recovery

Practice self-check. Answers stay in this page so you can grade yourself. This is not a scored exam.

Twelve scenario items on Kubernetes Jobs and storage plus AWS automated recovery for RTO/RPO. Companion lab: Hedronite trainjob (checkpoint resume, backoffLimit, honest drift).

Lab download. Starter is the tree you edit. Worked answer is a separate file; open it after the starter passes. Rust 1.85 or newer, tar, and python3 for walkthrough.sh. One online cargo vendor vendor. The zip has no vendored crates. All lab requirements.

DOP-3.3 · CKA-Workloads-and-Scheduling · CKA-Storage · 12 items
Q1 · CKA workloads and scheduling, Job backoffLimit
A platform team runs a training Job whose manifest omits .spec.backoffLimit and also sets no activeDeadlineSeconds. After several Pod failures, an engineer asks how many retries the Job controller allows before it marks the Job as failed. Which statement matches the Kubernetes documentation?
Q2 · CKA storage, PersistentVolumeClaim
A team needs durable storage for training checkpoints. The storage must be requested by a user through a namespaced API object and satisfied from cluster PersistentVolume resources, rather than from node CPU or memory. Which action meets this requirement?
Q3 · DOP-C02 automated recovery (3.3), EBS snapshot recovery point
A training node is an EC2 instance whose EBS data volume holds model checkpoints. The instance AMI was created before any checkpoints were written. The team needs a point-in-time backup so that, if the disk is later corrupted, they can recreate the volume as it was at backup time. Which approach meets this need?
Q4 · CKA workloads and scheduling, Job Pod recreation
A training Job has a completion count of 1 and a backoffLimit of 6. Its only Pod fails because the node it runs on is rebooted, and the Job has not yet reached the backoffLimit. What does the Job controller do?
Q5 · CKA storage, PVC vs emptyDir
A training Job writes checkpoints of about 200 MiB. When the Job creates a replacement Pod, the old Pod is removed from its node, and the new Pod must still see the checkpoint data. The team is currently using an emptyDir volume. What should they do?
Q6 · DOP-C02 automated recovery (3.3), RPO and backup frequency
Training artifacts live on EBS volumes, and the organization's recovery point objective (RPO) is at most one hour of data loss. An Amazon Data Lifecycle Manager policy currently creates one snapshot every 24 hours. The data must stay on EBS, and only the backup configuration may change. What change moves the design toward the RPO?
Q7 · CKA workloads and scheduling, Job restartPolicy
An engineer drafts a Job manifest for a batch trainer and sets restartPolicy: Always in the Pod template. The API server rejects the manifest. Which statement describes what the Kubernetes documentation allows for a Job's Pod template?
Q8 · DOP-C02 automated recovery (3.3), restore testing for RTO
A team has AWS Backup recovery points for the EBS volumes that hold model checkpoints. Leadership wants evidence, before any incident, that restores will complete within the recovery time objective (RTO). The evidence must be gathered without affecting production volumes. What should the team do?
Q9 · CKA storage, claims as volumes
A PersistentVolumeClaim named train-ckpt is already bound in the training namespace. A training Pod in the same namespace must use that durable storage for checkpoints. How should the Pod spec consume it?
Q10 · CKA workloads and scheduling, Job for batch work
A one-off training task must run to completion and then stop. If a Pod fails, it must be retried, and the work must not be lost to a node reboot without a replacement Pod. Which Kubernetes object fits this workload?
Q11 · DOP-C02 automated recovery (3.3), failover and restore tests
A platform team runs Multi-AZ training infrastructure with AWS Backup recovery points. Before declaring disaster recovery ready, they must validate that recovery meets the stated RTO and RPO targets. An auditor will not accept written procedures alone as proof. What should the team do?
Q12 · CKA storage, PV reclaim Retain
After a successful training run, the team deletes the PersistentVolumeClaim. The operations team must keep the underlying PersistentVolume and its data so an administrator can reclaim it manually later. They want to use a reclaim policy that is not deprecated. Which setting meets this need?