120 likes | 138 Views
Passcert Download 2021 Free CKS Certification Real Dumps are designed according to the real exam pattern and help you to cover all the topics and objectives to pass your exam easily.
E N D
CKS Sample Test CKS Sample Test Certified Kubernetes Security Specialist Certified Kubernetes Security Specialist (CKS) (CKS) https://www.passcert.com/ https://www.passcert.com/CKS CKS.html .html
Download Passcert latest CKS Sample Test to help you pass successfully Question 1 CORRECT TEXT Given an existing Pod named test-web-pod running in the namespace test-system Edit the existing Role bound to the Pod's Service Account named sa-backend to only allow performing get operations on endpoints. Create a new Rolenamed test-system-role-2 in the namespace test-system, which can perform patch operations, on resources of type statefulsets. Create a new RoleBinding named test-system-role-2-binding binding the newly created Role to the Pod's ServiceAccount sa-backend. Answer: Send us your feedback on this. 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 2 CORRECT TEXT Create a network policy named restrict-np to restrict to pod nginx-test running in namespace testing. Only allow the following Pods to connect to Pod nginx-test:- 1. pods in the namespace default 2.pods with label version:v1 in any namespace. Make sure to apply the network policy. Answer: Send us your Feedback on this. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 3 CORRECT TEXT Create a Pod name Nginx-pod inside the namespace testing, Create a service for the Nginx-pod named nginx-svc, using the ingress of your choice, run the ingress on tls, secure port. Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 4 CORRECT TEXT A container image scanner is set up on the cluster. Given an incomplete configuration in the directory /etc/Kubernetes/confcontrol and a functional container image scanner with HTTPS endpoint https://acme.local.8081/image_policy 1. Enable the admission plugin. 2. Validate the control configuration and change it to implicit deny. Finally, test the configuration by deploying the pod having the image tag as the latest. Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 5 CORRECT TEXT A container image scanner is set up on the cluster. Given an incomplete configuration in thedirectory /etc/kubernetes/confcontrol and a functional container image scanner with HTTPS endpoint https://test-server.local.8081/image_policy 1. Enable the admission plugin. 2. Validate the control configuration and change it to implicit deny. Finally,test the configuration by deploying the pod having the image tag as latest. Answer: Send us your Feedback on this. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 6 CORRECT TEXT Enable audit logs in the cluster, To Do so, enable the log backend, and ensure that ✑ 1. logs are stored at /var/log/kubernetes/kubernetes-logs.txt. ✑ 2. Log files are retainedfor5 days. ✑ 3. at maximum, a number of 10 old audit logs files are retained. Edit and extend the basic policy to log: ✑ 1. Cronjobs changes at RequestResponse ✑ 2. Log the request body of deployments changesinthenamespacekube- system. ✑ 3. Log all other resourcesincoreandextensions at the Request level. ✑ 4. Don't log watch requests by the "system:kube-proxy" on endpoints or Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 7 CORRECT TEXT Use the kubesec docker images to scan the given YAML manifest, edit and apply the advised changes, and passed with a score of 4 points. kubesec-test.yaml ✑ apiVersion: v1 ✑ kind: Pod ✑ metadata: ✑ name: kubesec-demo ✑ spec: ✑ containers: ✑ - name: kubesec-demo ✑ image: gcr.io/google-samples/node-hello:1.0 ✑ securityContext: ✑ readOnlyRootFilesystem:true Hint: docker run -i kubesec/kubesec:512c5e0 scan /dev/stdin <kubesec-test.yaml Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 8 CORRECT TEXT Using the runtime detection tool Falco, Analyse the container behavior for at least 20 seconds, using filters that detect newly spawning and executing processes in asingle container of Nginx. store the incident file art /opt/falco-incident.txt, containing the detected incidents. one per line, in the format [timestamp],[uid],[processName] Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 9 CORRECT TEXT Given an existing Pod named nginx-pod running in the namespace test-system, fetch the service-account-name used and put the content in /candidate/KSC00124.txt Create a new Role named dev-test-role in the namespace test-system, which can perform update operations, on resources of type namespaces. Create a new RoleBinding named dev-test-role-binding, which binds the newlycreated Role to the Pod's ServiceAccount ( found in the Nginx pod running in namespace test-system). Answer: Send us your feedback on it. 01 02 03 04
Download Passcert latest CKS Sample Test to help you pass successfully Question 10 CORRECT TEXT a. Retrieve the content of the existing secret named default-token-xxxxx in the testing namespace. Store the value of the token in thetoken.txt b. Create a new secret named test-db-secret in the DB namespace with the following content: username: mysql password: password@123 Create the Pod name test-db-pod of image nginx in the namespace db that can accesstest-db- secret via a volume at path /etc/mysql-credentials Answer: To add a Kubernetes cluster to your project, group, or instance: ✑ Navigate to your: ✑ Click Add Kubernetes cluster. ✑ Click the Add existing cluster tab and fill in the details: Get the API URL by running this command: kubectl cluster-info | grep-E'Kubernetes master|Kubernetes control plane'| awk'/http/ {print $NF}' ✑ uk.co.certification.simulator.questionpool.PList@dd80600 kubectl get secret <secret name>-ojsonpath="{['data']['ca\.crt']}" 01 02 03 04
Thank you More Information, you can visit Passcert.com