Courseiva
User And RBAC ManagementmediumMultiple ChoiceObjective-mapped

EX280 User And RBAC Management Practice Question

You need to create a Role that allows reading and writing ConfigMaps and Secrets only within the 'database' project. Which API groups and resource types should be included in the rules?

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

apiGroups: [''], resources: ['configmaps', 'secrets'], verbs: ['get', 'list', 'watch', 'create', 'update', 'patch', 'delete']

ConfigMaps and Secrets belong to the core API group ('') and their resource names are 'configmaps' and 'secrets'.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • apiGroups: ['rbac.authorization.k8s.io'], resources: ['roles', 'rolebindings'], verbs: ['*']

    Why it's wrong here

    This grants RBAC management permissions, not ConfigMap or Secret permissions.

  • apiGroups: [''], resources: ['configmaps', 'secrets'], verbs: ['get', 'list', 'watch', 'create', 'update', 'patch', 'delete']

    Why this is correct

    The core API group handles ConfigMaps and Secrets, and these verbs cover full read/write access.

  • apiGroups: [''], resources: ['pods/exec'], verbs: ['create']

    Why it's wrong here

    This grants pod exec access, not ConfigMap or Secret management.

  • apiGroups: ['apps'], resources: ['configmaps', 'secrets'], verbs: ['*']

    Why it's wrong here

    ConfigMaps and Secrets do not belong to the 'apps' API group; they reside in the core API group.

About these practice questions

One of 509 original EX280 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.