Courseiva
KCSA
Kubernetes Security FundamentalshardMultiple ChoiceObjective-mapped

KCSA Kubernetes Security Fundamentals Practice Question

An application pod requires access to the Kubernetes API to list other pods. To follow secure practices, you create a dedicated ServiceAccount and bind a custom Role to it. How should you configure the Pod specification to prevent the default service account token from being automatically mounted?

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 'automountServiceAccountToken: false' in the Pod specification.

Setting 'automountServiceAccountToken: false' on either the ServiceAccount or the Pod specification prevents the automatic mounting of the token, reducing the blast radius if compromised.

Answer analysis

Option-by-option breakdown

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

  • Delete the 'default' ServiceAccount in the namespace.

    Why it's wrong here

    Deleting the default service account can cause unintended issues for controllers relying on it; disabling auto-mount is safer.

  • Set 'automountServiceAccountToken: false' in the Pod specification.

    Why this is correct

    This setting stops the default token from being mounted into the pod's filesystem.

  • Configure the Pod securityContext with 'readOnlyRootFilesystem: true'.

    Why it's wrong here

    readOnlyRootFilesystem makes the root filesystem read-only, but the service account token is mounted via a tmpfs volume, so it remains writable unless specifically prevented.

  • Add a deny NetworkPolicy blocking egress to the Kubernetes API service IP.

    Why it's wrong here

    This would block legitimate API access required by the custom ServiceAccount.

Quick reference

AAA Protocol Comparison

ProtocolPort(s)EncryptionTransportPrimary Use
RADIUS1812 / 1813Password onlyUDPNetwork access control
TACACS+49Full packetTCPDevice administration
Diameter3868Full sessionTCP / SCTPCarrier / mobile networks
802.1XEAP-basedLayer 2Port-based access control

TACACS+ encrypts the entire packet; RADIUS only encrypts the password field — a key exam distinction.

About these practice questions

Courseiva writes every KCSA question from scratch — 320 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 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.