InterviewStack.io LogoInterviewStack.io

Compute Options and Trade Offs Questions

Covers the core compute models and how to evaluate them for application workloads. Candidates should be able to explain virtual machines where operators manage the operating system and runtime and which provide maximum control but require operating system patching capacity planning and infrastructure maintenance. Candidates should understand container technologies and container orchestration patterns that enable packaging portability and efficient resource use for microservices while introducing operational concerns around orchestration networking storage and deployment. The topic includes managed platform as a service offerings that abstract runtime and deployment responsibilities to reduce infrastructure management at the cost of lower level control and customization. It also covers serverless function models that provide event driven automatic scaling and pay per execution billing while presenting constraints such as cold start latency execution time limits and challenges for long running or highly stateful workloads. Candidates should know instance type selection and resource profiles such as general purpose compute optimized and memory optimized options; autoscaling strategies and performance and cost trade offs; startup latency and cold start implications; state management and persistence patterns; monitoring and observability complexity; security and operational responsibilities; and how team expertise application architecture and cost considerations influence the best choice of compute option for a given workload.

EasyTechnical
60 practiced
Explain the differences between general purpose, compute optimized, memory optimized, and storage optimized instance types. For each type provide example workload profiles, key metrics you would monitor when sizing (CPU utilization, memory usage, disk IOPS, network bandwidth), and when to prefer vertical scaling versus horizontal scaling.
MediumTechnical
52 practiced
A stateful application on Kubernetes needs high IOPS and low latency storage across multiple availability zones. Compare options such as local NVMe SSDs, cloud block storage via CSI drivers, managed replicated block storage, and managed distributed file systems. Discuss performance, failover, data locality, snapshot and backup trade offs and operational implications.
HardSystem Design
75 practiced
Design a compute layer that can run a stateless service across AWS and Azure to reduce vendor lock in while enabling centralized deployment controls. Describe IaC choices, CI/CD pipeline strategy, secrets and key management across clouds, networking and service discovery considerations, and whether a service mesh or platform abstraction layer is appropriate.
MediumTechnical
57 practiced
A customer runs both machine learning model training and online inference. Training uses many GPUs for throughput whereas inference requires low latency per request. Compare compute options such as GPU instances, Kubernetes with GPU node pools, managed inference services, and edge inference. Recommend configurations that balance cost, latency, and operational complexity for both workloads.
MediumSystem 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 for card processing, and a mix of stateful and stateless services. The client has a small operations team. Propose which components to host on VMs, containers, managed PaaS, or serverless, and justify your choices across scale, compliance, cost, and operational burden.

Unlock Full Question Bank

Get access to hundreds of Compute Options and Trade Offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.