InterviewStack.io LogoInterviewStack.io

API Integration and Networking Questions

Making and managing network requests to external services and third party APIs, including HTTP fundamentals and REST principles. Topics include constructing requests, headers and authentication schemes such as token handling and refresh flows, parsing and serializing JSON, handling HTTP status codes, network error handling, timeout and retry strategies, backoff, offline and caching strategies, security concerns such as HTTPS and certificate pinning, and familiarity with common networking libraries on different platforms. Candidates should demonstrate the ability to integrate external APIs reliably and securely and to reason about networking trade offs.

HardTechnical
36 practiced
Describe how you would implement a two-way sync algorithm for an offline-first mobile app using CRDTs to avoid merge conflicts. Explain serializing and transmitting CRDT deltas over REST or gRPC, how clients apply remote deltas, compaction to avoid unbounded state growth (GC/tombstone trimming), and handling schema changes over time.
MediumTechnical
40 practiced
Explain certificate pinning for mobile applications. Describe how to implement it on iOS and Android (URLSession/App Transport Security and OkHttp) and discuss key rotation strategies, how to update pins securely, how to fallback in case of pin mismatch, and common pitfalls such as captive portals or corporate TLS interception.
HardTechnical
46 practiced
Design a high-performance GraphQL client architecture for mobile where queries can be large and network stability is intermittent. Discuss persisted queries to reduce request size, query batching, request deduplication, normalized caching, optimistic mutations, and strategies to minimize CPU and network usage on low-end devices.
MediumTechnical
44 practiced
You are receiving reports of intermittent network failures affecting a subset of Android devices in the wild. Describe a step-by-step triage and debugging plan: how to reproduce the issue, what logs and telemetry to gather, how to use device farms or packet captures, how to isolate whether it is client, carrier, or server related, and mitigations you could ship quickly.
MediumTechnical
35 practiced
Compare WebSockets, Server-Sent Events (SSE), and long-polling when implementing near-real-time features for mobile apps (e.g., chat, presence). For each approach discuss reliability, reconnection/backoff rules, battery impact, iOS/Android background restrictions, and compatibility with mobile proxies and HTTP/2.

Unlock Full Question Bank

Get access to hundreds of API Integration and Networking interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.