Ultimate access to all questions.
How can a solutions architect ensure that a static website hosted on Amazon S3 with Amazon CloudFront as the CDN complies with a company policy requiring AWS WAF inspection for all traffic?
Explanation:
The correct answer is D. To meet the requirements, the solutions architect must use Amazon CloudFront and configure an origin access identity (OAI) to restrict direct access to the S3 bucket. This ensures that requests for the content are funneled through CloudFront. Additionally, AWS WAF can be associated with the CloudFront distribution to inspect all incoming traffic as specified by the security policy. The other options do not fully meet the requirement of inspecting all traffic with AWS WAF and securing access to the S3 bucket.