Question 951 of 1,005

Quick Answer

The correct answer is to create a ClusterRole with rules for pods and services using the verbs get, watch, and list, then bind it to the service account with a ClusterRoleBinding. This configuration is necessary because a standard Role and RoleBinding are namespace-scoped and cannot grant permissions across namespaces; only a ClusterRole paired with a ClusterRoleBinding provides the cluster-wide scope required for the service account 'sa-monitor' to read resources in every namespace. On the Certified Kubernetes Administrator CKA exam, this scenario tests your understanding of the critical distinction between Role/ClusterRole and RoleBinding/ClusterRoleBinding, a common trap where candidates mistakenly use a RoleBinding with a ClusterRole, which still limits permissions to a single namespace. Remember the memory tip: "ClusterRole plus ClusterBinding equals cross-namespace reading."

CKA Practice Question: Cluster Architecture, Installation and Configuration

This CKA practice question tests your understanding of cluster architecture, installation and configuration. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An administrator needs to grant a service account 'sa-monitor' in namespace 'monitoring' the ability to read pods and services cluster-wide. Which RBAC configuration is correct?

Question 1mediummultiple choice
Full question →

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 ClusterRole with rules for pods and services (verbs: get, watch, list) and a ClusterRoleBinding binding it to sa-monitor

Option C is correct because the service account 'sa-monitor' needs to read pods and services across all namespaces (cluster-wide). A ClusterRole with verbs get, watch, list for pods and services, combined with a ClusterRoleBinding, grants these permissions cluster-wide, which is the only way to achieve cross-namespace read access for a service account.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 Role with rules for pods and services (verbs: get, watch, list) and a RoleBinding binding it to sa-monitor in namespace monitoring

    Why it's wrong here

    A Role is namespace-scoped and combined with RoleBinding only applies to that namespace.

  • Create a ClusterRole with rules for pods and services (verbs: create) and a ClusterRoleBinding binding it to sa-monitor

    Why it's wrong here

    The verb 'create' is not needed and would grant write access, which is not requested.

  • Create a ClusterRole with rules for pods and services (verbs: get, watch, list) and a ClusterRoleBinding binding it to sa-monitor

    Why this is correct

    ClusterRole + ClusterRoleBinding grants cluster-wide permissions.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a ClusterRole with rules for pods and services (verbs: get, watch, list) and a RoleBinding binding it to sa-monitor in namespace monitoring

    Why it's wrong here

    A RoleBinding only grants permissions within its namespace, not cluster-wide.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse RoleBinding with ClusterRoleBinding, thinking a ClusterRole bound via a RoleBinding still grants cluster-wide access, but in reality, the RoleBinding scopes the permissions to its namespace.

Detailed technical explanation

How to think about this question

ClusterRoles and ClusterRoleBindings are Kubernetes RBAC resources that are not namespaced; they grant permissions across all namespaces or on cluster-scoped resources (e.g., nodes, persistent volumes). When a ClusterRole is bound to a service account via a ClusterRoleBinding, the service account inherits those permissions for all namespaces. A RoleBinding can bind a ClusterRole to subjects but restricts the permissions to the RoleBinding's namespace, which is a common point of confusion.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CKA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CKA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CKA practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CKA question test?

Cluster Architecture, Installation and Configuration — This question tests Cluster Architecture, Installation and Configuration — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a ClusterRole with rules for pods and services (verbs: get, watch, list) and a ClusterRoleBinding binding it to sa-monitor — Option C is correct because the service account 'sa-monitor' needs to read pods and services across all namespaces (cluster-wide). A ClusterRole with verbs get, watch, list for pods and services, combined with a ClusterRoleBinding, grants these permissions cluster-wide, which is the only way to achieve cross-namespace read access for a service account.

What should I do if I get this CKA question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on CKA

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A ClusterRoleBinding grants permissions to a user, but the user is unable to perform the action. What is a possible cause?

hard
  • A.The subject in the ClusterRoleBinding is misspelled or missing the kind.
  • B.The ClusterRole does not have the required rules.
  • C.The user's kubeconfig does not include the correct context.
  • D.A RoleBinding in the namespace overrides the ClusterRoleBinding.

Why A: A ClusterRoleBinding grants permissions to a user by specifying a subject (user, group, or ServiceAccount) and a ClusterRole. If the subject's name is misspelled or the `kind` field is missing (e.g., omitted `kind: User`), Kubernetes cannot match the binding to the actual user attempting the action. This results in the user having no effective permissions, even though the ClusterRole itself may be correctly defined.

Variation 2. An administrator is setting up RBAC to allow a CI/CD pipeline to create and delete pods only in the 'ci' namespace. Which combination of resources should be created?

hard
  • A.Role and RoleBinding
  • B.ClusterRole and RoleBinding
  • C.ClusterRole and ClusterRoleBinding
  • D.Role and ClusterRoleBinding

Why A: A Role and RoleBinding are the correct combination because the CI/CD pipeline needs to create and delete pods only within the 'ci' namespace. A Role defines permissions scoped to a specific namespace, and a RoleBinding grants those permissions to a user or service account within that same namespace. This ensures the pipeline cannot affect resources in other namespaces.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CKA practice question is part of Courseiva's free CNCF 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 CKA exam.