Sample questions
Certified Kubernetes Security Specialist CKS practice questions
Arrange the steps to configure and use kube-bench to audit a Kubernetes cluster's security.
Arrange the steps to create and enforce a Pod Security Policy (PSP) in a Kubernetes cluster.
Which of the following is the correct kubectl command to view the OPA Gatekeeper ConstraintTemplates in the cluster?
You are creating a ServiceAccount that should not automatically mount its token to pods. Which field should be set in the ServiceAccount manifest?
Which THREE of the following are required to implement a secure software supply chain using Kubernetes native features?
Which TWO of the following are valid methods to secure the etcd datastore in a Kubernetes cluster?
An admin has created an EncryptionConfiguration to encrypt secrets at rest in etcd. After applying the configuration and restarting the kube-apiserver, existing secrets are still s…
Which TWO of the following are recommendations from the CIS Kubernetes Benchmark?
Which THREE of the following are valid flags for enabling admission plugins on the API server?
You are using `crictl` to debug a container that is not responding. Which command should you use to get the list of running containers?
Monitoring, Logging and Runtime SecuritymediumSee the answer and why each option is right or wrong →You are securing etcd. Which of the following is required to enable TLS client authentication for etcd?
A security team wants to ensure that all API requests to the cluster are authenticated and uses RBAC for authorization. Which two flags must be set on the kube-apiserver?
Which command loads an AppArmor profile from a file into the kernel?
You need to enable audit logging for the Kubernetes API server to capture all requests at the RequestResponse level. Which flag should you add to the kube-apiserver configuration?
Which THREE of the following are recommended actions to secure the Kubernetes Dashboard? (Choose three.)
A pod spec includes 'hostPID: true' and 'hostNetwork: true'. What security concern does this raise?
A security policy requires that all container images must be signed using Cosign. Which admission controller enforces signature verification at pod creation time?
An etcd cluster uses TLS for peer and client communication. Which command correctly tests connectivity to an etcd member with client certificate authentication?
Which of the following is a MutatingAdmissionWebhook that is built into Kubernetes and can automatically inject a sidecar proxy for service mesh?
You need to encrypt etcd data at rest using AES-CBC. Which encryption provider should you specify in the EncryptionConfiguration?
Which TWO of the following are valid ways to restrict access to etcd? (Select 2)
Which THREE of the following are valid approaches to enforce that all pods in a cluster run with a read-only root filesystem? (Select THREE)
You need to enable encryption at rest for secrets in the cluster. Which resource should you create to configure encryption providers?
Which of the following is a valid way to check the status of AppArmor profiles on a node?