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
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.

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
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.

EasyTechnical
71 practiced

You are evaluating three workloads and must recommend either a managed relational or a managed NoSQL/data service. Workloads:

A) Payment processing with complex joins, strong transactional integrity, and strict consistency.
B) User profile store with flexible schema, extremely high read scale, and fast reads (p95 < 50ms).
C) IoT telemetry ingestion with massive write throughput, time-series data, and eventual consistency acceptable.

For each workload recommend a managed product (e.g., RDS PostgreSQL, Aurora, DynamoDB, Cloud Spanner), justify your choice, and note the operational considerations you'd need to handle for the chosen service.

HardTechnical
73 practiced

Your analytics workloads run on a cloud-managed database with autoscaling. Costs have spiked due to heavy ad-hoc queries. Propose concrete optimizations at schema, query, and operational levels to reduce cloud spending while maintaining acceptable performance for analysts. Include cost-vs-latency trade-offs.

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.