Courseiva
KCSA
Kubernetes Cluster Component SecurityeasyMultiple SelectObjective-mapped

KCSA Kubernetes Cluster Component Security Practice Question

Which TWO of the following are core security hardening best practices for the Kubernetes API server? (Choose TWO)

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

Ensure the insecure port (--insecure-port) is disabled or set to 0.

Disabling anonymous requests and enforcing strong TLS versions are essential API server hardening steps.

Answer analysis

Option-by-option breakdown

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

  • Ensure the insecure port (--insecure-port) is disabled or set to 0.

    Why this is correct

    Disabling the insecure port stops unauthenticated HTTP access.

  • Configure the API server to use HTTP instead of HTTPS for performance.

    Why it's wrong here

    Using HTTP exposes traffic in plaintext, which is a major security violation.

  • Store all kubeconfig credentials in public ConfigMaps.

    Why it's wrong here

    ConfigMaps are unencrypted and public to namespace users, compromising security.

  • Grant cluster-admin permissions to all authenticated users by default.

    Why it's wrong here

    This violates the principle of least privilege.

  • Disable anonymous authentication by setting --anonymous-auth=false.

    Why this is correct

    Disabling anonymous auth prevents unauthenticated queries against the API server.

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 →

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.