DVA-C02 · Question #791
DVA-C02 Question #791: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #791. The question stem and answer options stay visible for context.
Question
A developer is building a web application that is accessible through an Amazon CloudFront distribution. The application invokes an AWS Lambda function through a function URL. The developer wants to ensure that all traffic to the Lambda function passes through the CloudFront distribution first. The developer configures the function URL AuthType parameter to enforce IAM authentication. Which solution will meet these requirements?
Options
- AUpdate the resource-based IAM policy for the Lambda function to allow access to the function
- BConfigure the CloudFront distribution to add a custom header that contains a shared secret for
- CCreate a CloudFront origin access control (OAC). Update the CloudFront distribution to use the
- DSet up a cross-origin resource sharing (CORS) configuration for the Lambda function URL. Add
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.