Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 13h 13m 36s Coupon code: 50OFF

Linux Foundation KCSA Exam Questions & Answers (November 2026)

Kubernetes and Cloud Native Security Associate exam questions with 17 free practice questions and explained answers. Updated November 18, 2026. · See all Linux Foundation exams

Answer 17 scenario questions on this page and see your score as you go. No sign-up needed.

Exam Details

Exam Code
KCSA
Vendor
Linux Foundation
Duration (minutes)
90 minutes
Languages
English
Delivery
Online, proctored
Question Types
Single Choice
Official Page
View Exam Page
1

Overview of Cloud Native Security

14% of the exam

Cloud native security covers protections across the cloud, cluster, container, and code layers, as well as controls for infrastructure, artifacts, and workloads. Candidates must identify the layer relevant to a security need and select appropriate controls for image integrity and workload isolation.

Question 1 of 17 Single Choice

A company runs a customer portal in containers on a managed Kubernetes service. The cloud provider confirms that its infrastructure controls are operating as expected, and the operations team finds no cluster configuration changes. A security review instead reports that the portal includes an outdated third-party library with a known vulnerability. The team must decide which security layer to address first.

Which security layer should the team address first?

Show Answer

Correct Answer

D

Option D is correct because the reported weakness is in a third-party library used by the application, which belongs to the code layer. Option A is not correct because the cloud provider controls the underlying infrastructure. Option B is not correct because the cluster layer concerns Kubernetes components and configuration. Option C is not correct because the container layer concerns the packaged runtime environment.

Question 2 of 17 Single Choice

A release team builds OCI images in its CI pipeline and stores them in a private registry. Developers currently deploy images using version tags, and an incident review found that a tag had been overwritten after approval. The team already scans images for known vulnerabilities, but it must now ensure that production receives the exact image that was reviewed and released.

Which change best addresses the release process weakness?

Show Answer

Correct Answer

C

Option C is correct because signing and verifying images establishes their origin, while digest references prevent a tag from silently pointing to different content. Option A is not correct because scanning does not establish image provenance or prevent later replacement. Option B is not correct because tags can be changed. Option D is not correct because access controls alone do not prove image integrity.

Question 3 of 17 Single Choice

A research group runs user-submitted analysis jobs alongside internal services on shared worker machines. The jobs must remain in the same Kubernetes environment for operational reasons, but reviewers require stronger isolation because submitted code is untrusted and a container escape could expose the host kernel. Network restrictions and separate service accounts are already in place.

Which isolation approach best meets the requirement?

Show Answer

Correct Answer

B

Option B is correct because the sandboxed runtime provides a virtual-machine boundary between the untrusted job and the shared host kernel. Option A is not correct because namespaces and network policies limit visibility and traffic, but do not provide a separate kernel boundary. Option C reduces available system calls but retains the shared kernel. Option D limits API access, not host-kernel exposure.

2

Kubernetes Cluster Component Security

22% of the exam

This topic covers security controls for Kubernetes components such as the API server, etcd, and kubelet. Candidates must be able to select component settings that protect stored data and enforce authenticated, authorized access.

Question 4 of 17 Single Choice

A healthcare cluster stores patient-related values in Kubernetes Secrets. The API server connects to etcd over mutually authenticated TLS, and RBAC limits which identities can read Secrets. However, etcd snapshots are exported to a separate backup service. The requirement is that Secret values remain unreadable from live etcd data and snapshots if backup storage controls fail.

Which change best meets the requirement?

Show Answer

Correct Answer

A

Option A is correct because API server encryption at rest protects Secret data written to etcd, and rewriting existing objects applies the provider to data already stored. Option B limits API reads but does not protect etcd snapshots. Option C protects traffic, not stored records. Option D relies on filesystem coverage and does not meet the independent protection requirement.

Question 5 of 17 Single Choice

A cluster uses kubelet client certificate authentication and webhook authentication, and its API server can answer webhook authorization requests. The kubelet currently permits anonymous authentication and uses authorization mode AlwaysAllow. An unauthenticated request can read workload details through the kubelet HTTPS endpoint. The cluster requires authenticated requests and authorization decisions based on Kubernetes policies.

Which kubelet configuration change best satisfies both requirements?

Show Answer

Correct Answer

A

Option A is correct because disabling anonymous authentication removes unauthenticated access, while Webhook authorization delegates decisions to the API server. Option B still authorizes every authenticated request without policy checks. Option C retains anonymous access despite webhook authorization. Option D denies all kubelet API requests, including legitimate authorized operations, rather than evaluating them.

3

