CCSP Cloud Platform and Infrastructure Security Practice Question
In a Kubernetes cluster, which resource should be used to restrict network traffic between pods based on source and destination labels?
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
✓
Network Policies
Network policies in Kubernetes act as a firewall for pods, allowing or denying traffic based on selectors.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Pod Security Admission
Why it's wrong here
Pod Security Admission enforces pod-level security standards such as privileged mode and host namespace usage at admission time; it never inspects packet source or destination labels. It is tempting because it hardens workloads, and it would be correct for blocking privileged pods, not for label-based traffic filtering.
- ✓
Network Policies
Why this is correct
Network Policies are Kubernetes objects that select pods by label and define permitted ingress and egress rules, enforced by the CNI plugin. They satisfy the stem's label-based restriction on inter-pod traffic, unlike security groups or firewall rules that operate outside pod identity.
- ✗
Secrets management with Vault
Why it's wrong here
Vault manages secrets, tokens and encryption keys; it does not intercept or filter pod-to-pod packets, so label-based traffic rules cannot be expressed. It is tempting because secrets management is a core cluster hardening control, and it would be correct for injecting credentials, not network policy enforcement.
- ✗
Role-Based Access Control (RBAC)
Why it's wrong here
RBAC governs which users and service accounts may call the Kubernetes API; it authorises control-plane actions, not pod network flows, so label selectors on traffic are outside its scope. It is tempting because RBAC restricts access, and it would be correct for limiting API permissions, not inter-pod communication.
About these practice questions
This CCSP question is part of Courseiva's 934-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 →
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.