Interview Prep/AWS/S3, RDS and DynamoDB

Plan a major-version RDS PostgreSQL upgrade with minimal downtime.

AdvancedScenarioS3, RDS and DynamoDB
Answer

Situation read → Blue/green deployments make a staged copy that you switch over.

What I'd do →

  1. Create: aws rds create-blue-green-deployment --blue-green-deployment-name pg-upgrade --source <arn> --target-engine-version 17.2
  2. Test the green environment with real queries and extension checks
  3. Pause writes or accept a brief switchover, then switchover-blue-green-deployment
  4. Keep blue for rollback until verified
  5. Run ANALYZE after upgrade

Why → Switchover typically takes under a minute and avoids in-place upgrade risk.

Interview tip → Mention testing extensions and parameter compatibility first.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB