AmazonAmazon
DVA-C02 · Question #180
DVA-C02 Question #180: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #180. The question stem and answer options stay visible for context.
Submitted by joshua94· Mar 5, 2026Security
Question
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?
Options
- AHardcode the credentials that are required to access the S3 objects in the application code. Use
- BCreate a secret access key and access key ID with permission to access the S3 bucket. Store the
- CCreate a Lambda function execution role. Attach a policy to the role that grants access to specific
- DCreate a secret access key and access key ID with permission to access the S3 bucket. Store the
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.