Cybersecurity interview questions

Security interviews test depth in an unusual way: they keep asking why until you stop knowing. How you handle that point matters more than where it comes.

JobsDart Editorial7 min read

Key takeaways

  • The why-ladder is designed to find where memorisation ends; everyone hits that point.
  • Bluffing is disqualifying here in a way it is not elsewhere — inventing confident answers is the liability.
  • Scenario questions assess method: scope first, preserve evidence before containment destroys it.
  • Judgement questions test whether you can inform a business decision rather than forbid it.
  • Depth on two topics beats definitions of twenty, because the ladder exposes the difference in a minute.

The why-ladder

Security interviewers characteristically take a simple question and keep going deeper. What is TLS becomes how does the handshake work becomes what does the certificate actually prove becomes what happens if a certificate authority is compromised.

This is deliberate. It is not about reaching a specific fact but finding where memorisation ends and understanding begins. Everyone hits that point; the assessment is partly what you do when you reach it.

The right response is to say plainly what you know, what you do not, and how you would find out. Candidates who bluff are identified immediately and it is disqualifying, because a security professional who invents confident answers is a genuine liability.

Fundamentals you must be solid on

These come up in nearly every interview regardless of specialisation, because they underpin everything else. Vague answers here are hard to recover from.

Prepare to explain each to a non-specialist as well as technically. Communicating risk to people who are not engineers is a substantial part of the job, and interviewers are listening for whether you can do it.

The most reliable preparation is explaining each one out loud without notes. Concepts that feel solid while reading frequently collapse two levels into an explanation, and finding that out alone is far better than finding it out in the room.

  • Authentication versus authorisation, stated crisply
  • How TLS establishes trust, and what a certificate does and does not prove
  • Symmetric versus asymmetric cryptography, and where each is used
  • Hashing versus encryption, and why passwords are hashed with a salt
  • Common web vulnerabilities and the mechanism behind each
  • How DNS works, since it appears in so many attack paths

Scenario questions

You will be given an incident — a workstation showing unusual outbound traffic, credentials found in a public repository — and asked what you would do. The assessment is method rather than a specific correct answer.

Strong answers establish scope before acting, and consider evidence preservation before containment destroys it. Weak answers jump immediately to wiping the machine, which resolves the symptom and destroys the ability to understand what happened.

Say your reasoning aloud rather than delivering conclusions. The interviewer cannot assess a method they did not hear, and a candidate who narrates the trade-off between containing quickly and preserving evidence is demonstrating exactly what the question is for.

  • What is the scope — one machine, or a pattern across many?
  • What evidence would be lost if I act now?
  • Contain first or investigate first, and what justifies the choice?
  • Who needs to be informed, and when?
  • What would tell me the incident is genuinely over?

The judgement questions

Expect something like: the business wants to ship a feature you consider insecure, and the deadline is fixed. This tests whether you can work with an organisation rather than issuing prohibitions.

The answer interviewers want articulates the risk in business terms, offers options with different cost and residual risk, and accepts that the decision belongs to the business once it is properly informed. Security professionals who cannot do this get excluded from decisions, which makes them ineffective regardless of technical skill.

Add that you would record the decision and revisit it. Accepting a risk with a written owner and a review date is a completely different thing from accepting it silently, and naming that distinction shows you have worked somewhere real.

Questions about your own learning

You will be asked how you keep current. This is a real question in security, where the landscape shifts continuously, and a vague answer about reading news suggests you do not.

Answer specifically: named sources you actually follow, a recent vulnerability you looked into and what you concluded, a lab exercise you worked through. Specificity is the whole signal here, and it is easy to prepare honestly.

The strongest version includes a conclusion rather than a summary. Saying that you looked into a recent vulnerability and decided it did not affect your environment, and why, demonstrates the analytical step that matters rather than the reading.

For AI-adjacent security roles

If the role touches AI systems, expect prompt injection to come up. The answer that lands treats it as an architectural problem — the model can be influenced by any text it processes, so the control must be what the system is permitted to do — rather than a filtering problem.

Being able to distinguish direct from indirect injection, and to explain why the indirect kind is harder to defend because the malicious content arrives through a trusted-looking channel, marks you out in a field where most candidates have read one article.

It also helps to connect it back to ordinary security. An over-scoped credential on an agent is broken access control, and generated output rendered without escaping is an injection sink like any other — framing it that way shows the AI layer sits on top of fundamentals rather than replacing them.

Preparing efficiently

Depth beats breadth. Two topics you can discuss to genuine depth serve you better than twenty you can define, because the why-ladder will expose the difference within a minute.

Prepare one incident story in detail — something you investigated, in a lab if not at work — covering what you saw, what you ruled out, and what you concluded. That single story answers a large share of both technical and behavioural questions.

Include what you got wrong in it. An account that mentions a hypothesis you pursued and eliminated is far more credible than one where every step was correct, and it demonstrates the elimination process the job actually consists of.

What each question type is really assessing
Question typeSurface topicWhat is assessed
The why-ladderTLS, DNS, hashingWhere understanding ends, and honesty there
Incident scenarioWhat would you doMethod, scope, evidence handling
Business pressureInsecure featureWhether you can inform rather than forbid
Staying currentWhat do you readWhether you draw conclusions or collect headlines
AI securityPrompt injectionArchitectural thinking over filtering

Frequently asked questions

What should I say when I do not know the answer?

Say so plainly, state what you do know, and describe how you would find out. Bluffing is identified immediately and is disqualifying, because inventing confident answers is a real liability in security work.

How do I answer an incident scenario question?

Establish scope before acting and consider evidence preservation before containment destroys it. Interviewers assess method, not a specific answer — and jumping straight to wiping the machine is the classic weak response.

What do interviewers want when they ask how I stay current?

Specificity. Name sources you actually follow, a recent vulnerability you investigated and what you concluded, or a lab exercise you completed. Generic answers about reading the news suggest you do not.

How do I answer the "business wants to ship something insecure" question?

Articulate the risk in business terms, present options with different costs and residual risk, and accept that the informed decision belongs to the business. Absolute prohibitions get security excluded from decisions.

How should I prepare an incident story?

Pick one investigation, from a lab if not from work, and include a hypothesis you pursued and eliminated. An account where every step was correct reads as rehearsed rather than real.

Will AI security come up in a general security interview?

Increasingly. Connect it to fundamentals — an over-scoped agent credential is broken access control, and unescaped model output is an injection sink — rather than treating it as a separate discipline.

Further reading

Check this against your own resume

Scan your CV against a real job description, or build a parse-safe one from scratch. Your first scan costs nothing.

Keep reading

Referenced in these guides

All career guides