ExamGecko
Home / Linux Foundation / CKS / Practice Test 2
Ask Question

Linux Foundation CKS Practice Test 2

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 4

Linux Foundation CKS image Question 41 51519 09182024213140000000

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.

Linux Foundation CKS image Question 41 51519 09182024213140000000

Become a Premium Member for full access
  Unlock Premium Member