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

CKA study material · question 329 of 1000

A hostPath volume sets an empty type. What check is performed before mounting?

  1. The path must be readable by the Pod's user
  2. The path must exist as a directory
  3. None; it is the backward-compatible default
  4. The path must exist as a file
Show the answer

Answer: C. None; it is the backward-compatible default

An empty hostPath type performs no checks before mounting, which is the backward-compatible behaviour.

Source: Volumes (Kubernetes) — hostPath volume types

Challenge yourself on this topic → Study as cards