BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam CKS Topic 1 Question 61 Discussion

Actual exam question for Linux Foundation's CKS exam
Question #: 61
Topic #: 1
[All CKS Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Marisha
2 months ago
I agree, let's focus on that to ensure the files are secure.
upvoted 0 times
...
Reita
2 months ago
Yes, we need to identify and correct the prominent security/best-practice issues.
upvoted 0 times
...
Melodie
2 months ago
Wait, are they asking us to fix security issues? I thought this was a baking contest. *laughs*
upvoted 0 times
...
Ailene
2 months ago
I hope the answers aren't too obvious. That would be a letdown. Let's see what I can find.
upvoted 0 times
...
Marisha
2 months ago
I think we need to analyze and edit them to fix security issues.
upvoted 0 times
...
Felix
2 months ago
Ah, the classic security and best practice challenge. Time to put my skills to the test!
upvoted 0 times
Andree
2 months ago
User 2
upvoted 0 times
...
Kimbery
2 months ago
User 1
upvoted 0 times
...
...
Reita
2 months ago
I found the Dockerfile and manifest file in the exam.
upvoted 0 times
...
Dahlia
2 months ago
Yes, let's address the security vulnerabilities in both files to adhere to best practices.
upvoted 0 times
...
Rosendo
3 months ago
Hmm, this looks like a tricky one. I better review the instructions and the image examples carefully.
upvoted 0 times
Tricia
2 months ago
Agreed, let's start by analyzing and editing the Dockerfile to address those issues.
upvoted 0 times
...
Catalina
2 months ago
I think we need to focus on fixing the security issues in the Dockerfile first.
upvoted 0 times
...
...
Viola
3 months ago
I think we should focus on editing the manifest file as well, security is crucial.
upvoted 0 times
...
Bernadine
3 months ago
The Dockerfile and deployment.yaml files seem to have some security issues. Let's see if I can spot them.
upvoted 0 times
Moon
2 months ago
In the manifest file, we should remove any hardcoded passwords or sensitive information. That's definitely a security best practice.
upvoted 0 times
...
Carin
2 months ago
You're right. Another issue could be the use of 'ADD' instruction instead of 'COPY' in the Dockerfile. 'COPY' is considered more secure.
upvoted 0 times
...
Celestine
2 months ago
I think one of the security issues in the Dockerfile is the use of 'latest' tag for the base image. We should specify a specific version for better security.
upvoted 0 times
...
...
Lonny
3 months ago
I agree, we need to fix those security issues to ensure our container is safe.
upvoted 0 times
...
Claudio
3 months ago
I found the Dockerfile instructions to be a bit insecure.
upvoted 0 times
...

Save Cancel