dc dotCreds
Certified Kubernetes Security Specialist Practice Test

Kubernetes CKS Practice Test

Start today’s free 10-question Kubernetes CKS set with source-backed explanations, local progress, and a fresh rotation every morning.

10 Free Daily Questions Source-backed Explanations 200 Verified Questions

Questions updated at Aug 23, 2026, 8:12 PM CDT

Go Pro - One Time Unlock

Unlock the full CKS bank

200 verified questions Exam Mode Practice Mode Detailed explanations Weak-area review No subscription - one-time unlock

Get the complete source-backed bank with Interview Questions, the full Study Guide, full Course Notes, detailed explanations, weak-area review, and exam-style practice.

Interview Questions Full Study Guide Full Course Notes Exam Mode Practice Mode Guided Course Detailed explanations Weak-area review No subscription
$4.99 One-time payment
See bundle and PDF options

We will confirm your site email in one quick checkout step.

Why DotCreds?

Practice with explanations that teach.

Source links for every answer Every wrong answer explained Guided Course included Practice and Exam Mode Weak-area tracking Same verified bank across web practice

What you get with free practice

10 Free Questions Daily Fresh set every day from the live bank
Detailed Explanations Learn with clear source-backed answers
Track Your Progress Daily history and performance insights
Upgrade Anytime Unlock the full bank when you are ready
Today's 10 Kubernetes CKS questions

Use this Kubernetes CKS practice test to review Certified Kubernetes Security Specialist. Questions rotate daily and each answer links back to the source used to write it.

Today’s Set
10 questions
Rotates at 10:00 AM local time
Progress
0/10
Answered on this page
Accuracy
0%
Loading countdown…

200 verified questions are in the live bank. Free daily questions are selected from a rotating sample set. Unlock Pro to access the full question bank.

Preparing today’s free questions... Ordering the final locked-bank set before showing the practice cards.
Question 1 of 10
Objective Use Role Based Access Controls to minimize exposure Cluster Hardening (15%)

A support identity is granted `impersonate` on users so a troubleshooting tool can reproduce authorization problems. The rule does not restrict which users may be impersonated. What is the main concern?

Concept tested:
Question 2 of 10
Objective Manage Kubernetes secrets Minimize Microservice Vulnerabilities (20%)

A troubleshooting script runs `env` and uploads output to centralized logs. A Pod receives API keys from Secrets as environment variables. What should security prioritize?

Concept tested:
Question 3 of 10
Objective Using least-privilege identity and access management System Hardening (10%)

A monitoring daemon on each node runs under root even though it only needs read access to two log directories and a metrics socket. Which design is preferable?

Concept tested:
Question 4 of 10
Objective Secure your supply chain Supply Chain Security (20%)

A policy requires both a trusted signature and a vulnerability-scan attestation younger than 24 hours. The signature verifies, but the attestation is 72 hours old. Which policy outcome is defensible?

Concept tested:
Question 5 of 10
Objective Use Kubernetes audit logs to monitor access Monitoring, Logging and Runtime Security (20%)

Audit logs show `user.username=system:serviceaccount:orders:api`, verb `create`, resource `rolebindings`, namespace `finance`, source IP from an application node, followed seconds later by privileged Pod creation. What is the most useful immediate analytical action?

Concept tested:
Question 6 of 10
Objective Use Network security policies to restrict cluster level access Cluster Setup (15%)

The team creates a correct-looking default-deny policy, but every Pod can still communicate freely. `kubectl get networkpolicy` shows the object and no API errors. What should be verified FIRST?

Concept tested:
Question 7 of 10
Objective Understand and implement isolation techniques Minimize Microservice Vulnerabilities (20%)

Two tenant teams use separate namespaces, but both can create ClusterRoles and ValidatingWebhookConfigurations. NetworkPolicies isolate their Pods. Is namespace separation sufficient?

Concept tested:
Question 8 of 10
Objective Minimize host OS footprint System Hardening (10%)

