Design a scorecard for when to optimize prompts, models, or infrastructure first.

Instruction: Explain how you would decide where to focus optimization work in an AI system. Fictional mean latency trace totals 2.0 s: queue 1.2 s, retrieval 0.2 s, prefill 0.2 s, decode 0.4 s. Task success is 95%. A prompt reduction can at best halve prefill; a scheduling experiment may halve queue time. Compute their ideal separate gains and choose the first controlled experiment.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would decide where to focus optimization work in an AI system.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I would use a scorecard to prioritize investigation, then verify the bottleneck with traces and a controlled comparison. A symptom suggests a layer, but does not prove its cause...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions