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
70 practiced

Your platform needs to run video-transcoding jobs that frequently take longer than 15 minutes, but the rest of the platform uses serverless functions and serverless execution-time limits make that impossible for these jobs. Outline an architecture for the long-running jobs, and explain how you'd handle retries and idempotency so a failed job doesn't corrupt or duplicate output.

MediumTechnical
89 practiced

Describe the main autoscaling approaches available for cloud compute: horizontal autoscaling (of pods or instances), vertical scaling, scheduled scaling, and predictive autoscaling. For each approach, explain typical use cases, benefits, and the pitfalls it can introduce in production.

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.

MediumTechnical
74 practiced

Compare virtual machines, containers, managed PaaS, and serverless functions for deploying a three-tier web application: explain the differences in operational responsibility, control over the runtime, patching, scaling behavior, and typical startup latency, and say where each model is the best fit, giving a concrete example workload for each (a steady web tier, a bursty API, a batch job). Then explain how your recommendation would change for a small operations team versus a large platform team.

EasyTechnical
67 practiced

You are advising a small startup building a simple CRUD web app with low traffic (about 100 daily users) and one full-stack engineer. Which compute option would you recommend among a single VM, a managed container platform, and serverless functions, and why? Address speed to market, operational burden, cost, and the growth path if traffic increases tenfold.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.