A fleet uses mutable nodes that have accumulated manual packages and configuration drift. Security wants a repeatable hardened baseline. Which operating model best supports that goal?

Concept tested:
Question 9 of 10
Objective Minimize base image footprint Supply Chain Security (20%)

A Dockerfile installs build packages and then removes them in a later layer of the SAME stage. Image history still contains the package payload in earlier layers. What design better minimizes the final artifact?

Concept tested:
Question 10 of 10
Objective Perform behavioral analytics to detect malicious activities Monitoring, Logging and Runtime Security (20%)

An alert says a new DaemonSet appeared on every node. Runtime agents then report the same unexpected binary executing with hostPID access. What evidence should be correlated to identify who initiated the behavior?

Concept tested:
Locked preview

You are viewing today’s free 10. Unlock 190 more questions.

Unlock full bank
Daily sample Rotating practice Free daily questions are selected from a rotating sample set.
Pro bank Full access Unlock Pro to access the full question bank, Exam Mode, Practice Mode, and random tests.
CKS Pro $4.99 one-time

50 Exam Practice Test $1.99 one-time

A 50-question CKS PDF for short review sessions. Questions come first, then the answer review and explanations later in the file.

Kubernetes Bundle $9.99 one-time

Unlock all 3 active Kubernetes Bundle practice banks in one permanent purchase.

What’s includedCKA, CKAD, CKS
All Access $6.99/month

Unlock every active practice exam, bundle and path experience, Pro course and study content, and included downloads.

What’s includedEvery current and future active practice exam, All active bundle and career-path practice content, Pro course lessons, study content, and supported paid downloads

Choose an unlock option to continue. We will confirm your site email in one quick checkout step.

Secure checkout powered by Stripe. Source-backed questions. Not brain dumps. Checkout stays on this page and unlocks the same Pro builder on this practice page.

Purchase options

Unlock the full CKS bank.

Get the full bank, Exam Mode, Practice Mode, question sets, random tests, readiness tracking, saved box scores, and review tools for this exam.

The PDF versions keep questions first and move the answer review, explanations, and distractor notes to the back of the file.

200 verified exam-style questions Every choice explained Exam Mode and Practice Mode Question sets and random tests Readiness score and trends Previous test box scores

You've answered 0/10 questions in today's set.

Locked: 190 more questions in the full bank.

Locked: exam simulation mode, practice mode, readiness tracking, and saved review history.

Checkout stays on this page, so you can keep practicing, unlock the full bank, and start Exam Mode or Practice Mode when you are ready.

Cheat Sheets

7-day score keeper

Answer questions today and this will become a rolling 7-day scorecard.

Local history
Optional progress sync

Keep today’s practice moving

Guest progress saves automatically on this device. Add an email later when you want a magic link that keeps your daily CKS practice in sync across browsers.

Guest progress saves on this device automatically

Guest progress is available without an account.

Source-backed answer review

The free daily Kubernetes CKS set includes crawlable question text, answer choices, correct answer labels, objective mapping, and source links. Only the first SEO card includes answer explanations and any extra learning features. Pro-only bank questions stay locked; this section mirrors only the 10 free daily questions already shown on this page.

Question 1 A support identity is granted `impersonate` on users so a troubleshooting tool can reproduce authorization problems. The rule does not restrict which users may be impersonated. What is the main concern?

Answer choices

  1. A. Impersonation changes only log display names and never affects authorization, for the described technical objective and its associated operational control requirements, within the described context.
  2. B. Impersonation is harmless if audit logging is enabled, for the described technical objective and its associated operational control requirements, for evaluation.
  3. C. The only risk is denial of service from extra API calls, within the documented operational, security, ownership, and validation requirements.
  4. D. The identity may assume a more privileged user's effective permissions; scope impersonation to only the required identities or groups, for the described technical objective.

Correct answer

The identity may assume a more privileged user's effective permissions; scope impersonation to only the required identities or groups, for the described technical objective.

