Q131. Walk through the TCP three-way handshake and connection teardown.
TCP opens a connection with a three-way handshake so both sides agree on initial sequence numbers and confirm they can send and receive. 1. Client sends SYN with its init...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (329 available).
TCP opens a connection with a three-way handshake so both sides agree on initial sequence numbers and confirm they can send and receive. 1. Client sends SYN with its init...
Regularization adds a penalty on model complexity to the loss, discouraging large weights and reducing overfitting. L2 (ridge) adds the sum of squared weights. It shrinks...
A replica set is a group of nodes holding the same data: one primary and two or more secondaries. All writes go to the primary. Secondaries replicate the oplog and can se...
Measure latency and utilisation, then find the culprit. 1. Space versus inodes: use df -h and df -i. A full inode table also breaks writes. 2. Utilisation and latency: ``...
Start with RTO and RPO, then choose a topology. - Within a region, distribute workloads across availability zones, which are physically separate datacentres. Use zone-red...
Three classic failure modes, often confused: - Penetration: requests for keys that do not exist always miss the cache and hit the database. Attackers can exploit this wit...
Shell variables hold strings and have no strict typing. `$?` is the exit status of the last command, where 0 means success. ```bash greeting="hello" echo "${greeting} wor...
Rails is an MVC framework: a request hits the router, maps to a controller action, the controller works with models, and renders a view. Models use ActiveRecord for the d...
A higher-order function takes a function as a parameter or returns one. Functions are first-class values with types like `(Int) -> Int`. ```kotlin fun List.myFilter(predi...
`Option` models presence with `Some` and `None`, replacing null. `Result` models success or failure with `Ok` and `Err`, and is how Rust does recoverable errors. ```rust ...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.