Courseiva

EX280 · topic practice

User And RBAC Management practice questions

This domain covers OpenShift identity, users, groups, service accounts, and role-based access control. You must manage HTPasswd and other identity providers, bind roles with oc adm policy, inspect effective permissions, and switch projects. Questions are hands-on or command-selection based, testing exact oc syntax and RBAC object behavior.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: User And RBAC Management

What the exam tests

What to know about User And RBAC Management

Be able to create users through an identity provider, bind roles with oc adm policy, and verify access using oc auth can-i. The most important thing is understanding that users, identities, and role bindings are separate objects, so deleting a user does not remove their permissions.

Creating users and identities via HTPasswd identity provider and htpasswd secret updates

Binding ClusterRole and Role permissions with oc adm policy add-role-to-user

Inspecting effective permissions using oc auth can-i and oc policy who-can

Switching active project context with oc project and managing namespaces

Watch out for

Common User And RBAC Management exam traps

  • ▸Assuming deleting a user also removes their identities, groups, and role bindings; these persist and must be cleaned separately.
  • ▸Forgetting that role bindings reference users or groups, so removing a user does not automatically revoke bound permissions.
  • ▸Using oc auth can-i without --as or -n to check another user's or namespace's effective permissions, yielding misleading results.

Practice set

User And RBAC Management questions

20 questions · select your answer, then reveal the explanation

An OpenShift cluster uses an external identity provider (IdP). A user named 'alex@example.com' has successfully logged in via the web console. You need to verify which groups this user belongs to from the command line as an administrator. Which command provides this information?

You need to create a new project named 'secure-store' with a specified display name and description, and assign 'jane' as the project admin using the OpenShift CLI. Which command should you execute?

A new user named 'sarah' requires read-only access to all resources within the 'web-frontend' project. Which CLI command creates the appropriate RoleBinding?

An administrator needs to prevent developers from consuming more than 10 CPU cores and 40Gi of memory collectively across all pods running in the 'production' namespace. Which object satisfies this requirement?

Which OpenShift default role allows a user to see the resources in a project but explicitly prevents them from viewing build configurations, build logs, and secrets?

An organization requires that specific projects created by developers automatically receive a default ResourceQuota and LimitRange. How can an administrator achieve this in OpenShift?

You need to configure a ClusterRole that permits reading metrics endpoints across all namespaces but nothing else. Which API groups and resources must be specified in the rules block?

A cluster has a custom SCC (SecurityContextConstraints) named 'restricted-custom'. You need to grant a specific ServiceAccount named 'app-sa' in namespace 'app-ns' permission to use this SCC. How is this association correctly established?

Which command is used to list all users who currently have the 'cluster-admin' role assigned via ClusterRoleBindings?

Which command displays all projects that the currently logged-in user has permission to access?

Which command creates a new user identity mapping using the HTPasswd provider if configured, or views user details? Let's focus on user management: Which command lists all registered user objects in the OpenShift cluster?

You need to configure a ServiceAccount named 'app-runner' in the 'finance' namespace so that its authentication token does not automatically expire or get automatically generated as a short-lived token (in OCP 4.16+, tokens are bound to service account token volume projection). If you need to create a long-lived API token secret for this ServiceAccount manually, how should you do it?

An administrator is troubleshooting a multi-tenant environment where a project administrator of the 'team-a' namespace attempts to bind the cluster-admin ClusterRole to a user in their namespace using a RoleBinding. What is the expected outcome of this operation?

You need to inspect the resource quota consumption and current usage status for a project named 'analytics'. Which command should you run?

Which built-in OpenShift role provides permissions to view all resources within a project but cannot see secrets or bindings? Wait, let's test: Which default role allows modifying resources in a project while excluding permission to modify RBAC roles and role bindings?

You are troubleshooting project requests. A developer runs 'oc new-project test-proj' and receives an error that project requests are disabled or forbidden. Where is the global project request template or configuration managed?

Which command displays the current user identity and cluster context information for the logged-in OpenShift CLI session?

An administrator configures an external OIDC identity provider. Users can authenticate, but upon login, OpenShift reports that the user has no permissions because group synchronization fails. Where are OIDC group claims mapped in the OAuth configuration?

An administrator notices that a namespace has exceeded its object count quota for ConfigMaps. When a developer attempts to create a new ConfigMap, what error response is returned by the API server?

An administrator configures a LimitRange with a max CPU limit of 2 cores and max memory limit of 4Gi. A developer submits a pod specification where a container requests 3 cores of CPU. How does the OpenShift API server handle this request during admission?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused User And RBAC Management sessions

Start a User And RBAC Management only practice session

Every question in these sessions is drawn from the User And RBAC Management domain — nothing else.

Related practice questions

Related EX280 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX280 exam test about User And RBAC Management?
Be able to create users through an identity provider, bind roles with oc adm policy, and verify access using oc auth can-i. The most important thing is understanding that users, identities, and role bindings are separate objects, so deleting a user does not remove their permissions.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just User And RBAC Management questions in a focused session?
Yes — the session launcher on this page draws every question from the User And RBAC Management domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX280 topics?
Use the topic links above to move to related areas, or go back to the EX280 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX280 exam covers. They are not copied from any real exam or dump site.