The KCSA exam is 60 multiple-choice security questions in 90 minutes, and you need 75% to pass. It covers Kubernetes internals, the threat model and supply chain standards, and the wrong options are often controls that sound right for a different problem.
These come from the CKPrep KCSA pack. In the pack they're part of timed 90-minute mock exams, with the options shuffled on every attempt and your score broken down by domain. Here they're in a fixed order so you can try them on paper.
On exam day you'd have 90 seconds per question. Pick your answer before you open each one.
Question 1 · Overview of Cloud Native Security Which Pod-level securityContext setting does the application security checklist recommend to avoid running containers as root?
- A hostPID: true
- B allowPrivilegeEscalation: true
- C privileged: true
- D runAsNonRoot: true
Show the answer
Answer: D. The checklist recommends runAsNonRoot: true. Sharing the host PID namespace, running privileged, and allowing privilege escalation all weaken isolation.
Source: kubernetes.io/docs/concepts/security/application-security-checklist/
Question 2 · Kubernetes Cluster Component Security What does the etcd --auto-tls option do for client connections?
- A Uses generated self-signed certificates
- B Disables TLS on all client connections
- C Enables client certificate authentication
- D Requires certificates issued by a public CA
Show the answer
Answer: A. --auto-tls makes etcd use automatically generated self-signed certificates for client TLS. It does not disable TLS or require a public CA, and client certificate authentication is enabled separately with --client-cert-auth.
Question 3 · Kubernetes Cluster Component Security Which TCP port does the Kubernetes ports reference list for the Kubelet API?
- A 10250
- B 10255
- C 10257
- D 2380
Show the answer
Answer: A. The reference lists TCP 10250 for the Kubelet API. 10255 is the kubelet read-only port default, 10257 is kube-controller-manager, and 2380 belongs to the etcd port range.
Source: kubernetes.io/docs/reference/networking/ports-and-protocols/
Question 4 · Kubernetes Security Fundamentals In a NetworkPolicy, what does a single from entry containing both namespaceSelector and podSelector select?
- A Matching Pods in the policy's namespace, ignoring the selector
- B All Pods in matching namespaces plus all matching Pods anywhere
- C All Pods in matching namespaces, ignoring podSelector
- D Matching Pods within matching namespaces
Show the answer
Answer: D. When namespaceSelector and podSelector are in the same from element, they are ANDed and select matching Pods inside matching namespaces. Separate elements would be ORed, and neither selector is ignored.
Source: kubernetes.io/docs/concepts/services-networking/network-policies/
Question 5 · Kubernetes Security Fundamentals A reviewer wants to add an RBAC rule that explicitly denies one verb. What should they know?
- A RBAC has no deny rules; permissions are additive
- B Deny rules must be placed before allow rules in a Role
- C A RoleBinding can subtract verbs from its referenced Role
- D Deny rules are supported only in ClusterRoles
Show the answer
Answer: A. RBAC permissions are purely additive and there are no deny rules. Rule ordering, ClusterRoles, and RoleBindings provide no way to subtract a permission.
Source: kubernetes.io/docs/reference/access-authn-authz/rbac/
Question 6 · Kubernetes Security Fundamentals Why do the Kubernetes encryption docs not recommend the aescbc provider?
- A It requires an external KMS plugin on every node
- B It does not support key rotation
- C It cannot be used alongside a KMS provider
- D CBC is vulnerable to padding oracle attacks
Show the answer
Answer: D. The docs do not recommend aescbc because CBC mode is vulnerable to padding oracle attacks. It uses a local key, can be listed with other providers, and supports rotation by adding keys.
Source: kubernetes.io/docs/tasks/administer-cluster/encrypt-data/
Question 7 · Kubernetes Threat Model Which risk does the RBAC guidance associate with unrestricted rights to create objects?
- A Reading Secrets stored in other namespaces
- B Overwriting objects owned by other users
- C Creating enough large objects to cause denial of service
- D Automatically receiving the system:masters group membership
Show the answer
Answer: C. The guidance warns that unrestricted create rights may allow creating enough large objects to cause a denial of service. Create rights do not grant system:masters, cross-namespace Secret reads, or overwriting others' objects.
Source: kubernetes.io/docs/concepts/security/rbac-good-practices/
Question 8 · Platform Security What does Sigstore keyless signing associate with an artifact signature?
- A A key stored in a cloud KMS
- B A timestamp from the registry's clock
- C An identity rather than a long-lived key
- D A long-lived key published in Rekor
Show the answer
Answer: C. Keyless signing binds the signature to an OIDC identity through a short-lived Fulcio certificate instead of a long-lived key. KMS-backed keys are the key-based mode, timestamps come from transparency or timestamp authorities rather than registries, and Rekor records signatures rather than publishing long-lived keys.
Question 9 · Platform Security Why must mutating admission webhooks be idempotent?
- A They must run after all validating webhooks have finished
- B Their patches are applied without schema validation
- C They can never be retried
- D They may process an object they already modified
Show the answer
Answer: D. Mutating webhooks may be invoked more than once, including through reinvocation, so they may see an object they already changed. Their patches are still validated, they can be retried, and they run before validating webhooks.
Source: kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/
Question 10 · Compliance and Security Frameworks An actor uses another person's stolen username and password to sign in. Which STRIDE category fits best?
- A Denial of service
- B Elevation of privilege
- C Spoofing
- D Repudiation
Show the answer
Answer: C. Spoofing involves illegally accessing and using another user's authentication information. Denial of service affects availability, repudiation denies actions, and elevation is gaining higher privileges.
Source: learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-threats
Want the full exam?
The KCSA pack has 180 questions like these, including 3 full 90-minute mock exams scored against the 75% pass mark and 6 domain drills, all running in your terminal.
New to the exam? Read the KCSA exam guide first: format, domains, exam-day rules and a study plan.