TikTok Interview Question

How to optimize an LLM-based system (without specifying any limitations or goals).