Cyber Monday 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 59 Discussion

Actual exam question for Linux Foundation's CKS exam
Question #: 59
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:

Dominic
4 months ago
I'm glad they included an image to visualize the expected NetworkPolicy. That's super helpful for a hands-on exam like this.
upvoted 0 times
...
Nobuko
4 months ago
Haha, I bet the exam writers had fun coming up with this one. 'Default-deny' - it's like the Grinch of NetworkPolicies!
upvoted 0 times
Salina
3 months ago
Haha, definitely the Grinch of NetworkPolicies, keeping everything locked down tight.
upvoted 0 times
...
Arlen
4 months ago
I know right, it's like saying 'you shall not pass' to any unauthorized traffic.
upvoted 0 times
...
Felix
4 months ago
Yeah, default-deny is like the ultimate security guard for your network.
upvoted 0 times
...
...
Fidelia
4 months ago
It might be, but it's better to start with strict rules and then adjust if needed.
upvoted 0 times
...
Floyd
4 months ago
Do you think denying all Egress traffic is too restrictive?
upvoted 0 times
...
Fidelia
4 months ago
I agree, it helps prevent accidental exposure of Pods.
upvoted 0 times
...
Dorothy
5 months ago
I like how the question provides the context and a clear task. It's a good way to test our understanding of NetworkPolicies.
upvoted 0 times
...
Vincenza
5 months ago
This is a straightforward NetworkPolicy question. The correct answer is A because it shows the YAML for the default-deny NetworkPolicy that denies all Egress traffic in the 'testing' namespace.
upvoted 0 times
Francesco
4 months ago
Let's make sure to apply the default-deny NetworkPolicy to all Pods in the 'testing' namespace.
upvoted 0 times
...
Virgie
4 months ago
I agree, it helps prevent accidental exposure of Pods in the namespace.
upvoted 0 times
...
Domonique
4 months ago
Yes, you're right. Answer A is the one that creates the default-deny NetworkPolicy for Egress traffic in the 'testing' namespace.
upvoted 0 times
...
Stefania
4 months ago
I think the correct answer is A, it denies all Egress traffic in the 'testing' namespace.
upvoted 0 times
...
Hoa
4 months ago
Yes, you're right. It's important to have a default-deny NetworkPolicy in place.
upvoted 0 times
...
Isadora
5 months ago
I think the answer is A, it denies all Egress traffic in the 'testing' namespace.
upvoted 0 times
...
...
Floyd
5 months ago
I think creating a default-deny NetworkPolicy is important for security.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77