List of questions
Related questions
Question 528 - DVA-C01 discussion
A developer is writing an AWS Lambda function. The Lambda function needs to access items that are stored in an Amazon DynamoDB table. What is the MOST secure way to configure this access for the Lambda function?
A.
Create an IAM user that has permissions to access the DynamoDB table. Create an access key for this user. Store the access key ID and secret...... key in the Lambda function environment variables.
B.
Add a resource-based policy to the DynamoDB table to allow access from the Lambda function's IAM role.
C.
Create an IAM policy that allows access to the DynamoDB table. Attach this policy to the Lambda function's 1AM role.
D.
Create a DynamoDB Accelerator (DAX) cluster. Configure the Lambda function to use the DAX cluster to access the DynamoDB table.
Your answer:
0 comments
Sorted by
Leave a comment first