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

Your ML platform team runs a mix of training and inference workloads and needs to decide between GPU, TPU, and CPU-only instances for each. Walk through how you'd make that decision: what would push you toward one option over another, and what would change your answer between the training and inference workload?

MediumTechnical
72 practiced

A team needs to run nightly batch jobs with variable parallelism and a limited budget; jobs can run up to 4 hours. Compare using serverless functions, container-based batch runners, and a managed batch service for this. Recommend an approach and justify it on cost, execution-time limits, cold starts, and operational effort.

EasyTechnical
108 practiced

You have a small daily ETL job that processes 50,000 records and runs for about 15 minutes. Which compute option would you choose among a VM, a managed batch service, a container on Kubernetes, and a serverless function, and why? Address cost, operational effort, scalability, and reliability.

MediumTechnical
53 practiced

Spot (or preemptible) instances offer a steep pricing discount in exchange for the provider being able to reclaim the instance on short notice. Describe how an architecture can safely use spot instances for stateless web tiers, batch processing, and other compute-intensive jobs, and what you'd design in to handle interruptions gracefully.

EasyTechnical
55 practiced

A small team needs to implement an event-driven ingestion pipeline that receives occasional webhooks (hundreds per hour) and writes them into object storage. Justify choosing serverless functions over a small always-on container service. Discuss cost at low and burst traffic, latency, concurrency limits, retries, and operational burden.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.