ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 41 - CKS discussion

Report
Export

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.

A.
See the explanation
Answers
A.
See the explanation
Suggested answer: A

Explanation:

asked 18/09/2024
Jim Swift
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first