Create a new NetworkPolicy named deny-all in the namespace testing which denies all traffic of type ingress and egress traffic
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
12 comments · newest first
TH
Theola
1 year ago
This is a solid approach for security, no doubt!
SV
Svetlana
1 year ago
Sounds good, but what if we need some pods to talk later?
FE
Felicia
1 year ago
Wait, does that mean no pods can communicate at all?
VI
Vilma
1 year ago
Totally agree, that's the way to lock it down!
GE
Georgeanna
1 year ago
Just create a NetworkPolicy with empty podSelector to deny all traffic.
CA
Cassi
1 year ago
I'm a bit confused about the naming convention. Should we call it "deny-all" or something else? I feel like I saw different names in the examples.
AN
Andree
1 year ago
I believe we just need to set the podSelector to an empty object and specify both Ingress and Egress in policyTypes, right?
CA
Carlee
1 year ago
I remember practicing a similar question where we had to allow specific traffic, but this one feels different since we're denying everything.
LA
Lamar
1 year ago
I think we need to create a NetworkPolicy that denies both ingress and egress, but I'm not entirely sure about the syntax.
LI
Lindsay
1 year ago
Okay, I've got a good handle on Logstash's functionality. I think I can identify the three tasks it can fulfill without other Elastic Stack components.
MI
Micah
1 year ago
The high court's stamp duty valuation of 4.90 lakh seems important. I'll use that figure in my calculations, not the initial 5.75 lakh.
NO
Norah
1 year ago
Okay, the key here is the "boot identity not valid" error. That tells me I need to update the credentials in the boot identity file. Option B looks like the way to go.