ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

171 / 310

Question 171:

You are creating a Lambda function that will be triggered by a CloudWatch Event. The data from these events need to be stored in a DynamoDB table. How should the Lambda function be given access to the DynamoDB table?

Answer options:

A.Put the AWS Access keys in the Lambda function since the Lambda function by default is secure.
B.Use an IAM role that has permissions to the DynamoDB table and attach it to the Lambda function.
C.Use the AWS Access keys which have access to DynamoDB and then place it in an S3 bucket.
D.Create a VPC endpoint for the DynamoDB table. Access the VPC endpoint from the Lambda function.