Kubernetes Security Fundamentals

22% of the exam

Candidates examine how Kubernetes controls access to the API and restricts pod behavior and network communication. They must select suitable admission, authorization, and network policy controls for stated workload needs.

Question 6 of 17 Single Choice

A platform team is preparing a namespace for several existing application pods. The cluster uses Pod Security Admission, and the team must prevent privileged containers and use of host namespaces. One legacy pod must continue to run as UID 0 for now, but it does not use privileged mode or host namespaces. The team wants violations rejected when pods are admitted, rather than only recorded.

Which namespace configuration best meets the team’s requirements?

Show Answer

Correct Answer

A

Enforcing the Baseline standard blocks privileged containers and host namespace use while still allowing the legacy container to run as UID 0. Option B is not correct because Restricted requires the workload to run as non-root. Option C is not correct because Privileged applies no Pod Security restrictions. Option D is not correct because audit records violations but does not reject noncompliant pods.

Question 7 of 17 Single Choice

A controller runs under a dedicated ServiceAccount and operates in one application namespace. It must read and watch pods there and create events, but it does not need to change pods or access other namespaces. An earlier deployment created a ClusterRoleBinding for this ServiceAccount, and a review found that it grants broader access than the controller requires.

Which change best limits the controller to the access it requires?

Show Answer

Correct Answer

A

A namespaced Role and RoleBinding grant only the required pod read and event creation permissions, and deleting the ClusterRoleBinding removes the broader access. Option B is not correct because a ClusterRoleBinding grants permissions across the cluster. Option C is not correct because update and delete exceed the requested access. Option D is not correct because a Role without a RoleBinding does not grant permissions to the ServiceAccount.

Question 8 of 17 Single Choice

A team runs API and database pods in the same namespace, and its network plugin enforces Kubernetes NetworkPolicy resources. Database pods listen on TCP port 5432 and must accept connections only from the API pods. No NetworkPolicies currently select either workload, and the team wants all other ingress traffic to the database pods blocked.

Which NetworkPolicy design meets the stated traffic requirement?

Show Answer

Correct Answer

A

The two ingress policies select the database pods, while only the allowing policy admits traffic from API pods on TCP port 5432. Option B is not correct because selecting API pods for egress does not restrict inbound connections to the database. Option C is not correct because it admits every pod in the namespace. Option D is not correct because it blocks API traffic as well.

4

Kubernetes Threat Model

16% of the exam

This topic covers how attackers can cross trust boundaries, misuse data flows, and threaten workloads or stored information. Candidates must identify plausible threats such as denial of service, code execution, data exposure, and privilege escalation from the details of a system's design.

Question 9 of 17 Single Choice

A records service keeps customer exports on a persistent volume so users can retrieve them for 30 days. When an account closes, the service removes its account record but leaves the export directory. Document identifiers are sequential and visible in download links. A later customer can request a document by identifier, and the lookup checks the current account but not the document's original owner. Which threat should the team record as the primary risk in this data flow?

Which threat should the team record as the primary risk in this data flow?

Show Answer

Correct Answer

B

Option B is correct because the new customer can retrieve documents that remain on the persistent volume, exposing data retained from a previous account. Option A is not correct because the scenario describes no storage exhaustion or service outage. Option C is not correct because no path to node privileges is described. Option D is not correct because no untrusted image is involved.

Question 10 of 17 Single Choice

A namespace hosts a document-conversion service that accepts archives from several external partners. The endpoint is reachable through a public gateway and validates file extensions, but the worker builds a shell command by concatenating the submitted filename. Conversion runs synchronously in the service container, and the team has no separate execution sandbox. Which threat should the team prioritize in its threat model?

Which threat should the team prioritize in its threat model?

Show Answer

Correct Answer

C

Option C is correct because the submitted filename is concatenated into a shell command, creating a path for attacker-controlled input to execute as code in the conversion process. Option A is not correct because the scenario gives no evidence of resource exhaustion. Option B is not correct because interception is not the described attack path. Option D is not correct because no persistent malicious change is described.

Question 11 of 17 Single Choice

A notification service receives requests from the internet and places each request on a queue for processing. A request triggers several expensive database queries, and failed processing causes automatic retries. The service has three replicas, and an operational limit prevents adding more during the current release. A distributed sender can submit requests from many source addresses. The queue is already close to its capacity during normal peak traffic. Which threat best describes the likely impact of this attack path?

Which threat best describes the likely impact of this attack path?

Show Answer

Correct Answer

A

