Kubernetes · course, labs and mock exams

KCSA course and practice labs

Kubernetes and Cloud Native Security Associate: 6 modules of lessons and demos, 42 tasks from 42 lab templates on real kubeadm clusters, and 1 timed mock exams.

A course, kubeadm labs and a full mock. The exam is multiple choice. Service mesh has no kubectl lab.

  • Beginner
  • 8.5 hours
  • Certificate of completion
  • Pass mark 75%
Modules
6
Lessons
18
Demos
0
Labs
42
Tasks
42
Mock exams
1

The Linux Foundation · 90 minute exam

What you'll learn

Every domain of the exam, weighted like the exam

All 6 domains in the public curriculum. 6 of them already have labs.

What's included

A full course, not just a question bank

  • 18 lessons

    Short lessons for the exam competencies, with commands to copy and links to the official docs.

  • 0 demos

    Walk through a task step by step before you try it yourself.

  • 42 hands-on labs

    42 tasks with their variants, on a kubeadm cluster, graded check by check.

  • 6 module quizzes

    36 original questions, with an explanation for every answer.

  • 1 mock exams

    1 full mocks and 0 domain mocks. Pass mark 75%.

  • Certificate of completion

    From The Cloud Panda when you finish the course. It is a course certificate, not one from The Linux Foundation.

Curriculum

6 modules

18 lessons and 0 demos: 3 h 5 min of reading and demos, about 8.5 hours with the practice. The lessons open with a free account.

01Overview of cloud native security3 lessons · 29 min · 6 labs · quiz

The four Cs, how the surrounding cloud and infrastructure are in scope, isolation options, and what secure images and secure code mean before a Pod starts. Domain: Overview of Cloud Native Security.

  1. lessonThe four Cs of cloud native security9 min
  2. lessonCloud infrastructure and isolation techniques10 min
  3. lessonImage supply and workload code10 min
02Cluster component security3 lessons · 33 min · 11 labs · quiz

What to protect on the API server, etcd, the rest of the control plane, the kubelet and runtime, and the client and storage paths around them. Domain: Kubernetes Cluster Component Security.

  1. lessonAPI server, etcd, scheduler and controller manager12 min
  2. lessonKubelet, runtime, kube-proxy and the Pod boundary11 min
  3. lessonClients, the Pod network and storage10 min
03Kubernetes security fundamentals3 lessons · 34 min · 8 labs · quiz

Pod Security Standards and admission, authentication and RBAC, Secrets, NetworkPolicy, and audit logging. Domain: Kubernetes Security Fundamentals.

  1. lessonPod Security Standards and admission11 min
  2. lessonAuthentication, authorisation and Secrets12 min
  3. lessonNetworkPolicy, segmentation and audit logs11 min
04Kubernetes threat model3 lessons · 30 min · 7 labs · quiz

Trust boundaries and data flow, then the ways an attacker persists, escalates, reaches data, floods the cluster, or abuses the network. Domain: Kubernetes Threat Model.

  1. lessonTrust boundaries and how data moves9 min
  2. lessonPersistence, malicious code and privilege escalation11 min
  3. lessonDenial of service, the network and sensitive data10 min
05Platform security3 lessons · 31 min · 6 labs · quiz

Supply chain and registries, admission control, cluster PKI, and the mesh, connectivity and telemetry a platform adds around Kubernetes. Domain: Platform Security.

  1. lessonSupply chain and image repositories10 min
  2. lessonAdmission control and cluster PKI11 min
  3. lessonMesh, connectivity and security observability10 min
06Compliance and security frameworks3 lessons · 28 min · 4 labs · quiz

How published benchmarks and threat models are used, what supply-chain compliance artifacts are, and which tools automate the checks. Domain: Compliance and Security Frameworks.

  1. lessonBenchmarks and hardening guides9 min
  2. lessonThreat modelling frameworks9 min
  3. lessonSupply-chain compliance and automation10 min

How a lab works

The same loop as a hands-on exam

A task, a live cluster, and checks that read the cluster.

  1. We set the scene

    A setup script puts a live environment into a real state, often a broken one: a broken workload, a missing permission, a Service with no endpoints. You get the task and a terminal.

  2. You fix it

    With the real tools and the official documentation, exactly as you will in the exam. Nothing is simulated and there are no multiple-choice shortcuts.

  3. Checks grade it

    Each lab runs checks against the live environment and shows which passed. There is no answer text to match: if a check fails, you know exactly what is left.

