Study. uk . com
  1. Home
  2. All questions
  3. Question 810

CKA study material · question 810 of 1000

A PersistentVolume backed by an empty block device is mounted by a Pod for the first time, with volumeMode left unset. What happens?

  1. The Pod receives the raw device with no filesystem
  2. The Pod fails to start because the device is unformatted
  3. Kubernetes creates a filesystem on the device before mounting it
  4. The volume is mounted read-only until formatted manually
Show the answer

Answer: C. Kubernetes creates a filesystem on the device before mounting it

volumeMode defaults to Filesystem, and an empty block device is formatted before the first mount. Block mode is what hands the raw device through untouched.

Source: Persistent Volumes (Kubernetes) — PersistentVolumes › Volume Mode

Challenge yourself on this topic → Study as cards