Skill Zuno · skillzunos.com · System Design
Client-Server Model interview questions
Prepare for Client-Server Model interviews on Skill Zuno. This practice book covers Client-Server Model interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.
Open Client-Server Model on Skill ZunoAlso see the Client-Server Model tutorial.
The client-server model splits a system into clients that request resources and servers that provide them over a network. Almost every web and mobile application uses it, from a browser loading a page to a service calling a database. Interviews cover what happens when you type a URL, DNS, IP addresses and ports, HTTP requests and responses, and stateless servers.
Sample Client-Server Model interview questions
What happens when you type a URL into a browser?
The browser resolves the hostname with DNS, opens a TCP connection and a TLS handshake, sends an HTTP request, and receives HTML. It then parses it and fetches CSS, JavaScript and images before rendering the page.
What is DNS?
The Domain Name System translates hostnames into IP addresses. Resolvers query root, top-level domain and authoritative servers and cache answers for their TTL.
What is a port?
A number from 0 to 65535 that identifies a process on a host. Together, an IP address and a port identify one endpoint; HTTPS uses port 443 by default.
Why should servers be stateless?
A stateless server keeps no session data in its own memory, so any instance can handle any request. That makes load balancing, autoscaling and recovering from crashes simple.
What is the difference between the client-server and peer-to-peer models?
In client-server, central servers provide the service and clients consume it. In peer-to-peer every node can act as both client and server, which removes the central bottleneck but makes coordination and trust harder.
What you can practice
- Client-Server Model interview questions for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- System Design topics alongside Client-Server Model on skillzunos.com