Printable PDF
Vendor: Linux Foundation
Exam Code: CKS
Exam Name: Certified Kubernetes Security Specialist (CKS) Exam
Certification: Kubernetes System Administration
Total Questions: 46 Q&A
Updated on: Dec 13, 2024
Note: Product instant download. Please sign in and click My account to download your product.
Create a new ServiceAccount named backend-sa in the existing namespace default, which has the capability to list the pods inside the namespace default.
Create a new Pod named backend-pod in the namespace default, mount the newly created sa backend-sa to the pod, and Verify that the pod is able to list pods.
Ensure that the Pod is running.
A. See the below:
B. PlaceHolder
You must complete this task on the following cluster/nodes:
Cluster: trace Master node: master Worker node: worker1
You can switch the cluster/configuration context using the following command:
[desk@cli] $ kubectl config use-context trace
Given: You may use Sysdig or Falco documentation.
Task:
Use detection tools to detect anomalies like processes spawning and executing something weird frequently in the single container belonging to Pod tomcat.
Two tools are available to use:
1.
falco
2.
sysdig
Tools are pre-installed on the worker1 node only.
Analyse the container's behaviour for at least 40 seconds, using filters that detect newly spawning and executing processes.
Store an incident file at /home/cert_masters/report, in the following format:
[timestamp],[uid],[processName]
Note: Make sure to store incident file on the cluster's worker node, don't move it to master node.
A. See the explanation below
B. PlaceHolder
Enable audit logs in the cluster, To Do so, enable the log backend, and ensure that
1.
logs are stored at /var/log/kubernetes-logs.txt.
2.
Log files are retained for 12 days.
3.
at maximum, a number of 8 old audit logs files are retained.
4.
set the maximum size before getting rotated to 200MB
Edit and extend the basic policy to log:
1.
namespaces changes at RequestResponse
2.
Log the request body of secrets changes in the namespace kube-system.
3.
Log all other resources in core and extensions at the Request level.
4.
Log "pods/portforward", "services/proxy" at Metadata level.
5.
Omit the Stage RequestReceived
All other requests at the Metadata level
A. See the explanation below:
B. PlaceHolder
Hannah Johnson
Leads4Pass is one of the best websites I have ever used. It only took me 3 days of preparation to complete my goal plan. Not only that, I was successful with high scores.
Joel C
It was the 16th when I purchased the Leads4Pass materials. They updated the materials on the 18th. When I asked them to send me the latest materials, they quickly sent me the latest ones. The new materials included several of the latest core question types. Finally, I succeeded. Six of the new core questions were completely matched. Thank you!
Martha W
I have used free materials, the privacy is poor, the public content matching rate is too low,I gave up on them because they failed me once. Leads4Pass was recommended by a friend. Both the privacy protection and the preciousness of the materials are very high. By the way, I won this time.
David Frazier
There is nothing more satisfying than success! Their question types are very similar, and they were very helpful to my progress in answering questions during the exam. Thank you.
Dolores N
I need to take multiple certification exams for my organization. There are so many certification exams that I can't help but choose supporting materials. I have tried multiple platforms with some success and failure. In the end, I chose Leads4Pass. It was instant for me. Effective materials are where the real value lies.
Helen Kovac
I was despised by a close friend until he failed twice and I passed once and then he changed his mind. He shared his failure experience with me. He told me that he had been learning through books and looking for free materials. These outdated contents could not really help him. Later I recommended him Leads4Passs and he also succeeded.
Raymond I
I was lucky enough to choose Leads4Pass for the first time. I used their VCE tool to learn, and it was really easy and efficient. I think what’s really amazing is that they can ensure that all materials are industry-leading, which is really amazing.
The following table comprehensively analyzes the quality and value of Kubernetes System Administration CKS exam materials.