Bird
0
0

To serve a static website hosted on S3 with a custom domain and secure HTTPS, which AWS service should be configured in front of the S3 bucket?

hard📝 Architecture Q8 of 15
AWS - S3 Fundamentals
To serve a static website hosted on S3 with a custom domain and secure HTTPS, which AWS service should be configured in front of the S3 bucket?
AAWS Elastic Beanstalk with a custom SSL certificate
BAmazon CloudFront with an SSL certificate from AWS Certificate Manager
CAmazon API Gateway with a custom domain name
DAWS Direct Connect with a VPN tunnel
Step-by-Step Solution
Solution:
  1. Step 1: Understand S3 HTTPS Limitation

    S3 static website endpoints do not support HTTPS directly.
  2. Step 2: Use CloudFront

    Amazon CloudFront can be used as a CDN in front of S3 to provide HTTPS support and custom domain integration.
  3. Step 3: SSL Certificate

    Use AWS Certificate Manager to provision an SSL certificate for the custom domain and attach it to CloudFront.
  4. Final Answer:

    Amazon CloudFront with ACM SSL certificate -> Option B
  5. Quick Check:

    CloudFront enables HTTPS for S3 static websites [OK]
Quick Trick: Use CloudFront + ACM for HTTPS on S3 static sites [OK]
Common Mistakes:
MISTAKES
  • Trying to enable HTTPS directly on S3 website endpoint
  • Using Elastic Beanstalk which is for dynamic apps
  • Confusing API Gateway with static website hosting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes