KCSA Kubernetes Cluster Component Security Practice Question
A security scan reveals that the kubelet read-only port (typically port 1055) is active and exposes unauthenticated pod and cluster metadata. How should this vulnerability be remediated?
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
✓
Set readOnlyPort: 0 in the kubelet configuration file.
The kubelet read-only port should be disabled by setting its value to 0 in the kubelet configuration file or startup flags.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure an RBAC ClusterRoleBinding for system:anonymous.
Why it's wrong here
RBAC does not control the kubelet read-only port, which bypasses normal API authorization.
- ✗
Enable PodSecurityStandards in enforcing mode.
Why it's wrong here
Pod Security Standards govern pod specs, not node-level daemon configurations.
- ✗
Apply a NetworkPolicy blocking ingress traffic to port 1055.
Why it's wrong here
NetworkPolicies do not protect host network ports on the node where kubelet runs.
- ✓
Set readOnlyPort: 0 in the kubelet configuration file.
Why this is correct
Setting the readOnlyPort to 0 completely disables the insecure read-only port.
About these practice questions
One of 320 original KCSA 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 →
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 CNCF / Linux Foundation exam blueprint
This KCSA practice question is part of Courseiva's free CNCF / Linux Foundation 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 KCSA exam.