AI Infra Interviews logo

Lambda Napkin Math, Cost & Capacity interview questions

Lambda documents different billing rules for on-demand instances, reserved clusters and filesystems. Keep those units explicit when estimating the cost of a training or serving experiment. Questions tagged to Lambda appear first, followed by additional practice from our Napkin Math, Cost & Capacity track. Company tags indicate preparation relevance, not confirmed interview appearances. Confirm the current interview format with your recruiter.

Calculate cost from billable resources

  1. Use the correct billing boundary. Lambda’s on-demand documentation bills running instances even while idle. Count the launch-to-termination interval, not only the minutes spent in a training loop, and verify the current rate for the exact instance.
  2. Compare completed work. For two candidate configurations, multiply billed time by the quoted rate and add retained storage. A faster, more expensive instance can cost less per completed run; a failed run still consumes resources. Keep hypothetical prices labeled as assumptions.

Sources: Lambda Cloud billing rules. Reviewed .

Start with the first company-tagged practice question · Continue through the full topic track. Check each resource’s access level.

Napkin Math, Cost & Capacity questions tagged to Lambda

2 questions · 0 unlocked for you

Additional Napkin Math, Cost & Capacity practice

These questions cover the same topic and are not tagged to Lambda. Use them to practise applying the ideas in a different situation.

15 questions · 10 unlocked for you

Concepts for Napkin Math, Cost & Capacity preparation

These concept explanations cover the ideas used in the questions. Check each card for its access level.

Foundational
Model Memory FootprintSeparate weight payload, growing request state and training allocations. Work through exact units and per-rank budgets, then check the live peak.
Foundational
KV Cache SizingDerive cache payload from the stored attention state, then account for mixed sequence lengths, block allocation and per-device limits. Worked examples distinguish exact bytes from deployable capacity.
Foundational
Training FLOPs: 6NDDerive the six from one forward and two backward matrix products. Count training tokens, attention and recomputation consistently before turning model work into a schedule.
Core
Sign in
GPU-Hours and Time to TrainConvert a stated work budget into elapsed time and GPU-hours. Vary utilization, invert for a deadline, and separate productive time from calendar delays without counting them twice.
Core
Sign in
Arithmetic Intensity by OperationCount the FLOPs and memory transfers of a projection, attention and a residual add. Learn where the batch-size shortcut works, where it breaks, and which hardware roof applies.
Advanced
🔒 Premium
Bandwidth-Bound Decode ThroughputEstimate decode throughput from bytes per step, then separate aggregate output from per-user pace. A finite-memory example shows how batching, cache reads and quantization change the bound.
Advanced
🔒 Premium
Communication Volume EstimatesEstimate communication by naming the tensor, collective, group and synchronization schedule. Work through per-rank ring bytes, conditional sharding costs, activation exchanges and routing imbalance before converting traffic into exposed time.
Advanced
🔒 Premium
Cost per Million TokensCost per million tokens connects fleet spending to useful output. Keep the time window, token definition and utilization assumptions consistent when comparing deployments.
LAMBDA NAPKIN MATH, COST & CAPACITY FAQ

This collection includes practice questions such as "Should we buy or rent 1,000 H100s for the next two years?", "A startup wants to train a 7B model on 1 trillion tokens in three weeks. What cluster do they rent?", "How much GPU memory does it take to run Llama 3.1 70B?". Company tags describe relevance to preparation; they do not confirm that Lambda asked these questions. Check each question for answer access.

Other topics for Lambda preparation

Explore the other topics mapped to Lambda in our preparation guide.

Continue your Lambda interview preparation

Continue with related questions and the concept curriculum. Free questions are available in every track; check pricing for full access.

Independent and not affiliated with Lambda. All trademarks belong to their owners.