
Answer-first summary for fast verification
Answer: Establish a private S3 bucket with an OAI policy for CloudFront access and AWS CLI for content uploads.
Option C is the correct answer. Using an Amazon S3 bucket is a cost-effective solution because S3 handles static content very efficiently without the need for managing servers. By making the bucket private and using an S3 bucket policy to only allow access from a CloudFront origin access identity (OAI), the setup becomes both secure and resilient. Content updates can be managed using the AWS CLI, which integrates well with S3. This approach eliminates the need for maintaining virtual servers (as in Option A and B) and makes the website hosting process simpler and more scalable.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company with a static marketing website hosted in an on-premises data center is migrating to AWS, using Amazon CloudFront. The website is updated infrequently via SFTP. Which AWS architecture provides a cost-effective, resilient solution for hosting the website as the CloudFront origin?
A
Utilize Amazon Lightsail to create a virtual server, set up the web server, and continue SFTP for content uploads.
B
Implement an EC2 Auto Scaling group with an Application Load Balancer, maintaining the use of SFTP for uploads.
C
Establish a private S3 bucket with an OAI policy for CloudFront access and AWS CLI for content uploads.
D
Set up a public S3 bucket with AWS Transfer for SFTP, enable website hosting, and use SFTP for uploads.
No comments yet.