Your question is Offline-First Sync for Documents. 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).
Describe how you would architect an offline-first synchronization engine for a document management mobile application.
Discuss the client and server data model, local persistence, upload and download queues, resumable transfers, conflict detection and resolution, authentication, encryption, retries, and recovery after crashes or prolonged disconnection. Explain how you would validate correctness, monitor synchronization health, and use machine learning only where it adds value, such as predicting conflict risk or detecting anomalous sync behavior.