Client-Side and Mobile Data Persistence Questions

Storing data on devices and clients: embedded and mobile databases (SQLite and similar), local caching, offline-first persistence and sync, and durable save/state systems for applications and games. Covers constrained-storage design, conflict resolution on sync, and persisting state reliably outside a central server. Serves mobile and game development interviews.

MediumTechnical
72 practiced

Describe strategies to minimize battery impact when doing periodic background syncs and large uploads on mobile devices. Discuss scheduling best practices, batching, opportunistic sync (charging/wifi), exponential backoff, push-triggered sync vs polling, and how to observe and tune battery/network metrics.

HardTechnical
69 practiced

Compare Conflict-free Replicated Data Types (CRDTs) and Operational Transformation (OT) for enabling convergent multi-device state in mobile apps. Then implement a simple state-based G-Counter CRDT in Kotlin that supports increment and merge operations between replicas.

MediumSystem Design
71 practiced

You're updating an iOS app's Core Data model: rename attribute title to name on Entity Note, and add a new relationship owner:User. Describe a safe migration plan using lightweight migration where possible. If lightweight migration isn't sufficient, outline a custom migration strategy and how you would test it across multiple app versions with live data.

HardSystem Design
67 practiced

Design a robust schema versioning and migration strategy for mobile local stores (SQLite/Room, Core Data, Realm) that must support users upgrading from many historical app versions. Describe migration ordering, backward/forward compatibility, migration scripts, incremental migration, and techniques for testing migrations at scale.

HardTechnical
81 practiced

Design secure offline storage for sensitive personally identifiable information (PII) on iOS and Android. Cover encryption-at-rest approaches, key management (Keychain / Keystore / Secure Enclave), biometric unlocking, key rotation, encrypted backups, and how to allow selective server-side recovery while preserving user privacy.

Unlock Full Question Bank

Get access to all 33 Client-Side and Mobile Data Persistence interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.