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

CKA study material · question 344 of 1000

A PVC must bind to one specific PersistentVolume. What is set? Choose two.

  1. accessModes set to ReadWriteOncePod
  2. storageClassName set to an empty string on the PVC
  3. volumeName on the PVC
  4. capacity on the PVC
Show the answer

Answer: C. volumeName on the PVC
B. storageClassName set to an empty string on the PVC

volumeName names the PV, and storageClassName must be an explicit empty string or the default class is applied.

Source: Persistent Volumes (Kubernetes) — Reserving a PersistentVolume

Challenge yourself on this topic → Study as cards