Performance Cost Optimization & Resource Efficiency Questions
Optimizing for the money and resources a given level of performance consumes, not just raw speed. Covers cost-per-request reasoning, right-sizing compute and memory, efficiency of resource utilization, and trading performance against spend. Emphasizes treating cost and resource efficiency as first-class performance objectives.
HardTechnical
73 practiced
You must migrate 500 TB of on-prem data to the cloud with limited bandwidth and a desire to minimize costs. Propose a migration plan that minimizes network egress and storage costs (discuss physical shipment appliances, compression, deduplication, staged migration, and parallelization). Explain how you will validate data integrity and provide a rollback strategy if needed.
MediumTechnical
97 practiced
Estimate the monthly cost-benefit of introducing a CDN in front of an API currently serving 20 TB/month of origin egress with average response size 100 KB and 2M requests/day, where you estimate 60% of requests are cacheable. Outline assumptions, compute origin bytes saved, add CDN bandwidth and per-request costs, and show a break-even calculation.
MediumTechnical
90 practiced
Serverless functions in production suffer occasional cold starts that violate a 100ms P95 latency SLO. Describe mitigation techniques (for example provisioned concurrency, keep-alive warmers, reducing package size), the cost and operational trade-offs of each, and an experimental plan to measure whether each approach meets the SLO while minimizing incremental cost.
MediumSystem Design
103 practiced
You're migrating an on-prem transactional relational database to a managed cloud offering (RDS). Given current metrics and a projected growth rate, describe how you would estimate required storage capacity, IOPS, and instance class. Include how to test assumptions (benchmarks/load tests), handle peak-to-average multipliers, and avoid both overprovisioning and underprovisioning.
EasyTechnical
84 practiced
Compare provisioned/reserved capacity models (e.g., reserved instances, provisioned concurrency for serverless) to autoscaling/on-demand models. Describe the cost and performance trade-offs and give scenarios where choosing provisioned capacity is preferable for a latency-sensitive service.
Unlock Full Question Bank
Get access to hundreds of Performance Cost Optimization & Resource Efficiency interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.