IT & Security Interview Questions

The ones that actually get asked — and what the interviewer is really checking when they ask.

Most interview prep lists give you a definition to memorize. That's not what gets you hired. Interviewers ask these to find out how you think — whether you can reason through a system, admit what you don't know, and stay organized when something's on fire.

So each question below has the answer, and then the more useful part: what they're actually testing.

1. What happens when you type a URL into a browser and press enter?

Browser checks its cache, then resolves the domain via DNS (local cache → resolver → root → TLD → authoritative). It opens a TCP connection to the resulting IP on port 443, performs the TLS handshake, sends an HTTP request, gets a response, and renders it — pulling additional assets as it parses.

What they're testing: whether you understand systems end to end. This is the single most common technical question in IT because it touches DNS, TCP, TLS, and HTTP in one answer. Go layer by layer and say "then" a lot. Depth beats speed.

2. TCP vs UDP — when would you use each?

TCP is connection-oriented: handshake, ordered delivery, retransmission of lost packets. Use it when correctness matters — web, email, file transfer. UDP is fire-and-forget: no handshake, no guarantee. Use it when timeliness beats completeness — voice, video, DNS queries, game traffic.

What they're testing: can you give a real example, not just the definition. "A dropped packet in a video call is better than a late one" gets you further than reciting "connectionless."

3. Authentication vs authorization?

Authentication is proving who you are. Authorization is what you're allowed to do once you've proven it. You authenticate once and get authorized many times.

What they're testing: vocabulary precision. It's a quick filter — mixing these up signals you haven't worked with access control. One clean sentence each is the right length.

4. A user says "the internet is down." Walk me through it.

Scope it first: one user or everyone? One site or all sites? Then work up the stack — is the machine on the network (link light, IP address)? Did it get a real IP or a 169.254 address, which means DHCP failed? Can it ping the gateway? Can it resolve a name (`nslookup`)? Can it reach an IP directly? That last split tells you DNS versus routing.

What they're testing: this is the most revealing question in help-desk interviews. They want a method, not a lucky guess. Say "first I'd find out how big the problem is" before naming any tool, and you're ahead of most candidates.

5. Explain DNS like I'm not technical.

It's the phone book of the internet. You know the name; DNS gives you the number the network actually needs. Your machine asks a resolver, which asks its way down the hierarchy until something authoritative answers, and the result is cached along the way so it's fast next time.

What they're testing: can you explain a technical thing to a non-technical person. Half of IT is talking to people who don't share your vocabulary. If you can't do it here, they'll assume you can't do it with a frustrated executive.

6. How does HTTPS actually protect me?

TLS does three things: it encrypts the traffic so a middleman can't read it, it verifies the server's identity via a certificate signed by a trusted authority, and it detects tampering in transit. Asymmetric crypto is used to agree on a shared key; the actual data is then encrypted with faster symmetric crypto.

What they're testing: whether you know HTTPS is about identity as well as secrecy. Candidates who only say "it encrypts things" miss the certificate half, which is the part that stops impersonation.

7. What's the CIA triad?

Confidentiality (only the right people see it), Integrity (it hasn't been altered), Availability (it's there when needed). Most security controls exist to serve one of the three, and they trade off — locking something down harder often costs availability.

What they're testing: that you can frame security as trade-offs rather than "more security is always better." Mentioning the tension earns real points.

8. Symmetric vs asymmetric encryption?

Symmetric uses one shared key — fast, but you have to get the key to the other side safely. Asymmetric uses a public/private key pair — slower, but solves key distribution. Real systems use both: asymmetric to exchange a key, symmetric for the bulk data. That's exactly what TLS does.

What they're testing: whether you can connect it to something real. Tying it back to the TLS handshake shows you understand why both exist instead of memorizing two definitions.

9. How would you defend a small company against phishing?

Layered: MFA so stolen passwords alone don't work, mail filtering and external-sender banners, a verification rule that any payment change gets confirmed by phone on a known number, and training that makes reporting easy and blame-free. Assume someone will eventually click, and design so that click isn't fatal.

What they're testing: maturity. Junior answers say "train the users." Strong answers assume the click happens and focus on limiting the blast radius.

10. Tell me about a time something broke and you fixed it.

Use the shape: situation, what you did, what happened, what you changed afterward. Keep it to ninety seconds. If your example is from a homelab rather than a job, say so plainly — nobody minds, and it beats a vague hypothetical.

What they're testing: ownership and communication under pressure. The strongest version includes what you'd do differently. Saying "I learned to check X first" reads as someone who improves rather than someone who never fails.
The answer that costs people offers: pretending to know. "I haven't worked with that directly, but here's how I'd approach finding out" is a strong answer. Bluffing is the fastest way to lose a technical interviewer, because they will follow up.
Want the full answer bank?

The IT & Security Interview Answer Bank — the full set of questions with real answers, written to be read the night before. Instant download.

Get the answer bank — $5 →

Brush up on the two things you'll most likely be asked to recite: the ports and protocols reference and the subnetting cheat sheet. Landed the job? First 30 Days in a New IT Job covers the part after the offer.