2V0-21.23 Question 300
Single answerYour organization is using VMware vSphere with Tanzu to manage Kubernetes clusters. You are tasked with configuring namespace permissions to ensure that only specific users have administrative access to a namespace called 'DevNamespace'. Which action should you take to achieve this?
- A
Assign the 'Edit' role to the required users for the 'DevNamespace'.
- B
Assign the 'View' role to the required users for the 'DevNamespace'.
- C
Assign the 'Administrator' role to the required users for the 'DevNamespace'.
- D
Assign the 'Namespace Owner' role to the required users for the 'DevNamespace'.
Show answer and explanation
Correct answer: C
Explanation
To grant administrative access to a namespace in VMware vSphere with Tanzu, the 'Administrator' role must be assigned to the required users. This role provides full control over the namespace, including the ability to manage users and roles. Other roles such as 'Edit' and 'View' are more restrictive and do not permit administrative tasks.
- A. Incorrect.
The 'Edit' role provides permissions to modify resources within the namespace but does not grant administrative privileges like user or role management.
- B. Incorrect.
The 'View' role only allows users to view resources within the namespace and does not provide any administrative rights.
- C. Correct.
The 'Administrator' role is the correct role to assign since it provides full administrative privileges for managing the namespace, including user and role assignments.
- D. Incorrect.
The 'Namespace Owner' role is not a valid role in VMware vSphere with Tanzu; therefore, it cannot be assigned.