Impersonated identity is used for authorization, so broad impersonation can confer broad rights. Source basis: Kubernetes recommends least-privilege RBAC, namespace-scoped bindings where possible, and careful treatment of secret list/watch, workload creation, nodes/proxy, bind, escalate, and impersonate because those permissions can enable privilege escalation.

Wrong-answer review

  • A. Impersonation changes only log display names and never affects authorization, for the described technical objective and its associated operational control requirements, within the described context.: Impersonation is not merely cosmetic.
  • B. Impersonation is harmless if audit logging is enabled, for the described technical objective and its associated operational control requirements, for evaluation.: Auditability does not remove the privilege.
  • C. The only risk is denial of service from extra API calls, within the documented operational, security, ownership, and validation requirements.: The primary concern is privilege acquisition, not request volume.

Extra learning features

Why candidates miss this

Candidates commonly miss this by treating impersonation as a harmless troubleshooting feature. The decisive clue is that authorization is evaluated as the impersonated identity, so broad impersonate permission can inherit powerful rights and must be tightly scoped. Likely wrong answer: Impersonation is harmless if audit logging is enabled. Review focus: Role Based Access Control Good Practices

Interview question

Q: A support tool needs Kubernetes user impersonation for authorization troubleshooting. How would you grant that capability without turning the support identity into a practical privilege-escalation path? Strong answer: I would treat impersonation as a high-risk privilege because authorization is evaluated as the impersonated identity. I would allow only the specific identities or groups needed, using resourceNames where applicable, avoid broad impersonation of arbitrary users, and audit the use of the privilege. On current clusters that support constrained impersonation, I would also evaluate limiting which actions can be performed while impersonating. The design goal is least privilege and a tightly bounded troubleshooting path.

  • impersonation inherits the target identity's effective rights
  • restrict identities with resourceNames where applicable
  • avoid arbitrary-user impersonation
  • audit impersonation activity
  • least privilege or constrained impersonation

Caution: Impersonation is not cosmetic. Broad impersonation can become effective privilege escalation.

Objective/domain: Cluster Hardening (15%)

Source: Role Based Access Control Good Practices

Question 2 A troubleshooting script runs `env` and uploads output to centralized logs. A Pod receives API keys from Secrets as environment variables. What should security prioritize?

Answer choices

  1. A. Base64-encode the log stream because Base64 provides confidentiality, for the described technical objective and its associated operational control requirements, within this context.
  2. B. Grant the logging agent `get secrets` so it can identify and remove them later, within the minimize microservice vulnerabilities (20%) context.
  3. C. Disable Secret encryption at rest so logs and etcd use the same representation, for the described technical objective and its associated operational control requirements, for evaluation.
  4. D. Prevent Secret values from entering diagnostic output and logs; use safer delivery or redaction and tightly scope troubleshooting, as the primary implementation for the described business requirement.

Correct answer

Prevent Secret values from entering diagnostic output and logs; use safer delivery or redaction and tightly scope troubleshooting, as the primary implementation for the described business requirement.

Objective/domain: Minimize Microservice Vulnerabilities (20%)

Source: Good practices for Kubernetes Secrets

Question 3 A monitoring daemon on each node runs under root even though it only needs read access to two log directories and a metrics socket. Which design is preferable?

Answer choices

  1. A. Run it under a dedicated non-root identity with only the required file/socket permissions or narrowly scoped capabilities, for the stated requirement.
  2. B. Run the daemon as root but disable TLS to reduce complexity, for the described technical objective and its associated operational control requirements, for evaluation.
  3. C. Grant the Pod privileged mode so host permissions are simpler, under the organization’s defined implementation and exception-management process.
  4. D. Keep root and rely on the daemon vendor's reputation, under the organization’s defined implementation and exception-management process.

Correct answer

Run it under a dedicated non-root identity with only the required file/socket permissions or narrowly scoped capabilities, for the stated requirement.