Option A is correct because repeated expensive requests and retries can occupy all available workers and fill the queue, preventing legitimate requests from being processed. Option B is not correct because the scenario describes overload rather than traffic interception. Option C is not correct because it gives no path to node privileges. Option D is not correct because the request pattern does not involve image tampering.

5

Platform Security

16% of the exam

This topic covers platform controls that protect service communication, certificates, and admission of Kubernetes resources. Candidates must select suitable mechanisms for workload identity, certificate lifecycle management, and policy enforcement at the platform boundary.

Question 12 of 17 Single Choice

A finance platform runs on Kubernetes with an Istio service mesh. The ledger service currently accepts calls from several workloads in the finance namespace. PeerAuthentication is already set to STRICT, and telemetry confirms that mesh traffic uses mutual TLS. An audit requirement now states that only the billing workload, running as service account billing, may call the ledger service. Other finance workloads must remain unable to call it.

Which Istio configuration best enforces the required caller identity?

Show Answer

Correct Answer

A

Option A is correct because the AuthorizationPolicy can match the billing workload principal and restrict access to the ledger service. Option B is not correct because pod labels do not establish the required service identity. Option C is not correct because STRICT mTLS is already enabled and does not authorize specific callers. Option D is not correct because validating user JWTs does not enforce the stated workload principal.

Question 13 of 17 Single Choice

An internal reporting service uses TLS, but its certificate and private key are currently copied into a Kubernetes Secret by an administrator. The certificate expires every ninety days, and a recent renewal was missed during a staff change. The organization has already installed cert-manager and approved a ClusterIssuer for internal service names. The service reads its certificate from a mounted Secret, and the team wants renewal managed through Kubernetes resources.

Which change best meets the certificate management requirement?

Show Answer

Correct Answer

A

Option A is correct because cert-manager uses the Certificate resource and its issuer reference to issue and renew a certificate into the named Secret. Option B is not correct because ConfigMaps are not intended to hold private keys and the process remains manual. Option C is not correct because approving a CSR does not provide ongoing renewal. Option D is not correct because a Secret reference does not invoke an issuer.

Question 14 of 17 Single Choice

A company allows application teams to create ClusterIP Services in namespaces labeled exposure=restricted, but its platform team must prevent those teams from creating NodePort or LoadBalancer Services there. Teams still need to deploy ordinary internal services. The control must reject an invalid Service during API admission, apply only to namespaces with that label, and avoid adding an external webhook dependency.

Which approach enforces this restriction at API admission while preserving access to ClusterIP Services?

Show Answer

Correct Answer

A

Option A is correct because a ValidatingAdmissionPolicy can inspect Service fields and reject the two prohibited types only in selected namespaces. Option B is not correct because it filters pod traffic rather than preventing Service creation. Option C is not correct because teams would also lose the ability to create permitted ClusterIP Services. Option D is not correct because Pod Security Admission evaluates pod specifications, not Service types.

6

Compliance and Security Frameworks

10% of the exam

This topic covers compliance frameworks, threat modeling methods, and tools used to automate supply-chain compliance checks. Candidates must select an approach that fits stated audit requirements and operational workflows.

Question 15 of 17 Single Choice

A payment services company is preparing an independent assessment of its production environment. Some systems store, process, or transmit payment card data, while other corporate systems do not. The board wants the assessment scope and requirements to focus specifically on protecting payment card data. It is not seeking a general information security certification or a broad maturity review. Which framework should the compliance lead use for this assessment?

Which framework best matches the audit requirement?

Show Answer

Correct Answer

A

Option A is correct because PCI DSS directly governs protection of payment card data in systems that store, process, or transmit it, which is the stated audit scope. Option B, ISO/IEC 27001, establishes an information security management system but is not specific to card data. Option C, SOC 2 Type II, reports on service controls over time. Option D, NIST Cybersecurity Framework, is a general cybersecurity framework.

Question 16 of 17 Single Choice

A software team is adding an external identity service to a customer-facing application. Before implementation, the security lead wants a repeatable workshop method that uses the data-flow diagram to examine components and trust boundaries, then prompts engineers to consider defined categories of threats. The team is not asking for a business risk assessment or a method to score already identified risks. Which approach should the lead select?

Which approach best meets the engineering team's requirement?

Show Answer

Correct Answer

A

Option A is correct because STRIDE gives the team a repeatable set of threat categories to apply to components and trust boundaries in a data-flow model. Option B, PASTA, is a broader risk-centric, seven-step process. Option C, OCTAVE, focuses on organizational risk and assets. Option D, DREAD, is a risk-rating approach, not the requested threat elicitation method.

Question 17 of 17 Single Choice

