Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium

Question 14

Which of the following access modes would allow a Persistent Volume (PV) to be mounted as read/write by a single node and as read-only by many nodes?

  • A

    ReadWriteOncePod

  • B

    ReadWriteOnce

  • C

    ReadOnlyMany

  • D

    ReadWriteMany

  • E

    ReadWriteOnce, ReadOnlyMany

Reveal correct answer

Correct answer: E

A.

ReadWriteOncePod allows a Persistent Volume to be used as read-write by a single Pod, but it doesn't facilitate the scenario of read-only by multiple nodes.

B.

ReadWriteOnce alone only allows the Persistent Volume to be mounted as read/write by a single node. It does not allow for the read-only mounting by multiple nodes.

C.

ReadOnlyMany alone allows for the volume to be mounted as read-only by multiple nodes, but it does not allow for read/write mounting by a single node.

D.

ReadWriteMany allows the volume to be mounted as read/write by multiple nodes, but it doesn't allow for the combination of read/write by one node and read-only by many nodes.

E.

Using both ReadWriteOnce and ReadOnlyMany as access modes would satisfy the requirement. ReadWriteOnce allows the Persistent Volume to be mounted as read/write by a single node. ReadOnlyMany allows the Persistent Volume to be mounted as read-only by multiple nodes. Thus, using these two modes together would allow the volume to be mounted as read/write by a single node and as read-only by many nodes.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need