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

List the trade-offs between serverless (FaaS) and container-based deployments for compute workloads. For a latency-sensitive public API that needs sub-100ms cold starts, which approach would you recommend and why? Consider cost, operational overhead, scaling characteristics, and vendor lock-in.

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

Immutable infrastructure (e.g., golden images or container images) and mutable instances take very different approaches to keeping servers up to date. Compare their trade-offs, and how each affects patching, scaling, deployments, and operational complexity for a service that requires high availability.

MediumTechnical
58 practiced

Cold starts in a serverless function are hurting user experience. Define concrete metrics and an experiment design to measure cold-start frequency and its latency impact in production, and describe how you'd turn that data into SLOs with automated alerting.

HardTechnical
60 practiced

Compare cost for two deployment options given this workload: 1,000,000 requests per day with a 1-hour peak at 3,000 requests per second, average execution time 200ms, and 512MB memory per serverless invocation. The alternative is a managed container platform running 3 replicas sized at 0.5 vCPU and 1GB memory each behind a load balancer. Walk through how you'd estimate monthly cost, what additional operational costs to account for, and what non-price factors would influence the final recommendation.

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.