AWS Certified Solutions Architect – Associate (SAA-C02) — Question 187

A solutions architect must design a solution that uses Amazon CloudFront with an Amazon S3 origin to store a static website. The company's security policy requires that all website traffic be inspected by AWS WAF.
How should the solutions architect comply with these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring Amazon CloudFront to forward requests to AWS WAF ensures that all traffic is inspected before accessing the S3 origin. Option A is incorrect as it does not involve AWS WAF inspection; option C focuses on IP restrictions rather than traffic inspection; and option D does not address how to inspect the traffic with AWS WAF.