Linux Foundation - Big Savings Alert – Don’t Miss This Deal - Ends In 1d 00h 00m 00s Coupon code: 26Y30OFF
  1. Home
  2. Linux Foundation
  3. CKS Exam
  4. Free CKS Questions

Free Linux Foundation Certified Kubernetes Security Specialist (CKS) Practice Questions

These Linux Foundation CKS sample questions are a small glimpse of our full set of Linux Foundation CKS actual questions. They give you a preview of what the real CKS exam might look like and the contents of Pass4Future's premium Linux Foundation CKS product. You must not underestimate the value of Linux Foundation CKS practice exam questions, as they allow you to understand the actual Certified Kubernetes Security Specialist exam in greater depth. Using them will save your time and money otherwise wasted in Certified Kubernetes Security Specialist exam reattempts. Study guides and tutorials provide you with theoretical details about the CKS exam; these CKS practice exam questions prepare you to pass the exam. Get Pass4Future's premium access to continue your CKS exam practice with the complete set of Linux Foundation CKS realistic questions. Our Linux Foundation CKS practice questions come in various formats; make sure to check out the details and free demo of each format.

Linux Foundation CKS Sample Exam Questions

Page:    1 / 14   
Total 64 questions

Question 1

Context

A CIS Benchmark tool was run against the kubeadm-created cluster and found multiple issues that must be addressed immediately.

Task

Fix all issues via configuration and restart the affected components to ensure the new settings take effect.

Fix all of the following violations that were found against the API server:

Fix all of the following violations that were found against the Kubelet:

Fix all of the following violations that were found against etcd:



Answer : A


Question 2

Context

A default-deny NetworkPolicy avoids to accidentally expose a Pod in a namespace that doesn't have any other NetworkPolicy defined.

Task

Create a new default-deny NetworkPolicy named defaultdeny in the namespace testing for all traffic of type Egress.

The new NetworkPolicy must deny all Egress traffic in the namespace testing.

Apply the newly created default-deny NetworkPolicy to all Pods running in namespace testing.



Answer : A


Question 3

Context

A PodSecurityPolicy shall prevent the creation of privileged Pods in a specific namespace.

Task

Create a new PodSecurityPolicy named prevent-psp-policy,which prevents the creation of privileged Pods.

Create a new ClusterRole named restrict-access-role, which uses the newly created PodSecurityPolicy prevent-psp-policy.

Create a new ServiceAccount named psp-restrict-sa in the existing namespace staging.

Finally, create a new ClusterRoleBinding named restrict-access-bind, which binds the newly created ClusterRole restrict-access-role to the newly created ServiceAccount psp-restrict-sa.



Answer : A


Question 4

Task

Analyze and edit the given Dockerfile /home/candidate/KSSC00301/Docker file (based on the ubuntu:16.04 image), fixing two instructions present in the file that are prominent security/best-practice issues.

Analyze and edit the given manifest file /home/candidate/KSSC00301/deployment.yaml, fixing two fields present in the file that are prominent security/best-practice issues.



Answer : A


Question 5

Context

The kubeadm-created cluster's Kubernetes API server was, for testing purposes, temporarily configured to allow unauthenticated and unauthorized access granting the anonymous user duster-admin access.

Task

Reconfigure the cluster's Kubernetes API server to ensure that only authenticated and authorized REST requests are allowed.

Use authorization mode Node,RBAC and admission controller NodeRestriction.

Cleaning up, remove the ClusterRoleBinding for user system:anonymous.



Answer : A


Page:    1 / 14   
Total 64 questions