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 →
- Create a private bucket, no static website hosting endpoint required
- Create a CloudFront distribution with Origin Access Control to the bucket
- Attach an ACM certificate from us-east-1 and add the domain as alternate name
- Route 53 alias record to the distribution
- 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.
More on S3, RDS and DynamoDB
Uploaded files in your bucket must be deleted after 90 days and old versions after 30. How do you do that?BeginnerSomeone deleted objects from a versioned bucket. How do you recover and prevent repeats?IntermediateMillions of small objects are being uploaded and S3 returns 503 Slow Down. What do you do?IntermediateLarge 50 GB files upload slowly from remote offices to S3. How do you speed it up?IntermediateDesign a cross-region DR strategy for a critical S3 bucket with a 15-minute RPO.AdvancedAn analytics team needs query access to 10 TB of logs in S3 without loading a warehouse. What do you propose?Intermediate