Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Linux Foundation KCSA Dumps 2026 with Free Practice Questions and Answers

Practise for the Kubernetes and Cloud Native Security Associate exam with 12 original questions, each with an answer and explanation.

Topics: Kubernetes Cluster Component Security, Compliance And Security Frameworks, Kubernetes Security Fundamentals, Kubernetes Threat Model and 2 more.

Includes single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

KCSA Practice Set Details

Exam Code
KCSA
Questions On This Page
12
Exam Topics Covered
6 of 6
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
59
Certification
Cloud & Containers Certifications
12 questions

Linux Foundation KCSA Exam Questions and Answers by Topic

Overview of Cloud Native Security

14% of the exam

1 practice question on this topicWhat this topic covers

Question 1

Added

Single Answer

A company runs Kubernetes on a public cloud and has hardened its cluster configuration, but a recent assessment found that a compromised cloud administrator could still replace node disks, alter network routes, or access control-plane infrastructure outside the cluster. The company has limited staff and must prioritize one area for a quarterly security improvement. It already performs Kubernetes RBAC reviews and image scanning, and it cannot migrate to a different cloud provider. Which action BEST addresses the remaining risk?

Correct answer: B

The reported attack paths are in the cloud provider and underlying infrastructure layer, so cloud IAM, infrastructure access, networking, and storage controls are the appropriate focus. Kubernetes RBAC governs Kubernetes API permissions, not cloud administrator privileges. Image signatures improve artifact integrity but do not protect infrastructure administration. seccomp constrains system calls inside containers and cannot prevent a cloud administrator from changing disks or routes.

Kubernetes Cluster Component Security

22% of the exam

3 practice questions on this topicWhat this topic covers

Question 2

Added

Single Answer

A cluster's control-plane nodes are isolated from application networks, and administrators reach the API server through a tightly controlled management network. A security review finds that the API server uses TLS, but its certificate validation of the etcd endpoint is disabled; etcd is on a separate network and is reachable only from control-plane nodes. The team cannot add new hardware or introduce a service mesh, and it wants to prevent an attacker who can intercept control-plane traffic from impersonating etcd. Which change BEST addresses the finding?

Correct answer: A

The API server must authenticate the etcd endpoint as well as encrypt the connection. Configuring trusted CA validation prevents a network intermediary from presenting an untrusted etcd server certificate. Rotating the API server's serving certificate protects a different connection. Encryption at rest does not authenticate the remote endpoint, and anonymous API authentication is unrelated and would weaken access control.

Question 3

Added

Dropdown

A cluster operator is configuring kubelet authentication and authorization on nodes that must not accept anonymous requests. The kubelet should authenticate callers using credentials validated by the API server's webhook token authenticator, and it should authorize requests through the API server rather than the permissive always-allow mode. Complete the relevant kubelet configuration values.

Choose the correct value for each blank.

Set authentication.anonymous.enabled to , authentication.webhook.enabled to , and authorization.mode to .
Correct answer:

Set authentication.anonymous.enabled to false, authentication.webhook.enabled to true, and authorization.mode to Webhook.

Disabling anonymous authentication prevents unauthenticated kubelet requests. Enabling webhook authentication lets the kubelet delegate bearer-token authentication to the API server's TokenReview mechanism. Webhook authorization delegates authorization decisions to the API server's SubjectAccessReview mechanism instead of allowing requests unconditionally. Leaving anonymous access enabled defeats the first requirement, while AlwaysAllow does not enforce authorization and ABAC is not the delegated mode requested.

Question 4

Added

Single Answer

An operator must rotate credentials for a Kubernetes component that reads the cluster's persistent state. The cluster stores sensitive objects in etcd, and the organization requires that a stolen copy of the etcd data directory not reveal those values. The API server remains the only supported path for administrative changes, and the team wants to avoid disrupting running workloads. Which action directly addresses the stated confidentiality requirement?

