Prisma Certified Cloud Security Engineer (PCCSE) — Question 243

The development team wants to block Cross Site Scripting attacks from pods in its environment.
How should the team construct the CNAF policy to protect against this attack?

Answer options

Correct answer: C

Explanation

The correct answer is C because it focuses on creating a Container CNAF policy that specifically targets XSS protection and sets the action to prevent, which directly mitigates the risk of such attacks. Option A is incorrect as it refers to a Host CNAF policy, which is not suitable for this scenario. Option B does not prevent the attack but only alerts, and option D does not address XSS protection at all.