- A Cloud Guru
Certified Kubernetes Security Specialist (CKS) - Practice Exam Part 7
This lab provides practice scenarios to help prepare you for the Certified Kubernetes Security Specialist (CKS) exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKS exam. Good luck!
Table of Contents
Create a Falco Rules File
There is a Pod on the worker node called
defaultnamespace. Its only container is also called
On the worker node, create a Falco rules file at
Configure a rule to detect spawning processes within the container. The output should be in the format
[timestamp],[container id],[container image name],[uid],[process name]. (The priority should be NOTICE; no
[ ]are needed in the output).
Log Activity from a Suspicious Container
- Run Falco for 45 seconds or so to check for activity in the container.
- Save the output to a file located at
/home/cloud_user/falco_output.logon the worker node.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.