Your question is Pastebin-Style System Design. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a pastebin-style system and explain the key components and tradeoffs.
Discuss the API, storage model, identifier generation, read and write paths, expiration, abuse controls, availability, scalability, and security. Explain important choices such as SQL versus object storage, caching, replication, consistency, and retention. If introducing ML for abuse or content classification, clearly separate it from the core system and describe its operational tradeoffs.