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.

MediumTechnical
85 practiced

You're designing the managed-database architecture for an ad-serving platform with 100M monthly active users. Characteristics: 95% reads, 5% writes; p95 read latency target < 50ms globally; peak reads 50k RPS; writes are small updates ~10k TPS during peak. Data shape: user preferences and campaign state, schema somewhat flexible. Recommend a managed database architecture (products and components) to meet the latency SLA and discuss caching, indexing, and operational concerns.

MediumTechnical
87 practiced

Describe encryption in transit and at rest for managed database services. For AWS RDS/Aurora: list the steps you'd take to verify TLS is enforced on connections, confirm encryption at rest is enabled using KMS, and validate that snapshots and read replicas remain encrypted. Mention potential performance impacts and key rotation considerations.

HardTechnical
77 practiced

You are deciding whether to move the primary database to a serverless managed database or keep it on a self-managed cluster running on VMs or containers. Discuss the connection-scaling issues serverless callers create, the proxy patterns you would consider (for example connection pooling or RDS Proxy), cold-start interactions, cost elasticity, operational overhead, and migration complexity.

MediumTechnical
63 practiced

Compare provisioned capacity (reserved throughput) with serverless/autoscaling models for DynamoDB and Aurora Serverless v2. Discuss cost predictability, latency characteristics, cold-start behavior, throttling, operational overhead, and what kind of workload pattern each model suits best.

HardTechnical
62 practiced

Your team needs to forecast storage, IOPS, and throughput requirements for an RDS/Aurora instance and a DynamoDB table over the next 12 months of projected traffic growth. Walk through how you'd build this capacity planning model: what data you'd need to collect, how you'd build in margin for spikes and bursts, and how you'd turn the forecast into automated scaling and cost alerts.

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.