Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKS Exam - Topic 1 Question 2 Discussion

Posted by Izetta on May 09, 2022 at 05:23 PM

SIMULATION

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

Suggested Answer: A

Get Premium CKS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
LY
Lynette 1 year ago
Are you sure the image is still valid?
CO
Cordell 1 year ago
Definitely agree, the readOnlyRootFilesystem is a must!
YV
Yvonne 1 year ago
Wait, you can use kubesec with Docker?
LE
Leonard 1 year ago
Nice! I thought it would be harder.
KA
Kanisha 1 year ago
Just ran the scan, got a score of 4!
PE
Percy 1 year ago
I vaguely remember needing to set some additional security settings, but I can't recall if it was about resource limits or something else.
TA
Tarra 1 year ago
The hint about using `docker run` is helpful, but I still feel a bit lost on what exactly to edit in the YAML manifest.
BE
Berry 1 year ago
I think we had a similar question in our last mock exam where we had to adjust security contexts. I hope I can recall those details!
HA
Hayley 1 year ago
I remember we practiced using kubesec to scan YAML files, but I'm a bit unsure about the specific changes needed to pass with a score of 4 points.
LO
Louis 1 year ago
Okay, let me break this down step-by-step. Copy the file, set the ownership, remove the execute bit, and then use setfacl to manage the user permissions. I think if I go through it methodically, I can get this done.
CE
Ceola 1 year ago
I think to find the percentage for rents under $510, we have to look at the cumulative frequency, but I'm not entirely sure how to do that.
FL
Floyd 1 year ago
I remember we talked about standardization in service contracts, but I'm unsure which part is most commonly standardized.
VA
Valentin 1 year ago
I initially thought assigning a mobile extension could work, but now I feel like it's more about user and device association.
0/2000 characters

Save Cancel