Objective/domain: System Hardening (10%)

Source: Kubernetes Hardening Guide

Question 4 A policy requires both a trusted signature and a vulnerability-scan attestation younger than 24 hours. The signature verifies, but the attestation is 72 hours old. Which policy outcome is defensible?

Answer choices

  1. A. Accept because signature age is more important than attestation age, for the described technical objective and its associated operational control requirements, as proposed.
  2. B. Reject or quarantine until a fresh policy-compliant attestation is produced and verified for the same artifact digest, for this requirement.
  3. C. Update the attestation timestamp locally without re-signing it, as the proposed design for the complete governed operational workflow.
  4. D. Retag the image with today's date; the attestation becomes current, for the described technical objective and its associated operational control requirements.

Correct answer

Reject or quarantine until a fresh policy-compliant attestation is produced and verified for the same artifact digest, for this requirement.

Objective/domain: Supply Chain Security (20%)

Source: In-Toto Attestations

Question 5 Audit logs show `user.username=system:serviceaccount:orders:api`, verb `create`, resource `rolebindings`, namespace `finance`, source IP from an application node, followed seconds later by privileged Pod creation. What is the most useful immediate analytical action?

Answer choices

  1. A. Focus only on CPU metrics; API verbs do not help reconstruct security events, for the described technical objective and its associated operational control requirements, for the stated implementation and support requirements.
  2. B. Ignore the username because audit logs cannot identify ServiceAccounts, for the described technical objective and its associated operational control requirements, as the selected approach for the stated technical and business outcome, for evaluation.
  3. C. Delete the audit logs after extracting the source IP to prevent sensitive-data exposure, for the described technical objective and its associated operational control requirements, for the described technical objective.
  4. D. Correlate the ServiceAccount's effective RBAC, the RoleBinding target, source/workload identity, and subsequent Pod-creation events on the same timeline to determine whether this is an authorization abuse path, within the defined security and accountability boundaries.

Correct answer

Correlate the ServiceAccount's effective RBAC, the RoleBinding target, source/workload identity, and subsequent Pod-creation events on the same timeline to determine whether this is an authorization abuse path, within the defined security and accountability boundaries.

Objective/domain: Monitoring, Logging and Runtime Security (20%)

Source: Auditing

Question 6 The team creates a correct-looking default-deny policy, but every Pod can still communicate freely. `kubectl get networkpolicy` shows the object and no API errors. What should be verified FIRST?

Answer choices

  1. A. Change the policy API version to `v1beta1` so the kubelet will enforce it, under the organization’s defined implementation and exception-management process.
  2. B. Verify that the cluster's CNI/network plugin actually implements NetworkPolicy enforcement, for this requirement.
  3. C. Add a second identical default-deny policy because one policy is informational only, as the organization’s selected response.
  4. D. Restart kube-apiserver; NetworkPolicy is enforced directly by the API server, for the stated security, delivery, and accountability requirements.

Correct answer

Verify that the cluster's CNI/network plugin actually implements NetworkPolicy enforcement, for this requirement.

Objective/domain: Cluster Setup (15%)

Source: Network Policies

Question 7 Two tenant teams use separate namespaces, but both can create ClusterRoles and ValidatingWebhookConfigurations. NetworkPolicies isolate their Pods. Is namespace separation sufficient?

Answer choices

  1. A. No. Cluster-scoped permissions let a tenant affect resources outside its namespace; restrict cluster-scoped APIs and use stronger control-plane isolation if tenants require that level of autonomy.
  2. B. Yes. Namespaces automatically constrain every Kubernetes resource, including ClusterRoles and webhooks, for the described technical objective and its associated operational control requirements, as the organization’s selected response.
  3. C. No, but adding ResourceQuota alone creates a hard security boundary for cluster-scoped resources, for the described technical objective and its associated operational control requirements, for the stated implementation and support requirements.
  4. D. Yes, because NetworkPolicy prevents API-server privilege escalation, for the described technical objective and its associated operational control requirements, for the described technical objective and its associated operational control requirements, for this decision.

