Cloud and Managed Database Services Questions

Running databases as managed cloud services rather than self-hosting them: choosing and provisioning managed relational and NoSQL offerings (for example Amazon RDS/Aurora/DynamoDB, Azure SQL Database/Cosmos DB, Google Cloud SQL/Spanner), sizing instances and storage, and designing an architecture (read replicas, connection proxies and pooling for managed or serverless compute) to meet a latency or availability target. It covers comparing provisioned versus serverless/autoscaling pricing and operational models, forecasting capacity and cost, and migrating a database onto or between managed deployments: moving a self-hosted database to a managed service, switching a workload from provisioned to serverless (or back), changing a single-AZ deployment to multi-AZ, and the questions to ask before adopting a new managed vendor. The core question is the split of responsibility and cost between the cloud provider and the engineering team: what the provider takes on (patching, infrastructure-level HA, automated backups) versus what remains the team's job (configuration, capacity and cost tuning, security posture like encryption and key rotation). It does not cover backup and restore mechanics, RPO/RTO planning, replication or sharding internals, or SQL-level query diagnostics.

EasyTechnical
75 practiced

Describe how you would deploy a managed relational database for a production web application. Cover service selection (RDS/Aurora/Cloud SQL/Managed MySQL), sizing (instance class, storage type), read scaling, encryption, maintenance windows, and routine maintenance practices.

EasyTechnical
86 practiced

Explain connection pooling and why it matters for managed databases, especially with serverless compute (AWS Lambda) and managed MySQL/Postgres. Name pooling solutions you'd consider, explain how you'd size the pool, and describe what you'd configure to avoid connection storms.

HardTechnical
75 practiced

Evaluate the trade-offs of using a managed multi-region database service (for example Cloud Spanner, Cosmos DB, or Aurora Global Database) versus running a self-managed sharded cluster on VMs or Kubernetes, for a system handling roughly 10 million QPS reads and 200,000 writes per second. Cover latency, consistency, operational complexity, cost, scaling behavior, and disaster-recovery capabilities, and give your recommendation.

MediumTechnical
81 practiced

Describe the step-by-step plan to migrate a production MySQL database from self-hosted VMs to Amazon RDS with minimal downtime. Include schema transfer, initial data load, how you'd keep the two in sync until cutover, migrating users and permissions, cutover strategy, smoke tests, and rollback plan.

EasyBehavioral
82 practiced

Think of a managed database service you have personally deployed and operated in production (for example RDS, Aurora, Cloud SQL, DynamoDB, or Cosmos DB). Walk through how you approached capacity planning and your scaling strategy for it, and share one concrete outcome or lesson learned from running it in production.

Unlock Full Question Bank

Get access to all 20 Cloud and Managed Database Services interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.