Interview Prep/AWS/S3, RDS and DynamoDB

The application writes and then immediately reads from S3 and sometimes gets stale data. Is that possible?

IntermediateScenarioS3, RDS and DynamoDB
Answer

Situation read → S3 has been strongly consistent for reads after writes since December 2020.

What I'd do →

  1. Check whether reads pass through CloudFront cache
  2. Check replication destinations, which are eventual
  3. Check app-level caching
  4. Verify with aws s3api head-object right after the PUT

Why → The staleness almost always comes from a layer above S3.

Interview tip → If someone says S3 is eventually consistent, correct them politely.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB