Question 230
A function for invoice formatting has permissions to list every storage bucket in the account. Which action is the BEST response to the security requirement?
Explanation
Correct Answer
Short-lived compute still needs least privilege. The controlling fact is: A function for invoice formatting has permissions to list every storage bucket in the account.
Incorrect Answers
Using recursion guards, idempotency and execution budgets would not scope its execution role to the one input/output resource set.
Serverless events need central retention for investigation. The scenario does not present the alternate condition: failed function executions disappear because no shared audit collector receives events. The proper immediate action is to scope its execution role to the one input/output resource set.
The reported condition calls for this action: Scope its execution role to the one input/output resource set.






CompTIA SecurityX (CAS-005) Practice Tests