
Answer-first summary for fast verification
Answer: Disable the Lambda function and audit its execution logs.
Disabling the Lambda function and auditing its execution logs allows you to investigate the issue without risking further unauthorized executions. Deleting the function might disrupt operations. Removing all permissions might not allow for necessary investigation. Increasing memory size does not address the security issue.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You suspect that a Lambda function in your AWS environment has been compromised. What steps should you take to mitigate the risk and prevent unauthorized execution?
A
Delete the Lambda function and recreate it with new code.
B
Update the Lambda function's IAM role to remove all permissions.
C
Disable the Lambda function and audit its execution logs.
D
Increase the Lambda function's memory size to handle potential increased load.
No comments yet.