Multiple Choice
A city is implementing an election results reporting website that will use Amazon CloudFront. The website runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB) in an Auto Scaling group. Election results are updated hourly and are stored as .pdf files in an Amazon S3 bucket. A security engineer needs to ensure that all external access to the website goes through CloudFront. Which solution meets these requirements?
A) Create an IAM role that allows CloudFront to access the specific S3 bucket. Modify the S3 bucket policy to allow only the new IAM role to access its contents. Create an interface VPC endpoint for CloudFront to securely communicate with the ALB.
B) Create an IAM role that allows CloudFront to access the specific S3 bucket. Modify the S3 bucket policy to allow only the new IAM role to access its contents. Associate the ALB with a security group that allows only incoming traffic from the CloudFront service to communicate with the ALB.
C) Create an origin access identity (OAI) in CloudFront. Modify the S3 bucket policy to allow only the new OAI to access the bucket contents. Create an interface VPC endpoint for CloudFront to securely communicate with the ALB.
D) Create an origin access identity (OAI) in CloudFront. Modify the S3 bucket policy to allow only the new OAI to access the bucket contents. Associate the ALB with a security group that allows only incoming traffic from the CloudFront service to communicate with the ALB.
Correct Answer:

Verified
Correct Answer:
Verified
Q284: A security engineer has been tasked with
Q285: A company wants to encrypt data locally
Q286: A Security Administrator is performing a log
Q287: A Security Engineer has launched multiple Amazon
Q288: A company has implemented AWS WAF and
Q290: A Security Engineer has several thousand Amazon
Q291: Amazon GuardDuty has detected communications to a
Q292: A company uses an external identity provider
Q293: A company has an encrypted Amazon S3
Q294: A company's security officer is concerned about