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 →
- Create:
aws rds create-blue-green-deployment --blue-green-deployment-name pg-upgrade --source <arn> --target-engine-version 17.2 - Test the green environment with real queries and extension checks
- Pause writes or accept a brief switchover, then
switchover-blue-green-deployment - Keep blue for rollback until verified
- Run
ANALYZEafter upgrade
Why → Switchover typically takes under a minute and avoids in-place upgrade risk.
Interview tip → Mention testing extensions and parameter compatibility first.
More on S3, RDS and DynamoDB
You need to host a static website with HTTPS and low latency worldwide. Which services do you use?BeginnerUploaded 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.Advanced