InterviewStack.io LogoInterviewStack.io

Performance Engineering and Cost Optimization Questions

Engineering practices and trade offs for meeting performance objectives while controlling operational cost. Topics include setting latency and throughput targets and latency budgets; benchmarking profiling and tuning across application database and infrastructure layers; memory compute serialization and batching optimizations; asynchronous processing and workload shaping; capacity estimation and right sizing for compute and storage to reduce cost; understanding cost drivers in cloud environments including network egress and storage tiering; trade offs between real time and batch processing; and monitoring to detect and prevent performance regressions. Candidates should describe measurement driven approaches to optimization and be able to justify trade offs between cost complexity and user experience.

HardTechnical
59 practiced
You are asked to build a cost allocation model for a multi-region product that uses different storage tiers and has substantial egress. Describe a practical approach to attribute costs to product lines and features, what tagging and data you need from engineering, and how you would present results so product leads can make optimization decisions.
MediumTechnical
50 practiced
You are evaluating a proposal to place a CDN in front of several API endpoints. List which types of endpoints are good CDN candidates, describe cache key and invalidation strategies, estimate cost implications and cache hit rate assumptions you would require, and propose deployment and rollback criteria.
HardTechnical
59 practiced
A noisy neighbor in a multi-tenant platform is consuming disproportionate CPU causing other customers to see increased latency. As PM, propose short-term mitigations, medium-term changes to isolation or pricing, and long-term platform investments. Include how you would communicate changes to affected customers and internal teams.
HardSystem Design
60 practiced
Design an SLO and error budget policy for a multi-tenant SaaS backend where premium customers pay for stricter guarantees. Explain how you would tier SLOs, how to measure and enforce them technically and contractually, and how error budgets affect release cadence and incident escalation for each tier.
HardTechnical
61 practiced
Third-party payment gateway performance affects checkout latency. Design an approach to set performance expectations and error budgets for suppliers, including contract terms, technical SLAs, monitoring, and how you would escalate or mitigate when a vendor misses targets.

Unlock Full Question Bank

Get access to hundreds of Performance Engineering and Cost Optimization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.