PlacementPrep IndiaPowered by AcePrep
Core CSBeginner • Intermediate • Advanced

Computer Networks (CN) Mock Interview

Every backend, cloud, and full-stack campus interview tests networking fundamentals — especially 'What happens when you type a URL?', TCP reliability vs latency, HTTPS/TLS security, and REST/WebSocket trade-offs.

Frequently Asked By:CiscoAmazonCloudflareZscalerMicrosoftPaytmSwiggy

3-Level Networks Placement Syllabus

Beginner Tier
  • OSI vs TCP/IP 4-Layer Model
  • IP, MAC, ARP & Subnetting Basics
  • TCP vs UDP Characteristics
  • HTTP Methods & Status Codes
Intermediate Tier
  • TCP 3-Way Handshake & Teardown
  • DNS Recursive Resolution & Caching
  • HTTPS & TLS Handshake
  • NAT, Proxies & Load Balancers
Advanced Tier
  • TCP Congestion Control (Slow Start, AIMD)
  • HTTP/2 Multiplexing vs HTTP/3 QUIC
  • CDN Anycast Routing
  • WebSockets vs SSE vs Long Polling
INTERACTIVE BROWSER DEMO • ZERO INSTALL

Try a Spoken or Typed Mock Interview Right Now

NetworksBeginnerQ1 / 3

“Walk me through what happens at the network layer when you type https://placementprepind.online into your browser and press Enter.”

Focus log (info only): 0 blurs • 0 pastes

High-Frequency Spoken Networks Questions & Rubric Criteria

Study how interviewers probe beyond definitions with adaptive follow-ups and what AcePrep's 0–10 scoring rubric checks in your spoken explanation.

QUESTION 01Beginner

Walk me through what happens at the network layer when you type https://placementprepind.online into your browser and press Enter.

Adaptive Follow-Up Probe

Where are the biggest latency hops in that flow, and how do DNS caching, keep-alive, and TLS 1.3 reduce them?

What the Rubric Checks

  • • Covers DNS lookup, TCP handshake, TLS handshake, HTTP request/response, and rendering
  • • Orders layers accurately without skipping TLS
  • • Explains RTT optimization techniques

High-Scoring Answer Blueprint

Browser checks caches -> DNS resolves domain to IP -> TCP 3-way handshake establishes reliable connection -> TLS handshake verifies certificate and negotiates symmetric session keys -> encrypted HTTP GET request sent -> server returns HTML/assets -> browser parses DOM and renders page.

QUESTION 02Intermediate

Compare TCP and UDP in terms of reliability, ordering, and overhead — and justify which one you would choose for a live voice mock interview app.

Adaptive Follow-Up Probe

HTTP/3 runs over QUIC on top of UDP. Why did engineers rebuild reliability over UDP instead of upgrading TCP directly?

What the Rubric Checks

  • • Contrasts connection-oriented vs connectionless delivery
  • • Explains why real-time voice tolerates tiny packet loss better than head-of-line blocking
  • • Understands QUIC and OS kernel ossification

High-Scoring Answer Blueprint

TCP guarantees ordered, reliable delivery via ACKs and retransmissions, adding latency on packet loss. UDP is connectionless and lightweight. Real-time audio prefers UDP (via WebRTC) because waiting to retransmit a stale 20ms audio packet causes audible jitter; QUIC solves TCP head-of-line blocking in user space.

QUESTION 03Intermediate

How does HTTPS use both asymmetric and symmetric encryption during a TLS handshake, and why doesn't it use asymmetric encryption for the entire session?

Adaptive Follow-Up Probe

How does your browser know the server's public key actually belongs to placementprepind.online and not an attacker?

What the Rubric Checks

  • • Distinguishes key exchange (asymmetric) vs bulk data encryption (symmetric)
  • • Explains CPU performance cost of RSA/ECC vs AES
  • • Explains Certificate Authorities (CA) and chain of trust

High-Scoring Answer Blueprint

Asymmetric cryptography (e.g., ECDHE + signed X.509 certificate) authenticates the server via a trusted CA chain and safely derives a shared symmetric key. Symmetric encryption (AES-GCM/ChaCha20) then encrypts all application traffic because it is orders of magnitude faster.

Networks Interview FAQs

Is Computer Networks asked for web developer roles too?

Yes. Full-stack and frontend interviews frequently ask about CORS, cookies, HTTP caching headers, HTTPS/TLS, WebSockets, and DNS latency.

Continue Practicing Related Tracks