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

CKA study material · question 335 of 1000

What is true of subPathExpr? Choose two.

  1. It only applies to Secret volumes
  2. It cannot be combined with subPath
  3. It disables mount propagation
  4. It builds the sub-path from downward-API environment variables
Show the answer

Answer: D. It builds the sub-path from downward-API environment variables
B. It cannot be combined with subPath

subPathExpr constructs the sub-path from downward-API variables and is mutually exclusive with subPath.

Source: Volumes (Kubernetes) — Using subPath with expanded environment variables

Challenge yourself on this topic → Study as cards