Lambda Security Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Application Security

What you'll be asked

  1. Which of the following is the best practice for managing sensitive configuration data, such as database credentials, in an AWS Lambda function?
  2. When configuring IAM permissions for a Lambda function, what principle should you follow to ensure the security of your application?
  3. Your Lambda function needs to access resources inside a private VPC. Which security configuration is required to allow the function to communicate with the VPC while maintaining network isolation?
  4. Which of the following is an effective way to mitigate the risk of code injection attacks in a Lambda function that processes user-supplied input?
  5. You are auditing a Lambda function and discover that it requires access to an S3 bucket that is encrypted with a Customer Master Key (CMK) in AWS KMS. What specific permission must be included in the function's execution role to successfully decrypt the objects?

Answers and explanations come after you submit.