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.

HardSystem Design
68 practiced

You're designing an event-driven pipeline on a serverless (FaaS) platform that must absorb sudden bursts of events. Cold-start latency and the provider's per-account concurrency limits are causing dropped or delayed processing during spikes. Design an architecture that keeps end-to-end latency low and processing reliable under these constraints, and explain how you'd validate that your design actually holds up under a realistic burst.

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.

HardTechnical
69 practiced

Create a decision framework to help choose a compute option for a given workload: identify the criteria that matter and how you'd weight them, then demonstrate how you'd score and rank the options for five example workloads: a batch-processing job, a web API, a high-throughput streaming pipeline, an ML training job, and a low-latency trading system.

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.

HardTechnical
64 practiced

Compare managed Kubernetes (e.g., EKS or GKE) against a serverless container platform (e.g., Fargate or Cloud Run): control-plane responsibility, node maintenance, runtime customization, networking flexibility, observability, cold-start behavior, cost model, and vendor lock-in/portability. Recommend which is the better fit for a bursty, stateless API service versus a long-running stateful workload, and say why.

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.