Correct answer: A

Encryption at rest protects stored API data in etcd if the data directory is copied, and separate key protection is essential to preserve that benefit. Audit logging can record access but does not encrypt persisted values. NetworkPolicy controls pod network traffic, not etcd data at rest. Kubelet certificate rotation protects node authentication and does not address confidentiality of the etcd files.

Kubernetes Security Fundamentals

22% of the exam

2 practice questions on this topicWhat this topic covers

Question 5

Added

Multiple Answers

A team hosts a multi-tenant cluster. Tenants use separate namespaces, and the platform must reduce the chance that a compromised pod can reach another tenant's workloads or obtain unnecessary Kubernetes API access. Application teams cannot change their application code this quarter, and the cluster uses a network plugin that enforces Kubernetes NetworkPolicy. The platform must keep workloads running without granting broad privileges or relying on namespace boundaries alone. Which TWO actions best meet the requirements? (Choose two.)

Correct answer: C, E

Default-deny policies with explicit required flows restrict pod-to-pod communication when the installed network plugin enforces NetworkPolicy. Disabling automatic token mounting for workloads that do not call the API reduces credential exposure without requiring application changes. Cluster-admin bindings create excessive authority. Namespace names are not an authorization mechanism by themselves. hostNetwork bypasses ordinary pod-network isolation and does not provide the proposed separation.

Question 6

Added

Single Answer

A development organization has several namespaces and wants to prevent newly created pods from running privileged containers or requesting host namespaces. Existing workloads are already compliant, but developers need time to remediate future violations and the production policy must not allow violations after the migration window. The cluster uses Pod Security Admission, and teams cannot install a separate admission controller. Which approach BEST supports a controlled rollout and the required final enforcement?

Correct answer: D

Pod Security Admission's audit and warn modes expose violations without blocking pod creation, which supports remediation; enforce mode then rejects noncompliant pod specifications. Existing running pods are not automatically evicted by changing the namespace policy. Warn mode alone does not prevent creation. The privileged profile permits the behaviors the organization wants to prohibit, and RBAC does not generally control those pod security-context fields.

Kubernetes Threat Model

16% of the exam

2 practice questions on this topicWhat this topic covers

Question 7

Added

Order List

A security engineer suspects an attacker has obtained a service account token from a running application pod. The team needs to determine whether the token was used to read sensitive resources and then contain access while preserving enough evidence for incident review. Cluster audit logging is enabled, and the service account is dedicated to this workload. Arrange the response steps in the order they should be performed.

Drag the steps into the correct order, or use the arrows.

  1. Verify the workload's required access and monitor for renewed attempts
  2. Review audit records for requests made by the service account
  3. Preserve relevant audit records and record the incident timeline
  4. Remove excessive role bindings and replace the compromised credential
Correct answer:
  1. Review audit records for requests made by the service account
  2. Preserve relevant audit records and record the incident timeline
  3. Remove excessive role bindings and replace the compromised credential
  4. Verify the workload's required access and monitor for renewed attempts

Reviewing the audit trail first helps identify the actions and scope of the suspected misuse. Preserving the relevant records and timeline protects evidence before remediation changes the environment. The compromised credential's authority must then be removed and the credential replaced. Finally, verify least-privilege access and monitor for continued attempts. Revoking access before collecting available evidence can make incident reconstruction harder.

Question 8

Added

Multiple Answers

A public-facing service in a Kubernetes cluster has been targeted by repeated requests that exhaust application worker threads. The service must remain reachable during mitigation, and the team cannot add a paid DDoS service or change the application code before the next release. The ingress controller and cloud load balancer are managed by the platform team, while Kubernetes NetworkPolicy is enforced only for pod traffic. Which TWO actions are the most appropriate immediate controls? (Choose two.)

Correct answer: D, E

