Practice Test 3 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
You have created a pre-populated PersistentVolume disk as ReadOnlyMany, when you try to mount the volume to a POD, you get failed to mount error, what could be the most likely reason for this failure?
A. You created a PersistentVolume but did not create a PersistentVolumeClaim
B. You have not specified the correct mount point in your pod.yaml file
C. You entered an incorrect PersistentVolume name in the pod.yaml file
D. The pod.yaml file doesn’t have permission to mount the volume as it is created with ReadOnlyMany access.
Explanation:
Answer A
A is correct: In order to mount a persistent disk, you need to create a PersistentVolumeClaim after creating a PersistentVolume and then attach the PersistentVolumeClaim to the pod.
B is incorrect: A mount point is a user defined attribute and could be anything
C is incorrect: You cannot give a PersistentVolume name in pod.yaml, it should always be PersistentVolumeClaim
D is incorrect: ReadOnlyMany permissions does not derive the pod.yaml
Link:
https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/readonlymany-disks
Comments are closed, but trackbacks and pingbacks are open.