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

Exam preparation

Linux Foundation CKS Exam Guide for the Kubernetes Security Specialist

CKS is the Linux Foundation Certified Kubernetes Security Specialist exam, part of the Kubernetes Security Specialist certification. The time limit is 120 minutes. The official outline has 6 exam topics. Minimize Microservice Vulnerabilities carries the most weight (20%). 11 free practice questions with explanations are online, and each exam topic below links to the ones written for it.

CKS Exam Details

Exam Code
CKS
Time Limit
120 min
Free Practice Questions
11
Full Question Set
64
Exam Topics
6
Last Updated
December 1, 2026
Exam Name
Certified Kubernetes Security Specialist
Question Types
MCQs
Certification
Kubernetes Security Specialist
Difficulty Level
Intermediate
Technologies
KubernetesKubemetes network security policy and GUI access minimizationAPI Access and IAM roles
Job Roles
Kubernetes SpecialistKubernetes AdministratorKubernetes Practitioner

CKS Exam Topics and Weights

Cluster Setup

15% of the exam

What this topic covers

Secure cluster entry points with NetworkPolicies, Ingress controls, and protected node metadata. Check Kubernetes components against the CIS benchmark and verify platform binaries before deployment.

Does a NetworkPolicy listing only Egress restrict incoming traffic to selected pods?

No. A NetworkPolicy isolates only the pods its podSelector selects, and only for the policy types listed in policyTypes. If policyTypes lists just Egress, incoming traffic to those pods stays open while their outgoing traffic follows the rules.

2 free CKS practice questions on Cluster Setup

Cluster Hardening

15% of the exam

What this topic covers

Limit Kubernetes API access with scoped RBAC, including resource-specific permissions in the right namespace. Disable unnecessary service account token mounting and keep Kubernetes updated.

How does resourceNames narrow a namespaced Role rule?

A rule with resourceNames grants its verbs only on the named objects, such as one specific Secret. Use the get verb for that, because list and watch cannot be narrowed by name. A RoleBinding in the production namespace then limits where the grant applies.

2 free CKS practice questions on Cluster Hardening

System Hardening

10% of the exam

What this topic covers

Reduce host attack surfaces by trimming the OS, limiting IAM roles, and restricting network access. Apply kernel controls such as RuntimeDefault seccomp profiles where appropriate.

Can I apply the runtime default seccomp filter without writing a custom profile?

Yes. Set securityContext.seccompProfile.type to RuntimeDefault at pod level, and the container runtime applies its default syscall filter. A custom Localhost profile is only needed when you want a tighter, application-specific allowlist.

1 free CKS practice question on System Hardening

Minimize Microservice Vulnerabilities

20% of the exam

What this topic covers

Constrain workloads with security contexts and policy controls, and protect Secrets with encryption at rest. Use RuntimeClass sandboxes and mTLS to isolate and secure pod traffic.

Does base64 encoding of a Kubernetes Secret protect it from someone reading etcd?

No. Base64 is only encoding, so anyone who reads etcd can decode it. Enable encryption at rest by passing an EncryptionConfiguration file to kube-apiserver, which encrypts Secret data before it is written. Existing Secrets stay unencrypted until they are rewritten.

2 free CKS practice questions on Minimize Microservice Vulnerabilities

Supply Chain Security

20% of the exam

What this topic covers

Build minimal images with multi-stage builds, scan them for vulnerabilities, and allow only trusted registries. Sign and validate images, then deploy the same digest that was scanned.

Why deploy an image by digest rather than by tag after scanning?

A digest identifies the exact image content, so a tag cannot be moved to an unscanned build. Scan the image, then reference it in the pod spec as name@sha256 followed by its digest. The deployed artifact is then the one you scanned.

2 free CKS practice questions on Supply Chain Security

Monitoring, Logging and Runtime Security

20% of the exam

What this topic covers

Use Kubernetes audit logs to track access while avoiding Secret bodies, and ensure policy files are available when the API server starts. Analyze host and container behavior to detect attacks and preserve runtime immutability.

Why must the audit policy file exist before kube-apiserver starts?

The API server reads the policy file at startup, so a missing file stops it from starting. Create the file first, then pass its path with --audit-policy-file and mount it into the control plane. Metadata level logs user, resource, verb and response status without Secret bodies.

2 free CKS practice questions on Monitoring, Logging and Runtime Security

Related Linux Foundation Exams

Continue to Free CKS Exam Questions