Lab library

Every lab, by exam domain

42 hands-on tasks across 6 domains, about 6 hours of practice.

Kubernetes Cluster Component Security 22% of the exam · 11 labs

API Server

  • K1Record the API server authorization mode6 min

Controller Manager

  • K4Record controller-manager local settings6 min

Scheduler

  • K3Record the scheduler bind address6 min

Kubelet

  • K5Record node01 kubelet authentication6 min

Container Runtime

  • K6Remove the containerd socket from the debug pod8 min

KubeProxy

  • K7Remove the extra admin binding from kube-proxy6 min

Pod

  • K8Take the helper pod off the node8 min

Etcd

  • K2Record etcd client authentication6 min

Container Networking

  • K10Allow only the client pod to reach api8 min

Client Security

  • K9Replace the pipeline cluster-admin binding8 min

Storage

  • K11Replace the kubelet-style hostPath with emptyDir8 min

Kubernetes Security Fundamentals 22% of the exam · 8 labs

Pod Security Standards

  • F1Run api under the restricted profile8 min

Pod Security Admissions

  • F2Turn restricted admission on and fix payments10 min

Authentication

  • F3Issue a client certificate for kcsa-auditor10 min

Authorization

  • F4Grant reader logs but not exec or secrets8 min

Secrets

  • F5Move the billing password into an immutable Secret8 min

Isolation and Segmentation

  • F6Close the cross-namespace secret binding and the network10 min

Audit Logging

  • F7Write an audit policy that keeps secret bodies out8 min

Network Policy

  • F8Default deny, then allow one path8 min

Kubernetes Threat Model 16% of the exam · 7 labs

Kubernetes Trust Boundaries and Data Flow

  • H1Split the web identity from the node and from cluster-admin8 min

Persistence

  • H2Remove the CronJob and the Role that would bring it back8 min

Denial of Service

  • H3Cap object counts in the noisy namespace8 min

Malicious Code Execution and Compromised Applications in Containers

  • H4Shrink what the importer can do10 min

Attacker on the Network

  • H5Default deny the database against other pods8 min

Access to Sensitive Data

  • H6Leave the password only in the Secret8 min

Privilege Escalation

  • H7Remove the wildcard and the runtime socket10 min

Platform Security 16% of the exam · 6 labs

Supply Chain Security

  • P1Replace the latest tag with the running digest8 min

Image Repository

  • P2Attach the pull secret, not the admin secret6 min

Observability

  • P3Report privileged pods, host networking and wildcard Roles8 min

Service Mesh

No kubectl lab for this competency.

PKI

  • P4Approve the kubelet serving CSR and leave the other10 min

Connectivity

  • P5Terminate TLS for store.internal8 min

Admission Control

  • P6Reject the latest tag in one namespace10 min

Overview of Cloud Native Security 14% of the exam · 6 labs

The 4Cs of Cloud Native Security

  • V1Close the in-cluster layers of the web workload10 min

Cloud Provider and Infrastructure Security

  • V4Keep worker pods off every port except DNS8 min

Controls and Frameworks

  • V2Enforce baseline and audit restricted8 min

Isolation Techniques

  • V3Cap tenant-a with a quota and default limits8 min

Artifact Repository and Image Security

  • V5Pin the gallery image and use the pull secret8 min

Workload and Application Code Security

  • V6Run the worker non-root with the secret on a volume8 min

Compliance and Security Frameworks 10% of the exam · 4 labs

Compliance Frameworks

  • M1Apply two benchmark settings in the tenant namespace8 min

Threat Modelling Frameworks

  • M2Record STRIDE findings from the namespace8 min

Supply Chain Compliance

  • M3Pin the release image and record the digest8 min

Automation and Tooling

  • M4Reject privileged pods and hostNetwork in one namespace8 min

Mock exams

1 timed mock exams

Pass mark 75%. A task appears in only one mock.

MockKindTasksTime
KCSA Full Mock 01Full exam4290 min

Start the KCSA course

A free account opens the lessons. The free starter labs on the CKA stay the CKA labs.