Interview Prep/AWS/S3, RDS and DynamoDB

You need to host a static website with HTTPS and low latency worldwide. Which services do you use?

BeginnerScenarioS3, RDS and DynamoDB
Answer

Situation read → S3 as private origin, CloudFront as the public face.

What I'd do →

  1. Create a private bucket, no static website hosting endpoint required
  2. Create a CloudFront distribution with Origin Access Control to the bucket
  3. Attach an ACM certificate from us-east-1 and add the domain as alternate name
  4. Route 53 alias record to the distribution
  5. Default root object index.html, plus custom error response for SPA routes

Why → OAC keeps the bucket private so content is only reachable through the CDN.

Interview tip → Note OAC replaced the older Origin Access Identity.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB