← All KCNA Flashcard Decks

Storage Solutions Flashcards

7 cards from real KCNA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Storage Solutions flashcards as text
  1. Which CSI sidecar container is responsible for watching VolumeSnapshot objects and triggering snapshot creation via the CSI driver?

    Answer: external-snapshotter

    The external-snapshotter sidecar watches VolumeSnapshot CRDs and calls the CSI driver's CreateSnapshot RPC to physically take the snapshot.

  2. What is the significance of the 'claimRef' field on a PersistentVolume?

    Answer: It reserves the PV for a specific PVC, preventing other PVCs from binding to it

    The claimRef field on a PV creates a binding reservation to a specific PVC, which is how static provisioning ensures the correct PVC gets the pre-created PV.

  3. A PVC remains in 'Pending' state indefinitely. Which is the most likely cause?

    Answer: No PV exists that matches the PVC's storage class, access mode, and size requirements

    A PVC stays Pending when no available PV satisfies all its requirements—storage class, access mode, and requested capacity must all match.

  4. Which command can be used to expand the size of an existing PersistentVolumeClaim in Kubernetes?

    Answer: Edit the PVC spec and increase the storage request value

    To expand a PVC, you edit its spec.resources.requests.storage field to a larger value; the StorageClass must have allowVolumeExpansion: true.

  5. What is a key advantage of using Container Storage Interface (CSI) over in-tree volume plugins?

    Answer: CSI allows storage vendors to develop and release drivers independently of the Kubernetes release cycle

    CSI decouples storage driver development from Kubernetes core, so vendors can ship updates without waiting for a Kubernetes release.

  6. Which Kubernetes feature enables a pod to use a raw block device rather than a filesystem-based volume?

    Answer: volumeMode: Block in the PVC and PV spec

    Setting volumeMode: Block in both the PV and PVC spec instructs Kubernetes to expose the volume as a raw block device instead of mounting a filesystem.

  7. Which of the following best describes a 'Retain' reclaim policy on a PersistentVolume?

    Answer: The PV and its data are preserved after PVC deletion, but the PV must be manually reclaimed

    With the Retain policy, deleting a PVC releases the PV but leaves it in a 'Released' state with its data intact; an administrator must manually reclaim or delete it.