Courseiva
User And RBAC ManagementhardMultiple ChoiceObjective-mapped

EX280 User And RBAC Management Practice Question

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?

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: ['endpoints'], verbs: ['get', 'list', 'watch']

To scrape metrics or read endpoints across namespaces, the apiGroups must include '' (core) and metrics (if custom metrics API), but for standard core endpoints, apiGroups: [''], resources: ['endpoints'].

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: [''], resources: ['pods', 'services'], verbs: ['get', 'list']

    Why it's wrong here

    This grants access to pods and services, not specifically metrics endpoints.

  • apiGroups: [''], resources: ['endpoints'], verbs: ['get', 'list', 'watch']

    Why this is correct

    Reading endpoints across the cluster requires apiGroups [''] and resource 'endpoints' with get, list, watch verbs.

  • apiGroups: ['apps'], resources: ['deployments'], verbs: ['get']

    Why it's wrong here

    Deployments belong to the 'apps' API group, not core metrics endpoints.

  • apiGroups: ['metrics.k8s.io'], resources: ['nodes'], verbs: ['get']

    Why it's wrong here

    Metrics API groups handle resource metrics, but standard endpoints reside in the core API group.

About these practice questions

This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.