Kubernetes Storage & Data Protection›Modules · Cheat sheet & self-check

Modules · wrap-up

Cheat sheet & self-check

21 questions across 7 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. A PVC is Bound, but the pod is stuck in ContainerCreating with 'FailedAttachVolume'. Which step failed?

    Show answer

    B. Bound means the volume exists. Attach connects it to the node; mount then puts it into the pod. The event name tells you which step.

    From lesson 01 · CSI architecture
  2. Q2. What runs as a DaemonSet in a CSI driver?

    Show answer

    B. Mounting happens on the node where the pod runs, so every node needs the node plugin (plus the node-driver-registrar sidecar).

    From lesson 01 · CSI architecture
  3. Q3. What does allowVolumeExpansion: true on a StorageClass enable?

    Show answer

    B. You edit spec.resources.requests.storage upwards; the resizer sidecar and the node plugin grow the volume and filesystem. Shrinking isn't supported.

    From lesson 01 · CSI architecture
  4. Q4. With the default 3 replicas, what happens when a node holding one replica dies?

    Show answer

    B. Longhorn synchronously writes to every replica. Losing one leaves the volume 'degraded' until a rebuild restores full redundancy.

    From lesson 02 · Longhorn in practice
  5. Q5. Is a replica a backup?

    Show answer

    B. Replication is availability. Backups are recovery. You need both.

    From lesson 02 · Longhorn in practice
  6. Q6. How does Longhorn provide ReadWriteMany (RWX) volumes?

    Show answer

    B. RWX volumes are served by an NFS share-manager pod, so nodes need an NFS client installed.

    From lesson 02 · Longhorn in practice
  7. Q7. What do Ceph MONs do?

    Show answer

    B. Monitors hold the cluster maps. Run 3 (or 5) so a majority survives failures. OSDs store the data.

    From lesson 03 · Rook-Ceph
  8. Q8. Which Ceph interface gives Kubernetes ReadWriteMany shared filesystems?

    Show answer

    B. RBD is block (typically RWO), CephFS is a POSIX filesystem (RWX), and RGW is S3/Swift object storage.

    From lesson 03 · Rook-Ceph
  9. Q9. With a pool replicated 3× and failure domain 'host', what does CRUSH guarantee?

    Show answer

    B. CRUSH rules spread replicas across the chosen failure domain (host, rack, zone), so one host failure never loses all copies.

    From lesson 03 · Rook-Ceph
  10. Q10. Is a CSI snapshot, stored on the same storage system as the volume, a complete backup?

    Show answer

    B. Snapshots are fast and great for quick rollback, but they share the fate of the storage. Backups must live elsewhere.

    From lesson 04 · Snapshots & backups
  11. Q11. What does 'application-consistent' mean for a database backup?

    Show answer

    B. A crash-consistent snapshot is like pulling the power: databases usually recover, but not always cleanly. Hooks or native tools give consistency.

    From lesson 04 · Snapshots & backups
  12. Q12. What's the safest way to test a Velero restore?

    Show answer

    B. Namespace mappings let you prove restores work without touching running workloads.

    From lesson 04 · Snapshots & backups
  13. Q13. Why use --direct=1 in fio tests?

    Show answer

    B. Without direct I/O, reads may come from memory and writes may only reach the cache, which gives flattering, meaningless numbers.

    From lesson 05 · Storage performance
  14. Q14. Which metric matters most for etcd and database commit performance?

    Show answer

    B. Every commit waits for a flush to stable storage. Slow or spiky fsync latency directly slows the whole system.

    From lesson 05 · Storage performance
  15. Q15. Why does a 3-replica distributed volume often have higher write latency than a local disk?

    Show answer

    B. Synchronous replication trades latency for durability. Fast networks and disks reduce the cost; they can't remove it.

    From lesson 05 · Storage performance
  16. Q16. What does a StatefulSet guarantee that a Deployment doesn't?

    Show answer

    B. Each replica keeps its identity and its own PVC across restarts and rescheduling, which clustered databases rely on.

    From lesson 06 · Stateful patterns
  17. Q17. Why use a database operator instead of a plain StatefulSet?

    Show answer

    B. A StatefulSet keeps pods and disks stable, but knows nothing about primaries, replicas or WAL archiving. Operators do.

    From lesson 06 · Stateful patterns
  18. Q18. When is a managed cloud database usually the better choice?

    Show answer

    B. Running databases well is a skill. Managed services trade control and cost for less operational burden.

    From lesson 06 · Stateful patterns
  19. Q19. Why alert on predicted fill time rather than only '90% used'?

    Show answer

    B. predict_linear gives the time left, which is what the on-call engineer actually needs to act on.

    From lesson 07 · Production patterns
  20. Q20. What's the risk of reclaimPolicy: Delete on a StorageClass used for important data?

    Show answer

    B. Use Retain (or backups plus deletion protection) for critical data, so an accidental namespace deletion isn't a data-loss event.

    From lesson 07 · Production patterns
  21. Q21. Before draining a node that hosts replicas of a replicated storage system, what should you confirm?

    Show answer

    B. Draining a node while another replica is already degraded can take a volume offline. Check health first; use the storage system's drain policy.

    From lesson 07 · Production patterns