Stage 8, Part 8 of 9, Storage Deep Dive

Text

PART 8: INTERVIEW PREPARATION

37. Junior-Level Questions

QuestionExpected Answer
What is a PV?PersistentVolume — the storage resource
What is a PVC?PersistentVolumeClaim — the application request
What is a StorageClass?Template for provisioning
What is CSI?Container Storage Interface
What are the access modes?RWO, ROX, RWX, RWOP

38. Mid-Level Questions

QuestionExpected Answer
Static vs dynamic provisioning?Static: admin creates PV. Dynamic: StorageClass creates PV.
What is WaitForFirstConsumer?Provision volume in Pod's zone
What is a VolumeSnapshot?Point-in-time copy of a volume
How do you expand a PVC?Patch PVC with new size (if allowed)
What is emptyDir?Ephemeral volume for scratch space

39. Senior-Level Questions

QuestionExpected Answer
Snapshot vs backup?Snapshot is same storage cluster; backup is offsite
How do you handle zone failures?Multi-AZ storage, WaitForFirstConsumer
What is Volume Group Snapshot?Atomic multi-volume snapshot (K8s 1.36 GA)
How do you secure storage?Encryption at rest, RBAC, NetworkPolicy
How do you optimize storage cost?Right-size, tier, delete orphans

40. Staff/Principal Questions

QuestionExpected Answer
Design a storage architecture for 99.999%.Replicated storage, multi-AZ, cross-region backup
How do you migrate storage between clusters?Velero, snapshots, StorageClass migration
How do you choose a CSI driver?Workload type, performance, cloud, RWX needs
How do you handle stateful workload DR?Velero + snapshots + replication
How do you enforce storage compliance?Encryption, RBAC, audit logging

1:1 copy of the class Google Doc, code in code blocks.