Multiple Choice
An AWS Lambda function requires read access to an Amazon S3 bucket and requires read/write access to an Amazon DynamoDB table. The correct IAM policy already exists. What is the MOST secure way to grant the Lambda function access to the S3 bucket and the DynamoDB table?
A) Attach the existing IAM policy to the Lambda function.
B) Create an IAM role for the Lambda function. Attach the existing IAM policy to the role. Attach the role to the Lambda function.
C) Create an IAM user with programmatic access. Attach the existing IAM policy to the user. Add the user access key ID and secret access key as environment variables in the Lambda function.
D) Add the AWS account root user access key ID and secret access key as encrypted environment variables in the Lambda function.
Correct Answer:

Verified
Correct Answer:
Verified
Q273: A Developer is developing an application that
Q274: A developer must increase read performance from
Q275: A Developer is trying to make API
Q276: A developer is asked to integrate Amazon
Q277: Which of the following services are key/value
Q279: An organization must store thousands of sensitive
Q280: A Developer has been asked to build
Q281: A Developer will be using the AWS
Q282: What are the steps to using the
Q283: A global company has an application running