Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 107 Topic 11 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 107 Topic 11 Discussion

DVA-C02 Exam Topic 11 Question 107 Discussion:
Question #: 107
Topic #: 11

An application that runs on AWS Lambda requires access to specific highly confidential objects in an Amazon S3 bucket. In accordance with the principle of least privilege a company grants access to the S3 bucket by using only temporary credentials.

How can a developer configure access to the S3 bucket in the MOST secure way?


A.

Hardcode the credentials that are required to access the S3 objects in the application code. Use the credentials to access me required S3 objects.


B.

Create a secret access key and access key ID with permission to access the S3 bucket. Store the key and key ID in AWS Secrets Manager. Configure the application to retrieve the Secrets Manager secret and use the credentials to access me S3 objects.


C.

Create a Lambda function execution role Attach a policy to the rote that grants access to specific objects in the S3 bucket.


D.

Create a secret access key and access key ID with permission to access the S3 bucket Store the key and key ID as environment variables m Lambda. Use the environment variables to access the required S3 objects.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.