Courseiva
Cloud Platform and Infrastructure SecuritymediumMultiple ChoiceObjective-mapped

CCSP Cloud Platform and Infrastructure Security Practice Question

A security team implements Kubernetes RBAC. They want to ensure that a service account can only create pods in the 'dev' namespace. Which RBAC resource should they use?

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

Role and RoleBinding in the 'dev' namespace

RBAC uses Role and RoleBinding for namespace-scoped permissions. ClusterRole and ClusterRoleBinding are cluster-scoped. A Role with permissions to create pods in the 'dev' namespace, bound via RoleBinding, achieves the goal.

Answer analysis

Option-by-option breakdown

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

  • ClusterRole and ClusterRoleBinding

    Why it's wrong here

    ClusterRole and ClusterRoleBinding grant permissions across all namespaces, which is too broad.

  • Role and RoleBinding in the 'dev' namespace

    Why this is correct

    A Role defines permissions within a namespace, and RoleBinding grants it to a service account.

  • PodSecurityPolicy (deprecated)

    Why it's wrong here

    PodSecurityPolicy controls security contexts, not RBAC permissions.

  • NetworkPolicy

    Why it's wrong here

    NetworkPolicy controls network traffic, not RBAC.

Quick reference

Access Control Model Comparison

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

About these practice questions

Courseiva writes every CCSP question from scratch — 964 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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