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.

EasyTechnical
60 practiced

Explain the differences between general-purpose, compute-optimized, memory-optimized, and storage-optimized instance types, with an example workload profile for each. What would you look at before recommending one for a new service, and when would you prefer vertical scaling (a bigger instance) over horizontal scaling (more instances), or vice versa?

HardTechnical
67 practiced

Create a benchmarking plan to choose an instance family and size for a CPU-bound application that is sensitive to single-thread performance and memory bandwidth. Describe representative test workloads, the low-level metrics you'd collect and why, how you'd run tests consistently across instance types, and how you'd translate the results into a performance-per-cost decision.

MediumTechnical
57 practiced

An organization runs both machine learning model training and online inference. Training needs many GPUs for throughput; inference needs low latency per request. Compare the compute options available for each workload, and recommend configurations that balance cost, latency, and operational complexity for both.

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 36 Cloud Compute Options and Trade-offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.