Correct answer

No. Cluster-scoped permissions let a tenant affect resources outside its namespace; restrict cluster-scoped APIs and use stronger control-plane isolation if tenants require that level of autonomy.

Objective/domain: Minimize Microservice Vulnerabilities (20%)

Source: Multi-tenancy

Question 8 A fleet uses mutable nodes that have accumulated manual packages and configuration drift. Security wants a repeatable hardened baseline. Which operating model best supports that goal?

Answer choices

  1. A. Install a full desktop environment so operators can inspect security settings locally, under the documented operational and governance requirements.
  2. B. Use a hardened minimal node image and replace/rebuild drifted nodes from the approved baseline rather than continually hand-modifying them, as described.
  3. C. Disable configuration monitoring so drift does not trigger noisy alerts, for the described technical objective and its associated operational control requirements, in context.
  4. D. Permit manual changes but document them in shell history, for the described technical objective and its associated operational control requirements, for the described technical objective.

Correct answer

Use a hardened minimal node image and replace/rebuild drifted nodes from the approved baseline rather than continually hand-modifying them, as described.

Objective/domain: System Hardening (10%)

Source: Kubernetes Hardening Guide

Question 9 A Dockerfile installs build packages and then removes them in a later layer of the SAME stage. Image history still contains the package payload in earlier layers. What design better minimizes the final artifact?

Answer choices

  1. A. Set `readOnlyRootFilesystem: true`; Kubernetes rewrites the image layers at Pod start, for the described technical objective and its associated operational control requirements, within the proposed design.
  2. B. Compress the final image tarball; compression removes vulnerable packages from layer history, for the described technical objective and its associated operational control requirements, when applied.
  3. C. Rename the package layer so scanners ignore it, for the described technical objective and its associated operational control requirements, for the stated scenario.
  4. D. Use a separate build stage and copy only required outputs into a fresh final stage so build packages are absent from final-image layers, under the organization’s defined implementation and exception-management process.

Correct answer

Use a separate build stage and copy only required outputs into a fresh final stage so build packages are absent from final-image layers, under the organization’s defined implementation and exception-management process.

Objective/domain: Supply Chain Security (20%)

Source: Multi-stage builds

Question 10 An alert says a new DaemonSet appeared on every node. Runtime agents then report the same unexpected binary executing with hostPID access. What evidence should be correlated to identify who initiated the behavior?

Answer choices

  1. A. Only the node's CPU graph because DaemonSets are scheduler-created and have no API actor, under the stated technical, operational, and governance constraints.
  2. B. Only container stdout from one replica, for the described technical objective and its associated operational control requirements, when applied.
  3. C. Only the registry's image size history, as the selected approach for the stated technical and business outcome.
  4. D. Kubernetes audit records for the DaemonSet create/update with runtime events from the resulting Pods and nodes, as the organization’s selected response.

Correct answer

Kubernetes audit records for the DaemonSet create/update with runtime events from the resulting Pods and nodes, as the organization’s selected response.

Objective/domain: Monitoring, Logging and Runtime Security (20%)

Source: Kubernetes Audit Events | Falco

Where to go after the daily web set

How are Kubernetes CKS questions generated?

dotCreds builds Kubernetes CKS practice questions from public exam objectives and Linux Foundation exam and documentation references. The questions are written for realistic study practice, not copied from exam dumps.

How are explanations sourced?

Each question includes an explanation and, when available, a source link back to the provider documentation or reference used to validate the answer. That keeps the practice tied to study material you can actually review.

What score do I get?

The page tracks today's answered count and accuracy for the 10-question daily set, then saves a 7-day score history on this device so you can see your recent practice trend.

Why use this site?

The site is the fastest way to start Kubernetes CKS practice without installing anything. It is built for daily recall, quick weak-topic discovery, and source-backed explanations you can review immediately.