Prisma Certified Cloud Security Engineer (PCCSE) — Question 226

Which RQL query will help create a custom identity and access management (IAM) policy to alert on Lambda functions that have permission to terminate EC2 instances?

Answer options

Correct answer: D

Explanation

Option D is correct because it properly identifies Lambda functions as the source and EC2 as the destination, checking for the specific action of terminating instances. Options A and C incorrectly position the IAM query or do not match the required action and resources. Option B is incorrect as it reverses the roles of Lambda and EC2, making it invalid for this scenario.