Courseiva
Cloud Platform and Infrastructure SecurityhardMultiple ChoiceObjective-mapped

CCSP Cloud Platform and Infrastructure Security Practice Question

In a Kubernetes cluster, a pod needs to access a cloud provider's key management service (KMS) to retrieve secrets. Which of the following RBAC configurations is the least privileged approach?

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 Role in the pod's namespace that allows get on secrets and bind it to the pod's service account

The least privileged approach is to grant only the necessary API permissions to the service account used by the pod, not to users or namespaces unnecessarily.

Answer analysis

Option-by-option breakdown

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

  • Bind a ClusterRole with get and list on secrets to the pod's service account

    Why it's wrong here

    ClusterRole grants access across all namespaces; more than needed.

  • Create a Role in the pod's namespace that allows get on secrets and bind it to the pod's service account

    Why this is correct

    Correct: Namespace-scoped Role limited to get on secrets is least privilege.

  • Grant the pod's service account cluster-admin rights

    Why it's wrong here

    Overly permissive.

  • Use a PodSecurityPolicy that allows privileged containers

    Why it's wrong here

    PodSecurityPolicy controls security context, not RBAC for secrets.

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

One of 964 original CCSP 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 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.