Rate limiting at the ingress or load-balancer layer can reduce abusive request volume before it consumes application workers. Scaling replicas and setting appropriate resource controls can improve resilience while the team monitors capacity and impact. Egress policy does not control inbound request rates. Removing a service account token does not affect external HTTP requests. Blocking all ingress would violate the availability requirement.

Platform Security

16% of the exam

2 practice questions on this topicWhat this topic covers

Question 9

Added

Drag And Drop

A platform team is designing controls for a regulated Kubernetes environment. It needs to place each requirement at the correct control point without duplicating responsibility. Match each requirement to the control that directly addresses it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Reject a workload unless its image reference is approved
Verify a publisher's cryptographic signature on an image
Issue and rotate certificates for cluster workloads
Encrypt and authenticate service-to-service traffic in transit
Image supply-chain verification
Admission control
Service mesh mTLS
PKI
Correct answer:
  • Reject a workload unless its image reference is approved → Admission control
  • Verify a publisher's cryptographic signature on an image → Image supply-chain verification
  • Encrypt and authenticate service-to-service traffic in transit → Service mesh mTLS
  • Issue and rotate certificates for cluster workloads → PKI

Admission control evaluates workload requests and can reject unapproved image references. Supply-chain verification establishes whether an artifact's signature is trusted. Service-mesh mutual TLS protects and authenticates service-to-service connections. PKI provides the certificate issuance and lifecycle mechanisms those identities rely on. These controls address distinct points; for example, a valid signature does not itself enforce that a workload is allowed to run.

Question 10

Added

Single Answer

A Kubernetes platform accepts workloads from multiple internal teams. A deployment can reference an image by a mutable tag, and the platform's registry is private, but users with registry credentials can overwrite tags. The security requirement is that a workload's image cannot silently change between review and deployment. Teams must continue using the existing registry, and deployment by immutable digest is supported. What is the BEST control to implement?

Correct answer: D

A digest identifies image content immutably, and checking it against an approved release record prevents a mutable tag from silently selecting different content. A latest tag is intentionally movable. Registry authentication controls who can access the repository but does not guarantee that authorized users cannot overwrite tags. Mirroring a tag does not make the tag immutable or establish that the copied content is approved.

Compliance and Security Frameworks

10% of the exam

2 practice questions on this topicWhat this topic covers

Question 11

Added

Single Answer

A healthcare provider is preparing a Kubernetes platform for an external assessment against a control framework. The assessor requires evidence that each security control has an accountable owner, an implementation status, and a repeatable verification method. The platform team already runs CIS benchmark checks, but results are stored as ad hoc terminal output and are not linked to organizational controls. There is no budget for a new commercial governance platform, and the team wants to preserve its existing technical checks. What is the BEST next step?

Correct answer: B

Mapping controls to checks, owners, and retained evidence makes the existing technical work auditable without buying another platform. CIS benchmark results can support particular safeguards, but they do not establish coverage of every framework control. A threat model identifies risks and mitigations rather than serving as complete control evidence. Audit events show API activity and cannot demonstrate every organizational or technical requirement.

Question 12

Added

Single Answer

A software team must show that production container images can be traced to reviewed source changes and build processes. Builds run in a shared CI system, developers can push to the registry, and the organization cannot prevent all developers from having registry accounts. The release pipeline can be changed, but application teams cannot adopt a new build service this quarter. Which measure provides the strongest practical supply-chain assurance under these constraints?

Correct answer: D

CI-generated provenance tied to the source revision and build identity provides a verifiable link between reviewed source and the released artifact, while deployment-time verification enforces the requirement. Scanning addresses known vulnerabilities, not origin or build integrity. A tag is mutable and does not prove who built the image or from which reviewed source. Replication changes image location, not its provenance.

More Linux Foundation Practice Questions

Get the Full Linux Foundation KCSA Dumps as PDF and Practice Test

12 questions are free on this page and the full set has 59. It comes as a PDF and an online practice test, with 90 days of free updates.