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 52 Discussion

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

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Vanda
5 months ago
Candidate 2: This kind of policy helps in creating a more secure environment by blocking potentially harmful outgoing connections.
upvoted 0 times
...
Jessenia
5 months ago
Candidate 1: Exactly, it's about controlling and restricting Egress traffic to enhance security measures in the cluster.
upvoted 0 times
...
Pearlene
5 months ago
Candidate 4: The rationale behind this is to ensure that any Pod in the namespace testing does not have any unwanted outgoing traffic.
upvoted 0 times
...
Leeann
6 months ago
Candidate 3: I believe applying the default-deny NetworkPolicy to all Pods running in namespace testing is crucial for security.
upvoted 0 times
...
Luisa
6 months ago
Candidate 2: I agree, the new NetworkPolicy must deny all Egress traffic in the namespace testing to avoid any accidental exposure.
upvoted 0 times
...
Marva
6 months ago
Candidate 1: I think the question is straightforward, we need to create a default-deny NetworkPolicy named defaultdeny in the namespace testing for all Egress traffic.
upvoted 0 times
...
Angella
7 months ago
Yes, and apply the new NetworkPolicy to all Pods running in the namespace testing.
upvoted 0 times
...
Leonardo
7 months ago
Sure, we need to deny all Egress traffic in the namespace testing.
upvoted 0 times
...
Enola
7 months ago
Let's create a new default-deny NetworkPolicy named defaultdeny in the namespace testing.
upvoted 0 times
...

Save Cancel