EX280 User And RBAC Management Practice Question
An administrator needs to restrict a user group named 'contractors' so they can view pods and services, but cannot view secrets across the 'staging' namespace. Which THREE of the following steps or configurations are valid and necessary to achieve this? (Choose THREE)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a custom Role in the staging namespace that explicitly includes rules for verbs get, list, watch on resources pods and services
To implement custom restrictions when predefined roles are too broad, an administrator must create a custom Role with explicit rules (allowing pods and services, denying or omitting secrets), and bind it to the contractors group via a RoleBinding in the staging namespace.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a ClusterRoleBinding referencing the view ClusterRole and set an exclusion filter for secrets
Why it's wrong here
Incorrect. ClusterRoleBindings do not support exclusion filters for specific resource types.
- ✓
Create a custom Role in the staging namespace that explicitly includes rules for verbs get, list, watch on resources pods and services
Why this is correct
Correct. A custom Role defines the exact API permissions permitted within the namespace.
- ✓
Bind the custom Role to the contractors group using a RoleBinding in the staging namespace
Why this is correct
Correct. A RoleBinding assigns the Role permissions to the contractors group.
- ✗
Assign the cluster-admin ClusterRole to the contractors group with a negative weight annotation
Why it's wrong here
Incorrect. OpenShift RBAC does not support negative weights or modifying cluster-admin with exclusions this way.
- ✓
Omit 'secrets' from the resources list in the custom Role definition
Why this is correct
Correct. RBAC uses default-deny; omitting secrets ensures the contractors cannot access them.
About these practice questions
Courseiva writes every EX280 question from scratch — 509 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.