A company has adopted external libraries from several repositories, and its legal team requires license review before those libraries are accepted into production. The team wants to scan source repositories for license information and send findings through an auditable approval queue. The immediate goal is license compliance, not software inventory generation, artifact signing, or cluster configuration assessment. Which tool best fits this workflow?

Which tool best fits the source-license review requirement?

Show Answer

Correct Answer

A

Option A is correct because FOSSology scans source and related package material for license information and supports review workflows, matching the need to route findings for legal approval. Option B, Syft, primarily generates SBOMs. Option C, Cosign, signs and verifies software artifacts. Option D, kube-bench, checks Kubernetes against benchmark recommendations rather than reviewing source licenses.

Continue Your KCSA Preparation

You have seen 17 questions from a full set of 59. Prepare with the KCSA dumps PDF and the Web-Based Practice Test.

PDF

  • Compatible with All Devices
  • Printable Format
  • No Download Limits

Practice Test

  • Check your timing and weak areas
  • No Practice Limits
  • Regularly Updated
Get Full Access
  • 100% Money-Back Guarantee
  • 90 Days Free Updates
  • Instant Access

Frequently Asked Questions

Which KCSA topics are hardest to distinguish under exam pressure?

Many candidates find it challenging to choose the right control when several Kubernetes components or security layers are involved. The exam covers API server, etcd, and kubelet security, alongside access controls, admission, and network policies. You need to connect a stated need to the component or layer that can address it. Practise by taking a scenario such as protecting stored data and explaining which component setting is relevant, rather than memorising control names in isolation.

How demanding are the KCSA threat-model questions?

The threat-model material asks you to reason from system design details. You may need to recognise how an attacker could cross a trust boundary or misuse a data flow, then identify a plausible outcome such as code execution, denial of service, data exposure, or privilege escalation. The 90-minute limit makes concise analysis useful. When reviewing a scenario, mark the asset, the trust boundary, and the likely threat before selecting a response.

Why can Kubernetes security knowledge feel different from answering KCSA scenarios?

Knowing that Kubernetes has admission controls, authorization, and network policies is different from selecting the suitable control for a particular workload need. This gap often appears when study has focused on definitions rather than decisions. The Exam4Success Practice Test format can help you check how well you apply concepts under timed conditions and identify weak areas. After each attempt, write down why the chosen control fits the scenario and why nearby alternatives do not.

Can I prepare for KCSA if I cannot spend much time in a Kubernetes lab?

Limited lab access can make practical security topics harder to revisit, especially when studying workload isolation, image integrity, or network communication. The exam topics also require understanding what controls do and where they apply, so lab time is not the only way to study. The Exam4Success PDF format supports reviewing those ideas away from a cluster. Use it to make a layer-by-layer control map, then revisit unfamiliar terms when lab access is available.

What security knowledge does KCSA help me demonstrate?

KCSA focuses on foundational knowledge across cloud native security, Kubernetes components, access and workload controls, threat modeling, platform security, and compliance. It is relevant to candidates who need to discuss how controls protect clusters, stored information, and workloads. The exam also includes workload identity, certificate lifecycle management, and supply-chain compliance checks. To make the scope useful for your work, choose a Kubernetes environment you know and map its controls to the exam topics.

Will KCSA help me build a foundation for security work with Kubernetes?

The exam gives candidates a structured view of security decisions across the cloud, cluster, container, and code layers. Its topics include protecting API access, restricting pod behavior and network communication, and selecting platform mechanisms for certificates and policy enforcement. That knowledge can support further study or responsibilities involving Kubernetes security, although the exam alone does not establish practical experience. Identify the area most relevant to your goals, then use it as the starting point for deeper hands-on learning.

What should I study first if I am beginning KCSA preparation?

Start with the exam topic weights and build a study plan around them. Kubernetes Cluster Component Security and Kubernetes Security Fundamentals each account for 22 percent, so give both substantial attention. Then connect those controls to the Cloud Native Security overview and the threat-model topics. The Exam4Success PDF can help organise review across these areas. Begin by making a short checklist of API server, etcd, kubelet, access, admission, and network policy concepts you need to explain.

How can I judge whether I am ready for the 90-minute KCSA exam?

Readiness means more than recalling security terms. You should be able to select controls for stated workload needs, identify threats from design details, and connect compliance requirements to suitable approaches. Because KCSA is an online, proctored exam with a 90-minute duration, practise maintaining a steady pace while reading scenarios carefully. The Exam4Success Practice Test format can help reveal topics that still need review. Before scheduling, use missed or uncertain answers to guide one final focused study session.

Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Linux Foundation.