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

You manage a large compute fleet that includes on-demand, reserved, and spot instances. Describe a purchasing and capacity strategy that minimizes cost while meeting availability SLAs: how you'd size reservation commitments, plan buffer capacity, automate spot diversification, and handle spot interruptions with a graceful fallback to on-demand or reserved capacity.

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.

HardSystem Design
74 practiced

Design a compute strategy for an e-commerce platform expected to handle 10,000 requests per second at peak with seasonal spikes, PCI compliance requirements for card processing, and a mix of stateful and stateless services, run by a small operations team. Decide which components should run on VMs, containers, a managed PaaS, or serverless, and justify your choices across scale, compliance, cost, and operational burden.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.