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, training-cost and cost-per-inference reasoning, right-sizing and cost-driven autoscaling of compute, memory and storage, choosing between on-demand, reserved and spot capacity, storage tiering and egress-cost reduction, cloud-bill diagnosis and reduction plans, and cost allocation or chargeback across teams and tenants. A question belongs here when the primary deliverable is a cost or resource-consumption calculation, decision or reduction plan, not when cost is one line among several unrelated technical considerations. Distinct from defining or measuring latency, percentiles, SLOs and latency budgets on their own, from profiling and bottleneck diagnosis such as flame graphs, hotspots and query tuning, from production incident and on-call triage, from general multi-axis trade-off frameworks where cost is incidental to a decision about latency, freshness or complexity, from concurrency, batching and thread-safety mechanics, and from garbage-collection and memory-leak tuning: those are covered by dedicated sibling topics.

EasyTechnical
108 practiced

Explain the primary drivers of network egress cost in public clouds. For a multi-region application with cross-region reads and writes, list three strategies to reduce egress cost while keeping user-facing latency reasonable.

MediumSystem Design
87 practiced

Design a storage tiering policy for a multi-tenant SaaS analytics platform where tenants have different retention SLAs. Describe hot/warm/cold tiers, migration workflows, tenant-level cost allocation, metadata tracking for tier placement, and how you'd guarantee performance SLAs per tenant.

HardSystem Design
105 practiced

Design a cost-aware scheduler for inference workloads that runs across multi-cloud and on-prem resources, using a mix of on-demand and spot/preemptible instances. The scheduler must maintain SLOs, minimize total cost, handle preemptions, consider data locality and egress prices, and support heterogeneous models with different resource profiles. Describe algorithmic approach (heuristics, ML-driven prediction, or bin-packing), how to score nodes, and migration policies.

HardTechnical
73 practiced

You must migrate 500 TB of on-prem data to the cloud under a limited bandwidth budget, and minimizing network egress and storage cost is a hard requirement. Walk through the migration plan you would propose, how you would validate data integrity throughout, and what your rollback strategy would be if something goes wrong.

EasyTechnical
96 practiced

Explain what 'right-sizing' means for cloud compute and storage resources. As Cloud Architect, outline a simple step-by-step quarterly right-sizing process for a fleet of VMs and managed databases to reduce cost without degrading performance.

Unlock Full Question Bank

Get access to all Performance Cost Optimization & Resource Efficiency interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.