DVA-C02 · Question #758
DVA-C02 Question #758: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #758. The question stem and answer options stay visible for context.
Question
A developer is creating a solution to process files that users upload. The solution stores the files that users upload in an Amazon S3 bucket. The developer creates an AWS Lambda function that runs every time a user uploads a new file. The Lambda function processes user files and stores the processed files in a second S3 bucket. The developer must grant Amazon S3 permissions invoke the Lambda function. The solution must work even if the developer updates the Lambda function in the future. Winch solution will meet these requirements?
Options
- AUse an identity-based policy to grant Amazon S3 permissions to invoke the Lambda function.
- BUse a resource-based policy to grant Amazon S3 permissions to invoke the Lambda function.
- CUse an identity-based policy to grant Amazon S3 permissions to invoke the Lambda function. In
- DUse a resource-based policy to grant Amazon S3 permissions to invoke the Lambda function. In
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.