Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX380 Exam - Topic 1 Question 1 Discussion

Posted by Iraida on May 07, 2026 at 08:47 PM

SIMULATION

Task SIMULATION 7

Service Accounts and RBAC -- Grant Cluster Reader Role

Suggested Answer: A

Step 1: Confirm the service account exists in auth-audit.

It must exist before a role can be assigned to it.

Step 2: Run the command:

oc adm policy add-cluster-role-to-user cluster-reader system:serviceaccount:auth-audit:audit

Step 3: Verify the binding is added.

The lab output shows:

clusterrole.rbac.authorization.k8s.io/cluster-reader added: 'system:serviceaccount:auth-audit:audit'

Detailed explanation:

This binds the cluster-reader cluster role to the audit service account. The full subject format system:serviceaccount:namespace:name is required because OpenShift RBAC needs the exact service account identity. The cluster-reader role is broader than a project-scoped view role because it allows read-level access across cluster resources. This is appropriate for auditing or inspection use cases where the account must observe but not modify. The distinction between cluster roles and namespaced roles is important: cluster roles apply to non-namespaced resources and broad cluster visibility, while local roles are limited to individual projects. This Task is a classic RBAC operation that combines identity creation with controlled privilege assignment.

============


Get Premium EX380 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
CA
Carrol 18 hours ago
Yes, but what if they need more?
JE
Jeannetta 6 days ago
I think it's about limiting access.
TY
Tyra 11 days ago
I feel unsure about the permissions.
SH
Shawnta 16 days ago
Cluster Reader role? Sounds straightforward.
NO
Noel 21 days ago
I agree, RBAC can be confusing.
BU
Buck 27 days ago
This question is tricky.
HY
Hyman 1 month ago
Let's review the documentation again.
NO
Noel 1 month ago
Good point, clarity is key.
CO
Cornell 1 month ago
Just focus on the role definitions.
AN
Annamaria 2 months ago
I hope I remember the commands.
KA
Katina 2 months ago
Definitely, more simulations needed.
HY
Hyman 2 months ago
Practice helps with these scenarios.
NO
Noel 2 months ago
I might struggle with the details.
CO
Cornell 2 months ago
Same here, it makes sense.
AN
Annamaria 2 months ago
I would choose option A.
KA
Katina 3 months ago
Right, only read access is needed.
HY
Hyman 3 months ago
I think it's about limiting access.
NO
Noel 3 months ago
I feel unsure about the permissions.
CO
Cornell 3 months ago
Cluster Reader role seems straightforward.
AN
Annamaria 3 months ago
I agree, RBAC can be confusing.
KA
Katina 3 months ago
This question is tricky.
SO
Sonia 4 months ago
I thought it was more restrictive than that!
KI
Kiley 4 months ago
Yup, it's a standard practice in RBAC.
KE
Kenneth 4 months ago
Wait, can service accounts really have that role?
EL
Elli 4 months ago
Totally agree, it's essential for security!
AN
Anastacia 4 months ago
Cluster Reader role allows read-only access.
HE
Herminia 5 months ago
I remember that we need to use `kubectl` to grant roles, but I’m not confident about the syntax for this specific task.
MO
Mollie 6 months ago
I feel a bit confused about the difference between Cluster Reader and other roles. Did we cover that in our study sessions?
MA
Mary 6 months ago
This seems similar to a practice question we did on RBAC, but I can't recall the exact commands we used.
CH
Christene 6 months ago
I think I remember something about assigning roles to service accounts, but I'm not entirely sure how to do it for the Cluster Reader role.
0/2000 characters

Save Cancel