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
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.

MediumTechnical
73 practiced

Compare serverless functions (e.g. AWS Lambda, GCP Cloud Functions) versus container-based deployments on Kubernetes (EKS/GKE/AKS) for serving ML models. Discuss cold starts, concurrency limits, model size limits, latency characteristics, state management, operational complexity, and cost behavior at low and high traffic volumes. Provide recommendations for small batch inference and for serving large transformer models.

MediumTechnical
67 practiced

A stateless serverless-function architecture still needs to persist some state somewhere outside the function itself. What patterns are available for that, and what are the operational and latency trade-offs of each choice?

MediumTechnical
68 practiced

Define cold start in the context of serverless function platforms. What causes a cold start, how does it affect user-facing latency, and what mitigation techniques are available? Discuss the cost and complexity trade-offs of those mitigations, and how cold-start behavior can differ across cloud providers' FaaS offerings.

MediumTechnical
105 practiced

You're deploying an ML inference service requiring a GPU-backed model with 100 requests per second baseline and p95 latency under 50ms. Compare serverless GPU options, containers on managed Kubernetes with GPU nodes, and VMs with GPUs. Provide a recommended approach and justify trade-offs for latency, cost, and operational complexity.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.