Cloud Compute Options and Trade-offs Questions

Choosing among compute abstractions independent of provider: virtual machines, containers, managed container services, serverless functions, and bare metal. Covers the cost, control, cold-start, scaling, and operational trade-offs of each model; how to pick an instance family or hardware accelerator (general-purpose, compute-optimized, memory-optimized, GPU, TPU) and a purchasing model (on-demand, reserved, spot); and how workload characteristics (latency, statefulness, burstiness) drive the decision. Managed-versus-self-managed reasoning lives here.

MediumTechnical
65 practiced

You must host a REST API with predictable traffic peaking at 100 requests/sec, per-request compute under 50ms, and a compliance requirement to retain logs for 7 years. Choose between VMs, containers on managed Kubernetes, and serverless functions. Explain your recommended compute platform, the logging and storage choices that satisfy retention and compliance, a minimal monitoring stack, and the trade-offs you considered.

EasyTechnical
63 practiced

Explain cost-saving compute options in public clouds: reserved instances/commitments, spot/preemptible instances, savings plans, and scheduling (start/stop). For a daily batch processing job that can run any time within a 6-hour window, recommend the most cost-effective compute pattern and explain the trade-offs.

EasyTechnical
59 practiced

Compare the core compute models available in public cloud: virtual machines, containers, serverless functions, and bare-metal instances. For each, describe typical startup latency, isolation level, and operational burden, and give a concrete use case where that model is the right choice.

HardTechnical
70 practiced

For a high-throughput webhook-ingestion service, outline how you'd estimate the point at which serverless becomes more expensive than an always-on containerized service. Describe what you'd model, the cost-model approach you'd use, and what architecture you'd recommend once throughput is sustained at that level.

HardSystem Design
68 practiced

Design an architecture to host interactive developer sessions (remote IDEs) that need long-running connections per user with predictable latency and cost controls; serverless functions are unsuitable here because of execution limits. Explain your compute choice, session persistence, autoscaling strategy for sessions, idle-session cleanup, security isolation, and how costs are allocated per user.

Unlock Full Question Bank

Get access to all 40 Cloud Compute Options and Trade-offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.