KCSA · domain
Kubernetes Threat Model
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.
Focused practice
Practice Kubernetes Threat Model questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
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
Question index
All Kubernetes Threat Model questions (47)
Click any question to see the full explanation, or start a practice session above.
What is the security risk of configuring `privileged: true` in a container's SecurityContext?
Easy2A 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?
Hard3An organization wants to prevent supply chain attacks where malicious code is injected into third-party Helm charts before deployment. What mitigation technique provides cryptographic verification of Helm chart integrity and authenticity?
Hard4A security engineer identifies that an enterprise Kubernetes cluster has several cluster-admin bindings granted to user accounts that have left the company. Which Kubernetes security principle has been violated?
Medium5An 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?
Easy6Which THREE of the following mechanisms are essential for securing the Kubernetes control plane against unauthorized access and privilege escalation?
Hard7An attacker gains execution in a container and attempts to perform a denial of service attack on other workloads sharing the same Kubernetes node by consuming all available CPU and memory resources. What Kubernetes feature prevents this cross-workload resource exhaustion?
Medium8Which attack vector involves tricking a Kubernetes cluster user or service into executing unintended actions via authenticated sessions, frequently mitigated by robust CSRF defenses and proper API design?
Easy9In 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?
Hard10An administrator needs to analyze the STRIDE threat model category that encompasses an attacker gaining unauthorized elevation of privilege inside a Kubernetes cluster by exploiting a misconfigured RBAC ClusterRoleBinding. Which threat category does this represent?
Easy11When modeling threats related to Kubernetes secrets management, which TWO actions help protect secrets from unauthorized access?
Medium12A security engineer is assessing the threat model of a Kubernetes cluster where the kubelet is configured with the flag --anonymous-auth=true. An attacker has network access to the node's kubelet port (10250). What is the most significant risk introduced by this configuration?
Hard13A 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?
Medium14Which THREE of the following steps are recognized best practices for hardening worker nodes against attacks and container escapes?
Hard15An 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?
Easy16An attacker gains execution inside a container that has the `CAP_SYS_ADMIN` capability enabled and shares the host's IPC namespace. How does `CAP_SYS_ADMIN` facilitate container escape?
Hard17Which Kubernetes feature allows administrators to define mandatory security baselines, such as disallowing privileged containers, across an entire namespace or cluster?
Easy18Which THREE of the following configurations or features represent critical attack vectors or misconfigurations in a Kubernetes cluster threat model?
Hard19A 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?
Easy20An 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?
Easy21An auditor is evaluating the security posture of an on-premises Kubernetes cluster. The team notices that the etcd data directory is stored without encryption at rest. What is the primary threat this exposes the cluster to?
Hard22What is the primary risk associated with running containers as the `root` user (`runAsUser: 0` or omitting the user directive)?
Easy23An attacker who achieves remote code execution inside a misconfigured container discovers that the service account token mounted at /var/run/secrets/kubernetes.io/serviceaccount/token has cluster-wide administrative permissions. Which Kubernetes security feature should be enabled on the ServiceAccount to mitigate the risk of token theft and misuse?
Medium24Which of the following represents a common cloud-native supply chain attack vector where malicious actors publish packages with names similar to popular libraries?
Easy25An organization is building a secure software supply chain for Kubernetes. They want to ensure that containers running in the cluster were built from verified source code and passed automated security gates. Which tool combination supports this attestation and verification pipeline?
Hard26An auditor is reviewing the Kubernetes attack surface and notes that a container is running with privileged: true in its securityContext. Which threat model risk does this setting introduce?
Easy27A security team is evaluating the attack surface of the Kubernetes control plane. They notice that the kubelet API port 10250 is accessible from the internal pod network without proper authorization checks if authentication defaults are misconfigured. What is the primary threat vector associated with an unauthenticated, accessible kubelet API?
Hard28An attacker with read access to Kubernetes Secrets inspects a secret containing TLS private keys. Under the STRIDE threat model, what specific threat category does this represent regarding confidentiality?
Hard29An attacker compromises a cluster node and attempts to inspect container communication. By default, how is pod-to-pod network traffic handled across different nodes in a standard Kubernetes cluster without a service mesh or CNI encryption enabled?
Medium30A 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?
Medium31Which THREE of the following capabilities or runtime configurations pose extreme risks of container escape when granted to an untrusted workload?
Hard32A cluster administrator is conducting a threat analysis regarding supply chain vulnerabilities in container registries and deployment pipelines. Which TWO of the following practices directly mitigate supply chain threats in Kubernetes? (Choose TWO)
Medium33When modeling threats for a Kubernetes cluster using the STRIDE methodology, identifying scenarios where an attacker intercepts unencrypted traffic between worker nodes or between a client and the API server addresses which TWO STRIDE categories? (Choose TWO)
Easy34An administrator wishes to defend against supply chain attacks involving malicious third-party Kubernetes operators installed from public catalogs. What security practice is most effective before installing such operators?
Hard35An auditor evaluates network security controls in a Kubernetes cluster. Which TWO configurations help mitigate lateral movement and network-based attacks between pods?
Medium36An auditor notices that a cluster allows users to create Pods that mount host paths (`hostPath`). Which threat does this pose to the underlying node integrity?
Medium37In the context of Kubernetes API server security, which TWO mechanisms are used to authenticate incoming API requests?
Medium38An attacker with compromised Kubernetes credentials attempts to hide malicious activity by deleting Kubernetes audit logs on the worker node. Where should audit logs ideally be stored and managed in a securely hardened cluster to prevent tampering and ensure non-repudiation?
Hard39An engineer is reviewing the threat model of a Kubernetes cluster exposed to the public internet via a LoadBalancer service. Which configuration flaw most commonly leads to unintended external exposure of administrative dashboards?
Medium40Which of the following is a key component of the Kubernetes threat model concerning the compromise of node kubelets via insecure configuration?
Easy41An attacker manages to compromise a low-privilege pod inside a Kubernetes cluster and attempts to escalate privileges or pivot to other cluster components. Which THREE of the following misconfigurations or weaknesses would significantly aid the attacker's lateral movement or privilege escalation? (Choose THREE)
Hard42A 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?
Medium43What is the primary security benefit of using immutable container base distroless images?
Easy44An organization is performing a STRIDE-based threat model on their Kubernetes deployment. Which TWO of the following threats map directly to the 'Tampering' category in a Kubernetes environment?
Medium45A 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?
Medium46Which THREE of the following supply chain vulnerabilities or risks can impact Kubernetes application deployments during the build or deployment phase?
Hard47A DevOps team uses mutable image tags like `:latest` in their deployment manifests. Under supply chain threat modeling, what vulnerability does this practice introduce?
MediumOther domains
All KCSA exam domains
Frequently asked questions
- What does the Kubernetes Threat Model domain cover on the KCSA exam?
- 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 many questions are in this domain?
- This page lists all 47 Kubernetes Threat Model questions in the KCSA question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Kubernetes Threat Model questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.