RedHat Red Hat Certified Specialist in OpenShift Automation and Integration EX380 Exam Questions

Page: 1 / 14
Total 42 questions
Question 1

SIMULATION

Task SIMULATION 7

Configure RBAC roles with users and groups

Task Information: Grant edit to group dev-team in namespace payments, and grant view to user auditor1.



Answer : A

Create (or switch to) the project

oc new-project payments

Namespace must exist before applying rolebindings.

Grant edit to the group

oc -n payments policy add-role-to-group edit dev-team

Members of dev-team can modify most resources in payments.

Grant view to a user

oc -n payments policy add-role-to-user view auditor1

auditor1 can read resources but not change them.

Verify rolebindings

oc -n payments get rolebinding

==========


Page:    1 / 14   
Total 42 questions