Courseiva

KCSA · topic practice

Kubernetes Threat Model practice questions

This domain covers the Kubernetes threat model: how attackers move from supply chain and image compromise through control plane, node, and workload layers. Questions present concrete scenarios — malicious operators, exposed LoadBalancer services, API authentication, session-based attacks — and ask you to identify the flaw or the most effective mitigation using native Kubernetes mechanisms.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Kubernetes Threat Model

What the exam tests

What to know about Kubernetes Threat Model

Map each scenario to the correct threat-model layer and name the native control that mitigates it: verify operator and image provenance before install, distinguish API authentication from authorization, and lock down Service exposure with NetworkPolicy and least-privilege RBAC.

Supply chain risk from third-party operators and images, mitigated by provenance verification and signed artifacts

API server request authentication via client certificates, bearer tokens, and OIDC, plus authorization and admission control

Attack vectors including CSRF, credential theft, and session hijacking against authenticated cluster sessions

Exposure flaws from LoadBalancer and NodePort Services, RBAC over-permissioning, and anonymous API access

Watch out for

Common Kubernetes Threat Model exam traps

  • ▸Treating authentication and authorization as one control; questions ask which mechanism authenticates versus which authorizes or admits
  • ▸Assuming a LoadBalancer Service is safe by default, ignoring missing NetworkPolicy and overly broad backend selectors
  • ▸Installing operators from public catalogs without verifying signatures, provenance, or RBAC permissions they request

Practice set

Kubernetes Threat Model questions

20 questions · select your answer, then reveal the explanation

An attacker with read access to a Kubernetes cluster's etcd database wants to compromise node-level runtimes. What high-value secret stored within etcd presents the most immediate risk of allowing cluster-wide node takeover if extracted?

An administrator wishes to adhere to the principle of least privilege regarding pod service accounts. How should a Pod that does not need to interact with the Kubernetes API server be configured?

An adversary successfully compromises a workload and extracts the default service account token. By default, what permission level does this unconfigured service account token possess in modern Kubernetes clusters?

A Kubernetes cluster experiences an attack where an untrusted pod attempts to access the Kubernetes API server and discover cluster secrets. The cluster uses RBAC. What is the mechanism that prevents this pod from reading secrets in other namespaces?

When analyzing the container supply chain threat surface, which TWO practices help mitigate the introduction of vulnerable or malicious artifacts?

A security engineer is performing a threat analysis on a Kubernetes cluster and identifies a risk where a compromised container can exhaust the available CPU and memory on the underlying worker node, causing a denial of service for other tenants. Which native Kubernetes admission mechanism is specifically designed to mitigate this threat vector?

During a supply chain security audit, a platform engineer discovers that container images deployed into the cluster are being pulled from public registries without cryptographic verification of their provenance or integrity. Which integrated Kubernetes security control should be implemented alongside an admission webhook to verify image signatures before admission?

A developer accidentally hardcodes a database password directly into a container's environment variables within a Deployment manifest. According to the Kubernetes threat model, what is the primary risk associated with storing plaintext secrets as environment variables?

A platform team runs a multi-tenant Kubernetes cluster. A tenant's pod is compromised and the attacker executes code inside the container. The cluster uses the default Kubernetes RBAC configuration, and no NetworkPolicies are defined in the tenant namespace. The attacker's goal is to enumerate other pods and services in the cluster. Which action would the attacker most likely perform first to expand their view of the cluster?

An auditor is evaluating the Kubernetes control plane attack surface. Which component exposes the primary interface for cluster management and must be protected with strong authentication and authorization?

A cluster administrator wants to mitigate supply chain risks stemming from vulnerable base images used by developers. Where in the software lifecycle should vulnerability scanning ideally be integrated first to shift-left security?

In a zero-trust Kubernetes architecture, an attacker attempts to exploit the Kubernetes API server via a Server-Side Request Forgery (SSRF) flaw in a poorly written custom controller. Which defense-in-depth mechanism specifically protects against unauthorized API requests originating from inside the cluster network?

A security engineer is analyzing supply chain risks for container images. An unsigned image from an untrusted public registry is pulled into a secure cluster. Which Admission Controller plugin can be leveraged to prevent the deployment of unsigned container images?

A developer configures a Kubernetes Pod with `hostNetwork: true`. Under the STRIDE threat model, which threat category is most directly introduced or elevated by this configuration?

A security team discovers that an application container running as root has successfully mounted the host's Docker socket (`/var/run/docker.sock`). What is the primary attack vector enabled by this misconfiguration?

An administrator notices that a compromised Pod is attempting to access the cloud provider metadata service to retrieve IAM role credentials. Which native Kubernetes resource is best suited to block this specific attack vector at the network layer?

Which of the following represents a common cloud-native supply chain attack vector where malicious actors publish packages with names similar to popular libraries?

A security auditor reviews a Kubernetes cluster threat model and identifies that the Kubelet API on port 10250 permits unauthenticated requests if not configured properly. What authentication and authorization mode should be enforced on the Kubelet to prevent unauthorized remote code execution?

An organization wants to analyze potential threats to their Kubernetes cluster using the STRIDE model. Which STRIDE category maps to an attacker eavesdropping on unencrypted internal cluster traffic between pods?

A security engineer discovers that an attacker has gained access to a container and is attempting to modify container files in a way that persists across pod restarts if the container image is faulty. However, the root filesystem is marked as readOnlyRootFilesystem: true. What is the impact of this setting on the attack?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Kubernetes Threat Model sessions

Start a Kubernetes Threat Model only practice session

Every question in these sessions is drawn from the Kubernetes Threat Model domain — nothing else.

Related practice questions

Related KCSA topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the KCSA exam test about Kubernetes Threat Model?
Map each scenario to the correct threat-model layer and name the native control that mitigates it: verify operator and image provenance before install, distinguish API authentication from authorization, and lock down Service exposure with NetworkPolicy and least-privilege RBAC.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Kubernetes Threat Model questions in a focused session?
Yes — the session launcher on this page draws every question from the Kubernetes Threat Model domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other KCSA topics?
Use the topic links above to move to related areas, or go back to the KCSA question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the KCSA exam covers. They are not copied from any real exam or dump site.