InterviewStack.io LogoInterviewStack.io

Cloud and Managed Database Services Questions

Running databases on cloud platforms: managed relational and NoSQL offerings, cloud storage and database options (e.g. Azure, AWS), and the trade-offs of managed services versus self-managed instances. Covers provisioning, scaling, cost, and integration with the surrounding cloud ecosystem. Relevant to cloud-focused engineering and architecture roles.

EasyTechnical
62 practiced

List and briefly explain the common backup and restore mechanisms available in managed relational services (automated snapshots, manual snapshots, point-in-time recovery, continuous WAL archiving) and how they map to RPO and RTO expectations. Include considerations for retention policies, cross-region snapshot copies, and the SRE tasks needed to validate backups.

HardTechnical
75 practiced

You must migrate millions of small records from a key-value NoSQL store into a relational database that requires referential integrity and normalized tables. Propose an approach that minimizes downtime and ensures data correctness: include snapshotting, incremental migration with CDC, data transformation/denormalization steps, idempotent writes, verification and reconciliation, and rollback approaches.

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 operational considerations an SRE must handle for the chosen service.

HardTechnical
80 practiced

Design a reliable approach to provide transactional-like behavior across two heterogeneous managed stores: orders in RDS (relational) and inventory in DynamoDB. Explain patterns (two-phase commit, distributed transactions, saga pattern), how to implement idempotency and compensating transactions, and trade-offs in terms of consistency, latency, and operational complexity.

MediumTechnical
65 practiced

You need to design a DynamoDB table to support these access patterns: 1) Get user profile by user_id, 2) List a user's recent activities ordered by timestamp, 3) Query a user's items by tag. Propose a primary key and any secondary indexes (GSI/LSI) and explain how each access pattern is supported, plus considerations for provisioned capacity or on-demand mode.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.