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?

Un OAI permite restringir el acceso al bucket S3. Cuando se configura un OAI, se le da a CloudFront permiso para acceder al contenido del S3, mientras que las solicitudes directas al S3 (sin pasar por CloudFront) serán bloqueadas. Esta configuración asegura que todo el tráfico que llega a S3 pase siempre por CloudFront, lo que significa que puedes usar características como AWS WAF para inspeccionar ese tráfico antes de que llegue a tus recursos de S3.


A company’s web application is running on Amazon EC2 instances behind an Application Load Balancer. The company recently changed its policy, which now requires the application to be accessed from one specific country only.

Which configuration will meet this requirement?

Puedes restringir geolocation address con el WAF, el resto de opciones no soporta esta implementación.

https://aws.amazon.com/about-aws/whats-new/2017/10/aws-waf-now-supports-geographic-match