Skip to content
Learn/Guide

Guide · 63-minute read

Cybersecurity interview questions by specialty: worked answers, and what open postings test

By Yuma Heymans, who runs CyberJobs.cc as Founder & CEO.

Founder of CyberJobs.cc and co-founder of HeroHunt.ai, an AI recruiting platform, based in San Francisco: years of work on how technical talent is found, hired and paid.

Published 2026-11-11

The questions each security specialty asks at interview, what a strong answer has to contain, and a worked answer for each, measured against the tools and duties that 600 open postings demand.

A security interview tests a narrower set of things than the length of a job posting suggests. A posting may list a dozen products; the interview checks whether you can reason from evidence, say out loud what you are doing and why, and automate the dull half of the work. On the evening of 11 November 2026 this board held 2,151 open security roles, each read from the employer's own careers system. From them we drew a random sample of 600 postings, 60 from each of the ten kinds of security work the board sorts roles into, and read every full posting for the tools, frameworks and duties it names. Python appeared in 267 of the 600 (44.5%), more often than any single security product. A word built on "communicate" appeared in 443 (74%). Those two counts say more about what interviewers probe than any list of trick questions.

They also agree with what employers say about their own hiring. In a survey of 929 cybersecurity hiring managers across six countries, 84% said their organizations use skills-based assessments or tests for entry-level and junior applicants, and teamwork, problem solving and analytical thinking were three of the five skills the managers valued most - ISC2 2025 hiring trends study. Expect, then, to do the work in the room (read a log, write a query, review a function, weigh a risk) and to narrate while you do it.

This guide goes through the specialties one at a time. For each it gives what that specialty's sampled postings named, the questions its interviews keep coming back to, what separates a strong answer from a weak one, and worked answers phrased the way a candidate would actually say them. Treat a worked answer as a demonstration of reasoning rather than a script to memorize: interviewers hear recited answers every week, and their follow-up question exists to get underneath one. When you want to rehearse aloud, the free cybersecurity interview practice runs each round of a security loop and writes feedback on every answer.

How the figures were measured. Each sampled posting was read in full on its page on this board on 11 November 2026 and counted once for each term it names anywhere in its text, whether as a requirement, a duty or a nice-to-have. The 600 postings came from 198 employers. Because the sample was drawn at random inside each specialty, a specialty's 60 postings describe that specialty and not the board as a whole, and with 60 postings a share can be off by roughly 10 to 13 percentage points in either direction, so trust the ranking of items more than any single percentage. Open-role counts written as live figures below are read again each time the page loads.

Contents

  1. How hiring teams assemble a security interview loop
  2. What 600 open postings say each interview will test
  3. The fundamentals every loop checks
  4. SOC analyst and incident response interview questions
  5. Penetration tester and red team interview questions
  6. Application security interview questions
  7. Cloud security engineer interview questions
  8. Identity and access management interview questions
  9. GRC analyst interview questions
  10. Security engineer interview questions
  11. Security architect interview questions
  12. Security manager, director and CISO interview questions
  13. Behavioral and hiring-manager questions
  14. A two-week preparation plan
  15. Questions readers ask about security interviews

1. How hiring teams assemble a security interview loop

Hiring teams build security loops out of a handful of round types, mixed in different proportions for different seats. A recruiter screen comes first almost everywhere and settles the practical facts: location, pay expectations, work authorization, whether a clearance is held or obtainable, and the rough shape of your experience. A technical screen with a practitioner follows, usually forty minutes of fundamentals plus questions from your specialty. Then comes some kind of hands-on round. For an analyst it is an alert to triage while the interviewer feeds you what each search would return; for an application security engineer, a pull request to review; for a tester, a lab or a take-home; for a cloud engineer, a policy that does not behave as its author expected. Many loops add a scenario round in which an incident unfolds in stages, a behavioral round run by someone from a partner team, and a conversation with the hiring manager. Senior and leadership seats often add a presentation, a written exercise or a panel that includes engineering, legal or business leaders.

The posting rarely tells you which of these you will meet. Only 11 of the 600 sampled postings mentioned a take-home, a technical exercise, a case study or a work sample at all. So ask in the recruiter call, plainly and early: which rounds the loop contains, whether any is hands-on, which language a coding exercise expects, and whether the hands-on work uses the team's real tools or a neutral environment. Recruiters expect these questions, and the answers change how you spend your preparation time.

Across every round, four things are being scored, and they are worth holding in mind while reading the specialty sections:

  • The order of your reasoning. An analyst who confirms an alert is real before containing it, or an engineer who asks what a system must protect before choosing a control, shows judgment that a correct final answer alone does not.
  • The evidence you name. "I'd check the logs" is weak; "I'd pull the identity provider's sign-in records for that user and look at the device ID and whether MFA was satisfied" is strong, because it shows you know where the truth lives.
  • Where your knowledge stops. Saying "I haven't worked with that service, but here is how I'd find out" earns more than a confident guess that the interviewer then has to unpick.
  • Who you are talking to. The same incident is described differently to a fellow analyst, a product manager and a chief financial officer, and interviewers listen for whether you can switch.

2. What 600 open postings say each interview will test

The technical rounds of a specialty follow, closely, what that specialty's postings ask for. The table summarizes the sample: for each kind of work, the items its postings named most often (with the share of its 60 postings that named each), what that predicts about the technical round, and the median number of years of experience asked for among the postings that stated a figure.

Specialty (60 postings each)Named most oftenWhat the technical round is likely to testMedian years asked
SOC and incident responseincident response 75%, a SIEM 60%, forensics 47%, EDR or XDR 43%Triage of a single alert, a staged incident, a query to write5 (40 stated)
Threat intelligencePython 67%, detection content 47%, malware analysis or reverse engineering 38%Turning reports into detections, ATT&CK mapping4.5 (44 stated)
Penetration testing and red teampenetration testing 68%, Python 57%, red teaming 53%, OSCP 37%Methodology, attack paths, how you prove and report impact5 (35 stated)
Application securityPython 70%, threat modeling 60%, OWASP 40%, SAST or DAST 38%, code review 38%A code review and a threat model of a feature5 (51 stated)
Cloud securityAWS 73%, Kubernetes 67%, Google Cloud 57%, Terraform or infrastructure as code 53%Policy logic, a leaked-credential incident, cluster hardening5 (33 stated)
Identity and accessIAM 80%, SAML, OIDC or OAuth 65%, privileged access 40%, Okta 38%Federation protocols, joiner-mover-leaver design, MFA7 (41 stated)
GRCISO 27001 65%, SOC 2 58%, CISSP 43%, NIST 38%A risk assessment, an audit finding, mapping controls5 (40 stated)
Security engineeringPython 55%, a cloud platform 42%, incident response 37%, Kubernetes 30%Something to build or automate, an on-call story5 (38 stated)
Security architecturestrategy or roadmap 68%, stakeholders 50%, a named framework 40%, NIST 30%A design to draw and defend, zero trust7 (45 stated)
Leadershipstrategy or roadmap 68%, stakeholders 48%, metrics 33%, budget 22%The first 90 days, board reporting, an incident decision8 (44 stated)
Median years of experience asked, by security specialty
600 open postings sampled on 11 November 2026, 60 per specialty; median of the first years-of-experience figure in each posting that states one

Three patterns in the sample deserve attention before the specialty sections.

Programming is a security skill now, not a side skill. Python was the most named programming language in every one of the ten specialties, and more than half of the postings named it in application security (70%), threat intelligence (67%), penetration testing (57%), cloud security and security engineering (55% each). Across all 600, 44.5% named it. Go appeared in 117 postings (19.5%). Interviews follow: expect at least one round where you write or read code, even for analyst seats, where the coding task is usually parsing a log or calling an API.

Cloud has spread into every specialty. Postings naming AWS, Azure or Google Cloud made up 38% of the sample overall, and nearly a quarter of all postings (144) named Kubernetes. Even 20 of the 60 GRC postings named AWS. A candidate in any specialty should be able to say how their work changes when the systems in question run in a cloud account rather than a server room.

Certifications matter less to the interview than to the screen. The CISSP appeared in 100 of the 600 postings (16.7%), concentrated in GRC (26 of 60) and architecture (17 of 60); the OSCP in 47, 22 of them in offensive roles; CompTIA Security+ in only 22. A certification helps a résumé past the first filter, and the certifications page counts which ones every open posting names, but no interviewer asks you to recite a domain from an exam outline. They ask you to do the work the certificate claims you can do.

One more figure shapes the newest interview questions. Work on the security of AI systems themselves (prompt injection, agent permissions, model and data protection) was named in 85 of the 600 postings (14%), led by application security (15 of 60) and penetration testing (13 of 60). If a posting mentions AI products, prepare one of the AI questions in sections 5, 6 and 11. The board's AI security roles page tracks that corner of the field on its own.

3. The fundamentals every loop checks

Whatever the specialty, the technical screen usually opens with a few questions that test whether your foundations are solid. They are not trivia. Each one is a quick way for the interviewer to see whether you understand the systems you would be defending, and a shaky answer here colours everything after it.

What happens, step by step, when you open a website?

This is the oldest question in technical interviewing and it survives because it can go as deep as the interviewer likes. A strong answer moves in order and says, at each step, what a defender could see or attack.

What a strong answer covers. Name resolution (the browser's cache, the operating system's resolver, a recursive DNS server, the authoritative server), the TCP connection, the TLS handshake with certificate validation, the HTTP request and response, and the rendering that may trigger further requests. Then the security angle at each step: DNS can be spoofed or used for data exfiltration, a certificate can be invalid or issued for the wrong name, a proxy sees the destination even when it cannot see the content, and cookies carry the session that an attacker would want to steal.

"The browser first needs an IP address, so it checks its own cache and then asks the operating system, which asks a recursive resolver, often the company's or the ISP's, and that resolver walks down from the root servers to the domain's authoritative servers. Once it has an address, the browser opens a TCP connection to port 443 and starts a TLS handshake: the server presents a certificate, the browser checks that it chains to a trusted authority and matches the hostname, and both sides agree on session keys. Only then does the HTTP request go out, carrying any cookies for that site. From a security point of view, DNS logs show me what a machine tried to reach even when the traffic itself is encrypted, the certificate check is what stops an interception, and the cookie is the thing an attacker wants, because whoever holds a valid session cookie usually doesn't need the password."

What is the difference between encoding, hashing and encryption?

Interviewers ask this because candidates confuse the three surprisingly often, and the confusion leads to real mistakes, such as treating Base64 as protection or storing passwords with a fast hash.

"Encoding changes the representation of data so it survives transport, and anyone can reverse it without a key. Base64 is the usual example, and it's why an encoded PowerShell command in an alert is obfuscation, not secrecy. Hashing is one-way: it turns any input into a fixed-length digest, so it's used to check integrity and to store passwords, and for passwords you want a deliberately slow, salted algorithm such as bcrypt, scrypt or Argon2 so that a stolen database is expensive to crack. Encryption is reversible, but only with the key, so it protects confidentiality. Symmetric encryption uses one shared key and is fast; asymmetric uses a key pair, and in practice it's used to agree on or protect a symmetric key, which is what TLS does."

How does authentication differ from authorization?

Authentication establishes who someone is; authorization decides what that identity may do. The question matters because a large share of real vulnerabilities live in the gap: a user who is properly signed in but can reach someone else's data. The top entry in the 2025 edition of the OWASP Top 10 is broken access control, an authorization failure - OWASP Top 10:2025. Say that, and give one concrete example from your own experience if you have one.

How would you explain a security risk to someone without a technical background?

Almost every loop asks a version of this, sometimes disguised as "explain phishing-resistant MFA to our finance director". A strong answer drops jargon, starts from what the listener cares about (money, customers, deadlines, legal exposure), states the risk as a likely event and its consequence, and ends with a decision the listener can make. Practise this one aloud, because it is easy to know the content and still deliver it badly.

4. SOC analyst and incident response interview questions

Security operations interviews are the most standardized in the field, because the job itself is. Right now 309 security operations and incident response roles are open on the board, and the 60 sampled postings were remarkably consistent about what they want. Incident response appeared in 45 of them (75%) and a SIEM in 36 (60%). Forensics came up in 28 (47%), endpoint detection and response tools in 26 (43%), playbooks or runbooks in 25 (42%), and detection rules or detection engineering in another 25. Threat hunting featured in 23 (38%), Python in 22 (37%) and MITRE ATT&CK in 19 (32%). Further down, SOAR platforms appeared in 15, Splunk by name in 12, and a query language (KQL or SPL) in 7. GIAC certifications were named in 21, more than any other certification family, while Security+ appeared in only 6.

What SOC and incident response postings name
Share of 60 sampled security operations postings naming each item, 11 November 2026

Read together, those counts predict the loop: a triage walk-through built on SIEM and EDR evidence, an incident scenario, a question about frameworks and detections, and some scripting. Here are the questions that carry most of the weight.

How would you handle an impossible-travel alert?

The interviewer gives you one alert, often "user signed in from Chicago and, forty minutes later, from another continent", and then answers your questions with what each search would return. The score rests on sequence: you establish that the activity is genuine, then how widely it spread, then how serious it is, and you contain last.

What a strong answer covers. The common benign explanations (VPN exit nodes, cloud proxies, mobile carrier gateways), the evidence that distinguishes them from an intrusion (IP reputation and network owner, device identity, whether MFA was satisfied, whether the session was a reused token), what an attacker typically does next in a hijacked account, the containment steps, and the record you leave behind.

"First I'd check whether the alert is even physically meaningful. These rules key on IP geolocation, and a VPN exit, a cloud proxy or a phone carrier's gateway can put one person in two countries at once. So I'd pull the user's sign-in history from the identity provider for the last day or two: each IP and who owns the network, the device ID and user agent, whether MFA was completed, and whether the second sign-in was interactive or a token being replayed. If the far location is our VPN provider, I note it and suggest excluding that range from the rule. If it's a hosting provider or a residential address we've never seen, on a new device, the question becomes what that session did. I'd look for new inbox forwarding rules, new MFA methods, consent granted to unfamiliar apps and unusual downloads. Any of those and I treat the account as compromised: revoke its sessions, reset the password, remove the rogue MFA method, and search for other accounts touched from the same address, then hand the incident lead a short timeline. If it's clean, I close it with the evidence written into the ticket so nobody repeats the work."

An EDR alert shows Word starting PowerShell with an encoded command. What do you do?

This is the most common endpoint scenario in analyst interviews because it rewards knowing what normal looks like: Word has no ordinary reason to launch a shell.

What a strong answer covers. The process tree and full command line, decoding the payload, the network activity that followed, scoping across the fleet and the mailbox, containment with evidence preserved, and naming the behavior so you know what to hunt next. Two details lift an answer. PowerShell's -EncodedCommand parameter takes Base64 of a UTF-16LE string - Microsoft Learn, so a naive decode shows a null byte between every character. And if you are relying on Windows' own process-creation event, 4688, its command-line field stays empty unless a group policy setting turns it on - Microsoft Learn, which is why EDR telemetry is usually the better source.

"Word spawning a hidden PowerShell window with an encoded command is the classic shape of a malicious document, so I'd treat it as likely malicious until shown otherwise. I'd open the process tree in the EDR, read the full command line and decode the payload as UTF-16 Base64. Very often it's a download cradle, so I'd note the domain or IP it calls and check the network connections and any files or child processes that came after. Then scope: search the EDR and SIEM for the same parent and child pair and the same command line across every host, and use the mail logs to find everyone who received the message carrying that attachment. If the payload ran, I isolate the host through the EDR once we've captured what our playbook says to keep, block the domain and the file hash, pull the message from every mailbox, and reset the user's credentials if anything touched them. In ATT&CK terms it's a spearphishing attachment leading to PowerShell execution, so my next hunt is for persistence: run keys, scheduled tasks and new services on that host."

The two techniques named there are catalogued as Phishing: Spearphishing Attachment - MITRE ATT&CK and PowerShell under Command and Scripting Interpreter - MITRE ATT&CK, and quoting the IDs is a small signal that you use the framework rather than just mention it.

Write a query that finds password spraying

A search question appears in most SOC loops, either written on a shared screen or talked through. You will not be marked down for a missing comma; you will be marked on whether the logic matches the attack. Password spraying is the reverse of brute force: one source tries a few common passwords against many accounts, which keeps each account under its lockout threshold.

"Spraying shows up as one source touching many accounts with few attempts each, so I'd group by source and count distinct accounts rather than counting failures per account. In Microsoft Sentinel against Entra ID sign-ins, that's something like this."

SigninLogs
| where TimeGenerated > ago(1d)
| summarize Attempts = count(),
            Accounts = dcount(UserPrincipalName),
            Successes = countif(ResultType == "0")
            by IPAddress
| where Accounts >= 20 and Attempts < Accounts * 3
| order by Accounts desc

"The thresholds are a starting point to tune against our own baseline. Successes matter most: a spraying source with even one success is an incident, not a tuning exercise. I'd also expect sprays to rotate through many addresses, so a second version would group by user agent or by time window instead of by IP."

The columns are real: in the SigninLogs table, ResultType is a string in which 0 indicates success and other values are failures - Microsoft Learn. If the team runs Splunk on Windows logs instead, the same idea counts distinct users per source over failed logons (event 4625), for example index=wineventlog EventCode=4625 | stats count AS attempts dc(user) AS accounts BY src | where accounts >= 20, with field names that depend on how the logs are mapped to Splunk's Common Information Model. Saying that last part out loud is worth doing: it shows you know a query is only as good as the parsing under it.

What is the difference between a false positive and a benign true positive?

A false positive is a detection that fired on something that does not match what the rule was meant to catch. A benign true positive is a detection that fired correctly on real behavior that turned out to be authorized, such as an administrator running a remote management tool that the rule exists to catch in attackers' hands. The distinction matters because the fixes differ: a false positive calls for a better rule, while a benign true positive calls for an exception scoped as narrowly as possible (that admin, that host, that tool) or a change in how the business does the task. Interviewers use this question to see whether you would tune a noisy detection by deleting it.

How do you use MITRE ATT&CK in your work?

A weak answer defines the framework. A strong one says what you do with it. ATT&CK catalogs adversary behavior as tactics (the goal of a step) and techniques (how the step is done), and as of 11 November 2026 its Enterprise matrix lists 15 tactics, from Reconnaissance through Impact; the tactic long known as Defense Evasion (TA0005) now appears as Stealth, beside a new Defense Impairment tactic - MITRE ATT&CK. Knowing that change marks you as someone who reads the source rather than an old cheat sheet.

"I use it in three places. Every detection we write is tagged with the technique it covers, so we can see coverage and gaps instead of guessing. During an incident I map what we've seen to techniques, which tells me what usually comes next and what to hunt for. And when a threat report lands, I compare the techniques that group uses with our coverage. The caution is that a technique isn't binary: one rule for 'PowerShell' doesn't catch every way PowerShell gets abused, so coverage maps can flatter you."

A good follow-up point is why behavior-based detections outlast indicator-based ones. David Bianco's Pyramid of Pain ranks indicators from hash values at the bottom through IP addresses, domains, host and network artifacts and tools up to tactics, techniques and procedures at the top, on the argument that denying an attacker a behavior costs them far more than denying a hash they can change in seconds - Enterprise Detection & Response.

Walk me through the first hour of a ransomware incident

This is the scenario round, and the interviewer will add facts as you go: the backups look affected, the CFO wants an answer, a journalist has called. NIST's incident response guidance was revised in April 2025; the new revision maps the older four-phase cycle (preparation; detection and analysis; containment, eradication and recovery; post-incident activity) onto the six functions of the Cybersecurity Framework 2.0, and says organizations should use whichever life cycle model suits them best - NIST SP 800-61 Rev. 3. Either vocabulary is fine in the room. What matters is the order and the trade-offs.

"The first decision is about spread, not about the ransom note. I'd establish scope quickly from EDR telemetry and file-server logs: which hosts show encrypted files or the note, which accounts the encryption runs as, which shares are involved. Containment is aggressive at this stage: isolate the affected hosts, disable those accounts, and if it's spreading over file shares from one source, cut that segment off. Before wiping anything, I preserve evidence: the EDR timeline, a memory capture from one affected machine if we can get it, and logs that might roll over. In parallel I'd protect the backups, because ransomware crews go after them: confirm they're offline or immutable and check whether the backup admin accounts were used. Then communication: the incident commander gets a written update with what we know, what we don't and when the next update comes, and legal hears early because notification deadlines may already be running. Eradication and restore wait until we know how they got in, otherwise we restore into the same hole."

How would you turn a threat report into detections?

This is the staple of threat intelligence and detection engineering loops, and the sample shows why: of the 60 threat intelligence postings, 40 named Python (67%), 28 named detection content (47%), 23 named malware analysis or reverse engineering (38%), 20 named threat hunting (33%), and 18 each named ATT&CK and SQL (30%).

What a strong answer covers. Separating short-lived indicators (hashes, IPs, domains) from durable behaviors; checking the indicators against historical logs first, in case the activity already happened; writing behavior-based detections, in a shareable format such as Sigma where the team uses one; testing each rule against both attack data and a week of normal activity to estimate its noise; and writing the result up so a non-specialist reader knows whether the organization is exposed.

Every SOC loop ends somewhere near pay and seniority. The SOC analyst salary page shows what open postings state by level, the security operations roles page gathers the open seats with what each one asks, the security operations career guide describes the daily work, and the practice tool's SOC triage round and incident scenario let you rehearse both kinds of question aloud.

5. Penetration tester and red team interview questions

Offensive security is a small specialty ( 93 open roles as you read this), and its interviews are among the most practical. In the 60 sampled postings, penetration testing appeared in 41 (68%), Python in 34 (57%) and red teaming in 32 (53%). Linux came up in 24 (40%), the OSCP in 22 (37%), and Burp Suite and malware analysis or reverse engineering in 16 each (27%). Command-and-control or exploitation frameworks such as Metasploit, Cobalt Strike, Sliver or Mythic were named in 13 (22%), as was a security clearance. Thirteen (22%) named AI security work, such as testing language-model features for prompt injection. Cloud platforms appeared in 21, a reminder that many tests now end in a cloud account rather than a domain controller.

Expect a methodology question, one or two attack-path deep dives, a question about proving impact responsibly, and a report-writing question. Many offensive loops also include a practical: a lab, a capture-the-flag style box or a take-home test against a deliberately vulnerable application.

Walk me through how you run a penetration test

The interviewer wants to hear that the engagement starts long before the first scan. NIST's long-standing guide to technical security testing, published in 2008, frames the job as planning and conducting tests, analyzing findings and developing mitigation strategies - NIST SP 800-115, and the planning half is where many candidates are thin.

"Before I touch anything I want the scope in writing and the rules of engagement agreed: which addresses and applications are in, what's explicitly out, testing hours, whether denial of service or social engineering is allowed, how sensitive data I come across is handled, who I call in an emergency, and what happens if I find signs that someone else is already inside. Then reconnaissance, passive first and then active, followed by enumeration of services and users and identification of likely weaknesses. Exploitation stays inside scope and aims at demonstrating impact, not at collecting shells: what data or access would a real attacker reach from here? Post-exploitation is about that path. At the end I clean up every account, file and implant I created, and write a report for two readers: an executive summary that says what the risk means for the business, and technical findings precise enough that an engineer can reproduce and fix each one."

Explain Kerberoasting, and how a defender detects it

Active Directory attack paths remain a staple of internal tests, and this is the one most interviewers pick because it explains so much about Kerberos in one story.

"Any authenticated domain user can ask a domain controller for a service ticket for any account that has a service principal name registered. Part of that ticket is encrypted with a key derived from the service account's password, and when RC4 is in use that key is effectively the account's password hash. So an attacker requests the tickets and cracks them offline, without ever touching the service account again, and service accounts often have weak, old passwords and too much privilege. Defenders look at Kerberos service ticket requests, event 4769, especially those using RC4, encryption type 0x17, and at one account asking for many tickets in a short time. The fixes are AES-only encryption where possible, long random passwords for service accounts, which group managed service accounts handle automatically, and least privilege so a cracked account is worth less."

Every element there matches the technique's entry, including the detection guidance on event 4769 with RC4 encryption and the mitigation of 25-character-plus service account passwords - MITRE ATT&CK. If you have run the attack in a lab, say which tool you used and what you saw on the defender's side; testers who can describe their own footprint are prized by red teams.

You find SQL injection in a client's login form. How do you prove impact?

This question is about restraint. The interviewer wants to know whether you can show a finding is serious without causing the harm you are warning about.

"I'd confirm it with the least intrusive test that proves control, a boolean condition that changes the response or a short time delay, rather than dumping tables. To demonstrate impact I'd read something harmless that proves I can query the database, such as its version or the account the application connects as, and stop there. If the injection clearly reaches data the rules of engagement say to report at once, customer records for example, I contact the client during the test instead of saving it for the report. The finding gets exact reproduction steps, the vulnerable parameter, the impact in business terms, and the fix: parameterized queries, plus a database account with only the rights the application needs, so the next injection exposes less."

How would SSRF in a cloud application lead to stolen credentials?

Server-side request forgery lets an attacker make the server send requests on their behalf, and on a cloud instance the most valuable target is the instance metadata service, which hands out the temporary credentials of the role attached to the machine. With the original version of the AWS service, a single GET request to the metadata address returns them. The newer version, IMDSv2, requires a session token obtained with a PUT request, rejects PUT requests that carry an X-Forwarded-For header, and by default limits the token response to one network hop - AWS documentation. Most SSRF flaws can only issue simple GET requests, which is why enforcing IMDSv2 closes the common path. Section 7 returns to this from the defender's side.

What separates a penetration test, a red team exercise and a vulnerability scan?

A vulnerability scan is automated and broad: it lists known weaknesses without proving any. A penetration test is a time-boxed, scoped attempt to find and exploit as many weaknesses as possible in a defined target, and the defenders usually know it is happening. A red team exercise pursues a specific objective (reach the payment system, read the CEO's mail) as stealthily as a real adversary would, and it tests detection and response as much as prevention. Mention purple teaming, where attackers and defenders work side by side to tune detections, if the posting mentions it; several sampled postings did.

How do you rate the severity of a finding?

A finding's severity combines how bad the flaw is with how likely it is to be used against this client. CVSS version 4.0 scores the flaw itself in its Base metrics and lets the score be refined with Threat and Environmental metrics, plus Supplemental metrics that add context without changing the number; FIRST's own summary of the version stresses that CVSS is not just the Base score - FIRST. Real-world exploitation is the other input: CISA's Known Exploited Vulnerabilities catalog, which listed 1,779 entries when we checked it on 11 November 2026, is meant to feed organizations' own prioritization - CISA. A strong answer says you would rate a medium-scored flaw as urgent if it is internet-facing and on that list, and explains why in the report.

How would you test an AI feature?

With 13 of the 60 offensive postings naming AI security work, this question is now common. Describe testing for prompt injection both directly (the user's own input) and indirectly (instructions hidden in a web page, document or email the model reads), checking what tools and data the model can reach and whether injected instructions can make it use them, looking for leakage of system prompts or other users' data, and testing whether text the model generates is passed unsafely into something that executes, such as a browser or a database query.

To set the offer against the market, the penetration tester salary page breaks open postings down by seniority and employer type, the offensive security roles page collects the current openings, and the offensive security guide covers the route most testers take. The practice tool's technical round for offensive roles asks attack-path questions and follows your answers.

6. Application security interview questions

Application security interviews are, at heart, software engineering interviews with an adversary in the room. Of the 60 sampled postings, 42 named Python (70%) and 36 named threat modeling (60%), the two clearest signals of any specialty. OWASP appeared in 24 (40%), static or dynamic testing tools in 23 (38%) and code review in another 23. Supply chain security or software bills of materials featured in 22 (37%), Kubernetes in 21 (35%), Go and penetration testing in 20 each (33%), and bug bounty programs in 18 (30%). Fifteen (25%) named AI security work, from securing AI features to testing them. Burp Suite and the OSCP appeared in 9 each. 210 application security roles are open now.

That profile predicts a code review exercise and a threat modeling exercise in nearly every loop, plus questions about tooling in the build pipeline and about persuading developers.

What is wrong with this endpoint?

The interviewer shares a short function and asks what is wrong with it. Broken access control is the most likely planted flaw, since it tops the 2025 OWASP Top 10 - OWASP Top 10:2025. A typical example, in Python with Flask:

@app.get("/api/invoices/<int:invoice_id>")
@login_required
def get_invoice(invoice_id):
    invoice = Invoice.query.get_or_404(invoice_id)
    return jsonify(invoice.to_dict())

"The route checks that someone is signed in but never checks that the invoice belongs to them, so any customer can read any other customer's invoice by changing the number in the URL. That's an insecure direct object reference, a form of broken access control. The fix is to scope the lookup to the caller's account, something like Invoice.query.filter_by(id=invoice_id, account_id=current_user.account_id).first_or_404(), and returning a 404 rather than a 403 so the response doesn't confirm that another customer's invoice exists. I'd also ask whether this check is repeated by hand in every route, because then the next route will forget it; better to enforce ownership in one shared layer and add a test that requests another account's object and expects a 404."

Threat model a password reset flow

Threat modeling questions test structured thinking. Microsoft's STRIDE model, from its Security Development Lifecycle, sorts threats into spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege - Microsoft Learn. You do not have to use STRIDE, but you do need some structure, and you need to start by drawing the flow and its trust boundaries before naming threats.

"I'd sketch the flow first: the user asks for a reset, the server emails a link with a token, the user follows it and sets a new password. Then I'd walk the categories. Spoofing: can someone guess or reuse a token? So tokens must be long and random, single-use, short-lived, and stored hashed. Tampering: is the account the token resets decided on the server, never by a parameter the user can change? Repudiation: are resets logged with time and source, and is the user notified? Information disclosure: does the form say 'no such account', which lets attackers enumerate users, and is the reset link built from the request's Host header, which could be poisoned to send tokens to an attacker's domain? Denial of service: can someone flood a user with reset mails, so we need rate limits. Elevation of privilege: can an admin account be reset without its second factor, and are existing sessions killed after a reset? Each threat ends with an owner and a fix, or an explicit decision to accept it."

How do you prevent SQL injection and cross-site scripting?

Both are injection problems, and both have structural fixes rather than filtering fixes. For SQL injection: parameterized queries or an ORM used safely, never string concatenation, plus a least-privileged database account. For cross-site scripting: output encoding appropriate to the context the data lands in (HTML body, attribute, JavaScript, URL), a templating engine that escapes by default, care with the few places that deliberately render raw HTML, and a Content Security Policy as a second line. Mention HttpOnly cookies, which keep a successful script from reading the session cookie, as damage limitation rather than a fix.

Where do SAST, DAST and dependency scanning belong in a pipeline?

Static analysis reads source code and fits early, in pull requests, where developers can fix findings while the code is fresh. Dynamic testing exercises a running application and fits in a staging environment or a scheduled scan. Software composition analysis checks dependencies against known vulnerabilities and belongs on every build, because a dependency can become vulnerable without any change to your code; software supply chain failures sit third in the 2025 OWASP Top 10 - OWASP Top 10:2025. The question underneath is about noise: explain how you would tune rules, suppress with justification, and block a merge only on high-confidence, high-impact findings so developers do not learn to ignore the tool. If you want a requirements baseline to cite, the OWASP Application Security Verification Standard reached version 5.0.0 on 30 May 2025 - OWASP ASVS.

How do you get developers to fix what you find?

This is a behavioral question wearing a technical coat, and it is decisive for application security, where the security team rarely owns the code. Strong answers include fixing it yourself in a pull request when the fix is small, writing findings as reproducible tickets in the team's own tracker, explaining exploitability rather than citing a scanner's severity, agreeing service-level targets by severity in advance, and building paved roads (a safe default library or template) so the next team never writes the bug. If you have handled a bug bounty report, describe how you validated it and how you paid it; 18 of the sampled postings mentioned bug bounty work.

How would you secure an LLM feature in our product?

Treat everything the model reads from outside the conversation (a web page, an uploaded file, an email) as untrusted input that may contain instructions. Give the model's tools only the permissions the feature needs, keep secrets out of its context, require human confirmation for actions with side effects, validate whatever the model generates before it reaches anything that executes (HTML, SQL, a shell), and log tool calls so misuse is visible. Admitting that no filter fully prevents prompt injection, and designing so that a successful injection can do little, is the mature answer.

The application security engineer salary page and the application security guide give the pay and career context, and the practice tool's technical round for AppSec runs code and design questions.

7. Cloud security engineer interview questions

Cloud security postings were the most consistent in the sample about platforms. Of 60, 45 named at least one major cloud (75%): AWS in 44 (73%), Google Cloud in 34 (57%) and Azure in 28 (47%). Kubernetes appeared in 40 (67%) and containers more broadly in 36 (60%). Python came up in 33 (55%), Terraform or infrastructure as code in 32 (53%), cloud identity and access management in 23 (38%), and cloud security posture or application protection platforms in 15 (25%). Incident response appeared in 19 (32%), zero trust and threat modeling in 13 each. The board lists 76 open cloud security roles right now.

What cloud security postings name
Share of 60 sampled cloud security postings naming each item, 11 November 2026

Expect questions on the shared responsibility model, on identity policy logic, an incident involving leaked credentials, Kubernetes hardening and guardrails written as code. Because AWS dominates the sample, most interviewers will use its vocabulary, but say how the idea maps to the other clouds when you know.

What is the shared responsibility model?

AWS describes its side as protecting the infrastructure that runs its services and the customer's side as everything the customer configures and puts into those services, with the customer's share depending on the service: on a virtual machine the customer patches the guest operating system and sets the firewall rules, while on a managed storage service the customer manages the data, its encryption and the permissions on it - AWS. A strong answer adds the practical consequence: nearly every cloud breach you have read about happened on the customer's side of the line, through identity, configuration or exposed secrets, which is why the rest of the interview is about those.

My role's policy allows the action, but the call is denied. Why?

This is the question that separates people who have operated cloud accounts from people who have read about them.

"AWS starts from an implicit deny, and an explicit deny anywhere beats any allow, so first I'd look for an explicit deny: in the role's own policies, in a resource policy such as the bucket policy, or in the organization's service control policies. Then I'd check the layers that work as intersections rather than additions. If the account sits in an organization, the action has to be allowed by the identity policy and by the SCPs and resource control policies that apply; a permissions boundary on the role narrows it again, and so does a session policy if the role was assumed with one. Within a single account an allow in either the identity policy or the resource policy is enough, but cross-account access needs both sides to allow it. And for S3 specifically, if the object is encrypted with a customer-managed KMS key, the key policy has to let the role decrypt, which is a very common surprise."

Those evaluation rules are AWS's own: identity and resource policies combine as a union within an account, while permissions boundaries, SCPs and RCPs combine as intersections, and an explicit deny in any of them overrides an allow - AWS IAM documentation.

An access key was pushed to a public repository. Walk me through your response

This is the cloud version of the incident round, and it is popular because it tests speed, logging knowledge and an understanding of how attackers persist in cloud accounts.

"Speed first, because public repositories are scraped within minutes. I'd find which user the key belongs to and deactivate it at once; deleting can wait. Then I'd search CloudTrail for every call made with that access key ID, from the moment it was pushed, and look for persistence before anything else: new IAM users, new access keys, login profiles, policies attached, roles whose trust policy changed, and compute launched in regions we never use, which is often cryptocurrency mining. Temporary credentials the attacker may already have minted with it stay valid until they expire, so I'd also attach a deny-all policy to that user until we're done. If the key could read S3, I'd check whether we were logging data events, because without them object reads leave no trail and we may have to assume the data was read. After containment, rotate anything the key could reach, and fix the cause: a pre-commit secret scanner, and replacing long-lived keys with roles and short-lived credentials so there's nothing to leak next time."

The deny-all step is the one candidates most often miss. AWS states that temporary security credentials remain valid until they expire, and that stopping compromised ones means changing the permissions of the user or role behind them, since those permissions are evaluated on every request - AWS IAM documentation.

How do you secure the instance metadata service?

Require IMDSv2 on every instance, set it as the account default for new launches, and keep the response hop limit at its default of one unless a container workload truly needs more, as described in section 5. Then reduce the prize: give instance roles only the permissions their workload needs, so that stolen credentials open little.

How would you harden a Kubernetes cluster?

Kubernetes appeared in two-thirds of the cloud postings, so expect depth here. A strong answer works through identity and access (role-based access control with no casual cluster-admin bindings, service account tokens mounted only where a pod needs them), workload isolation (the Pod Security Standards' Restricted profile where possible, Baseline at minimum), network policy that denies by default, secrets encrypted at rest or held in an external manager, images from trusted registries with scanning and ideally signature checks at admission, and audit logging shipped somewhere an attacker in the cluster cannot erase it. The Kubernetes project defines the three profiles itself: Privileged is unrestricted and allows known privilege escalations, Baseline prevents known privilege escalations while allowing the default pod configuration, and Restricted follows current pod hardening best practice - Kubernetes documentation.

How do you build guardrails without slowing engineers down?

The best answers distinguish preventive controls (an SCP that forbids disabling logging, a policy-as-code check that blocks a public bucket in a Terraform plan) from detective ones (a posture management tool that flags drift after the fact), and explain where each belongs. Preventive guardrails suit the few things that must never happen; detective ones suit everything else, with alerts routed to the owning team. Mention exceptions with expiry dates and an owner, because every guardrail eventually meets a legitimate need it did not anticipate.

How would you prioritize 3,000 posture findings?

Posture tools produce long lists. A strong answer prioritizes by combination rather than by individual severity: a workload that is reachable from the internet, runs a known-exploited vulnerability and holds a role with broad data access is one urgent problem, even if each finding alone was rated medium. Then fix classes rather than instances, by changing the template or module that produced 400 identical findings.

The cloud security engineer salary page and the cloud security guide cover pay and the work itself, and the practice tool's incident scenario for cloud roles runs a leaked-credential case like the one above.

8. Identity and access management interview questions

Identity postings asked for more experience than most: a median of 7 years among the 41 that stated a figure. IAM itself was named in 48 of 60 (80%) and federation protocols (SAML, OIDC or OAuth) in 39 (65%). Python and AWS each appeared in 28 (47%), privileged access management and Terraform in 24 each (40%), Okta in 23 (38%), single sign-on in 22, MFA in 20 (33%), and zero trust and secrets management in 18 each (30%). Active Directory appeared in 16 (27%), Microsoft Entra ID in 17 (28%), and on-call duties in 17. Kerberos by name appeared in only 2, so the depth on Windows authentication varies a great deal by employer. 111 identity and access roles are open as you read.

Identity interviews mix protocol knowledge, lifecycle design and a good deal of automation, since modern IAM teams provision through code and APIs rather than consoles.

Explain SAML, OAuth 2.0 and OpenID Connect

Almost every IAM loop asks this, and many candidates blur the three.

"OAuth 2.0 is an authorization framework: it lets an application get an access token to call an API on a user's behalf, without ever seeing the user's password. It doesn't, by itself, tell the application who the user is. OpenID Connect is an identity layer on top of OAuth that adds exactly that: an ID token, a signed JSON Web Token describing the user and how they authenticated. SAML is the older, XML-based standard for single sign-on, where the identity provider sends the application a signed assertion through the browser, and it's still everywhere in enterprise apps. For new work I'd use OIDC with the authorization code flow and PKCE. The current OAuth security best practice says public clients must use PKCE, clients should not use the implicit grant, and the resource owner password credentials grant must not be used at all."

The last sentence is RFC 9700, the OAuth 2.0 security best current practice published in January 2025 - RFC Editor. Citing it in an interview shows you keep up with how the protocols are meant to be used, not just how they once were.

Design joiner, mover and leaver processes for a 5,000-person company

What a strong answer covers. The HR system as the source of truth, so identities are created, changed and disabled from employment events rather than tickets; automated provisioning into applications through SCIM or the application's API; birthright access by role and location, with everything else requested and approved; movers losing old access when they gain new, which is the step most organizations get wrong and the reason access accumulates; leavers disabled at the moment of departure, including active sessions and tokens, not only the password; and periodic access reviews as a backstop rather than the main control.

"I'd start from the HR system, because every access decision should hang off an employment event, not off someone remembering to file a ticket. A hire creates the identity and grants birthright groups based on department and location, provisioned into apps through SCIM wherever the app supports it. A transfer is the dangerous one: the new role's access gets added, and the old role's access gets removed on a short delay so handover can happen, rather than lingering forever. A departure disables the account at the identity provider at the end of the last day, kills active sessions and refresh tokens, and triggers deprovisioning in each app, with a report of apps that couldn't be reached automatically so someone handles them by hand. Then I'd measure it: time from termination to full removal, and the number of accounts in apps that don't match a current employee."

How would you stop MFA fatigue attacks?

Push-notification fatigue (an attacker with a stolen password triggers prompts until the user approves one) is the classic question, and the strong answer moves past "use number matching" to phishing resistance. NIST finalized the current revision of its authentication guidelines in July 2025 - NIST CSRC. It requires verifiers to offer at least one phishing-resistant option at its middle assurance level, says federal agencies shall require phishing-resistant authentication for their staff, and does not count authenticators that require typing in a code as phishing-resistant - NIST SP 800-63B-4. In practice that means FIDO2 security keys or passkeys bound to the site's origin. Add the rollout plan: start with administrators and finance, keep a recovery path that is not weaker than the authenticator, and monitor for new MFA method registrations, which attackers use to persist.

The same document is useful for the password question that follows: it requires single-factor passwords of at least 15 characters, forbids composition rules and forbids forcing periodic password changes, while requiring a change when there is evidence of compromise - NIST SP 800-63B-4. Many policies still contradict this, and interviewers like candidates who know it.

How would you design privileged access?

Talk about standing privilege as the problem: an administrator account that holds rights around the clock is a target around the clock. Strong answers cover separate admin identities, just-in-time elevation with approval and expiry, credential vaulting with rotation for shared and service credentials, session recording for the most sensitive systems, and break-glass accounts that are monitored and tested. Tie it to the 24 sampled postings that named privileged access.

How do you manage non-human identities?

Service accounts, API keys, workload identities and now AI agents outnumber people in most environments. The answer should cover an inventory with an owner for each, short-lived credentials through workload identity federation instead of static keys where the platform allows, secrets held in a manager rather than in code or environment files, rotation, and alerts when a machine identity behaves like a person (signs in interactively, from a new place). Eighteen of the sampled identity postings named secrets management.

How would you make access reviews meaningful?

Most reviewers approve everything, which interviewers know. Good answers narrow the review to what matters (privileged and sensitive access, access unused for 90 days, access granted outside the normal process), show the reviewer usage data rather than a bare list, revoke by default when a reviewer does not respond, and measure how much access each campaign actually removed.

The IAM engineer salary page, the identity and access roles page and the identity and access guide give the market, the openings and the daily work, and the practice tool's technical round for identity roles covers protocol and token questions.

9. GRC analyst interview questions

Governance, risk and compliance interviews are often underestimated by technical candidates and over-prepared on vocabulary by everyone else. In the sample, 46 of 60 GRC postings (77%) named at least one framework. ISO 27001 appeared in 39 (65%), SOC 2 in 35 (58%), NIST in 23 (38%), FedRAMP in 14 (23%), PCI and GDPR in 13 each and HIPAA in 12. Audit work appeared in 41 (68%), risk assessment in 18 (30%) and third-party or vendor risk in 9. Certifications were named more in GRC than anywhere else: the CISSP in 26 (43%), the CISA in 21 (35%), the CISM in 17 (28%) and the CRISC in 10. The technical edge is real, too: 20 postings (33%) named AWS and 15 (25%) named Python. 215 GRC roles are open right now.

What GRC postings name
Share of 60 sampled governance, risk and compliance postings naming each item, 11 November 2026

GRC loops usually include a risk assessment exercise, framework questions with practical follow-ups, an audit scenario and a stakeholder question. Some add a writing sample: a policy section or a response to a customer's security questionnaire.

How do you run a risk assessment from start to finish?

NIST's guide to conducting risk assessments, revised in 2012 and still the most cited reference, frames the purpose as giving senior leaders the information they need to decide how to respond to risk - NIST SP 800-30 Rev. 1. Keep that purpose in view: an assessment that does not end in a decision is a document, not a control.

"Say a product team wants to put customer files into a new collaboration tool. I'd start by pinning down what we're protecting and why it matters: which data, how sensitive, under which contracts or regulations. Then the threats and weaknesses that are realistic for this case: account takeover, misconfigured sharing, the vendor's own security, data left behind when we leave. For each, I estimate likelihood and impact on a scale the business already uses, first without our controls and then with them, which gives inherent and residual risk. The treatment options are to reduce it with controls such as SSO, sharing restrictions and a data processing agreement, transfer part of it, avoid it by choosing another tool, or accept it, and acceptance needs a named business owner and a review date. It all goes into the risk register so the decision can be found and revisited, not lost in an email thread."

SOC 2 or ISO 27001: how do the two differ?

ISO 27001 is a certifiable standard for an information security management system; its 2022 edition streamlined Annex A to 93 controls in four themes (37 organizational, 8 people, 14 physical and 34 technological), down from 114 controls in 14 domains in the 2013 edition - Scrut. An organization chooses which controls apply in its Statement of Applicability and is certified by an accredited body. SOC 2 is not a certification but an attestation report from a CPA firm on controls relevant to security, availability, processing integrity, confidentiality or privacy, the categories named in the AICPA's own material - AICPA & CIMA. A Type 1 report attests that controls are suitably designed and implemented at a point in time, while a Type 2 report covers a period and attests to their operating effectiveness - KirkpatrickPrice.

"In short, ISO 27001 certifies that we run a management system for security and gives us a certificate; SOC 2 is an auditor's report on whether our controls work, which customers, mostly in North America, ask to read. A Type 2 is what most enterprise buyers want, because it shows the controls operating over months, not just designed on paper. In practice I'd run both off one control set, so the same evidence serves both audits."

How do you map one control to several frameworks?

This is where GRC becomes efficient or miserable. The answer: build one internal control set, written in your organization's own terms ("all production access requires SSO with MFA"), map each internal control to the requirements it satisfies in each framework, and collect evidence once, ideally automatically from the systems themselves. Then a new framework becomes a mapping exercise and a gap list, not a new program.

An auditor found that a control failed. What do you do?

"First I'd understand the failure precisely: was the control badly designed, or designed well and not performed, and is this one exception or a pattern? I'd look at the auditor's sample and pull the rest of the population to see how widespread it is. Then root cause, because 'the quarterly access review was late' usually means the owner left or the process depends on one person. The remediation plan gets an owner and dates, and if the gap stays open for a while, I'd look for a compensating control that covers the same risk in the meantime. Management writes its response to the finding with the plan in it, and we re-test the control before the next audit period rather than hoping it holds."

How would you assess a new SaaS vendor?

Strong answers scale the review to the risk: what data the vendor will hold and what access it needs. For a vendor holding sensitive data, review its SOC 2 Type 2 report (including the exceptions and the controls it expects the customer to perform), ask about subprocessors and data location, check single sign-on and audit logging support, and agree contract terms on breach notification and data deletion. For a low-risk tool, a short questionnaire and SSO may be enough. Mention that a questionnaire answered "yes" to everything is a signal to dig, not a pass.

What changed in NIST CSF 2.0?

NIST published version 2.0 of its Cybersecurity Framework on 26 February 2024, adding a sixth function, Govern, to Identify, Protect, Detect, Respond and Recover; Govern covers how an organization makes and carries out decisions on cybersecurity strategy and treats cybersecurity as a source of enterprise risk for senior leaders - NIST. Interviewers ask this to see whether you followed the change, and the strong answer explains what Govern means in practice: risk appetite set by leadership, roles and accountability, policy, and oversight of suppliers.

The GRC analyst salary page and the GRC guide give the context, and the practice tool's technical round for GRC asks risk and audit questions in the shape above.

10. Security engineer interview questions

"Security engineer" is the largest and broadest kind of work on the board, with 619 open roles, and its postings are the least uniform. In the 60 sampled, Python appeared in 33 (55%), a cloud platform in 25 (42%), incident response and networking in 22 each (37%), and Kubernetes and Terraform in 18 each (30%). Go appeared in 16 (27%), threat modeling in 14, on-call duties in 13 (22%), a SIEM in 11 and endpoint detection tools in 10. Eleven named AI security work and 10 named a clearance.

Because the title covers detection engineers, infrastructure security engineers, corporate security engineers and more, the loop is usually built around whatever the team runs. Read the posting's responsibilities closely and prepare stories that match them. The questions below recur across most variants.

Automate something for us

Many engineering loops include a live or take-home coding task, and it is usually practical rather than algorithmic. A frequent one is an audit script.

"Here's how I'd list active AWS access keys older than 90 days, which are usually the ones nobody remembers creating."

import boto3
from datetime import datetime, timedelta, timezone

iam = boto3.client("iam")
cutoff = datetime.now(timezone.utc) - timedelta(days=90)

for page in iam.get_paginator("list_users").paginate():
    for user in page ["Users"]:
        keys = iam.list_access_keys(UserName=user ["UserName"]) ["AccessKeyMetadata"]
        for key in keys:
            if key ["Status"] == "Active" and key ["CreateDate"] < cutoff:
                print(user ["UserName"], key ["AccessKeyId"], key ["CreateDate"].date())

"It pages through every user, because the list call returns results in pages, and compares each key's creation date with a timezone-aware cutoff, since boto3 returns timezone-aware dates. The next things I'd add are last-used data from get_access_key_last_used, so we can tell an old key that's busy from one that's dead, output to CSV or a ticket instead of print, and running it across every account in the organization by assuming a read-only role in each."

Interviewers care less about the exact syntax than about the habits: pagination, time zones, read-only permissions, and thinking about where the output goes.

Design a logging and detection pipeline

What a strong answer covers. Which sources matter most (identity provider, endpoint telemetry, cloud control-plane logs, critical applications) and why, collection that survives a compromised host, normalization so that the same field means the same thing across sources, storage tiers by how often data is searched and how long it must be kept, detections written as code with version control, tests and review, and a feedback loop from analysts that retires or tunes noisy rules. Mention cost: logging everything at full retention is a budget conversation, and engineers who raise it unprompted sound experienced.

Roll out a control that engineers will hate

The scenario: require hardware keys for production access, or install an endpoint agent on every developer laptop. The interviewer wants a rollout plan, not a mandate. Strong answers start with the risk the control addresses and the evidence for it, pilot with a willing team, measure the friction (support tickets, build-time impact), publish an exception process, then enforce in stages with a clear date. Show that you would change the control if the pilot proved it broke something important.

Describe an on-call shift where production broke

On-call duties were named in 13 of the sampled engineering postings, and the question tests calm under pressure and honesty after it. Pick a real incident, say what you saw, what you did first and why, what you got wrong, and what changed afterwards. Blameless language about others and plain ownership of your own mistakes is the tone interviewers listen for.

How would you stop secrets from reaching source code?

Pre-commit and server-side scanning for secrets, a secrets manager that makes the right way easier than the wrong way, short-lived credentials so a leaked one expires, and a response playbook (revoke, rotate, review usage) for when prevention fails. Point out that deleting the commit does not remove a secret from history or from forks, so the secret must be treated as compromised the moment it was pushed.

The security engineer salary page and the security engineering guide describe the market and the variants of the job, and the technical round for engineering roles in the practice tool follows the shape above.

11. Security architect interview questions

Architecture postings in the sample asked for a median of 7 years of experience among the 45 that stated a figure, and they read more like leadership postings than engineering ones. Strategy or roadmap language appeared in 41 of 60 (68%) and stakeholders in 30 (50%). A named framework appeared in 24 (40%), a cloud platform in 23 (38%), NIST in 18 (30%), the CISSP in 17 (28%), zero trust in 14 (23%), and threat modeling and a SIEM in 12 each. Eleven named AI security. 140 architecture roles are open now.

Architect loops center on a design exercise: you are given a system or a goal, you draw it, and the panel challenges every choice. They also probe how you get designs adopted by teams you do not manage.

Design secure access for a company leaving its VPN

This is the zero trust question in practical form. NIST's definition is the anchor: zero trust moves defenses from static, network-based perimeters toward users, assets and resources, and grants no implicit trust to assets or accounts based solely on their physical or network location - NIST SP 800-207. CISA's Zero Trust Maturity Model, now at version 2.0, organizes the work into five pillars and three cross-cutting capabilities, each described at traditional, initial, advanced and optimal stages - CISA.

"I'd start with what people actually need to reach, because 'replace the VPN' hides very different cases: SaaS apps, internal web apps, SSH and database access for engineers, and a few legacy systems. For all of them the decision moves from 'is this device on our network' to 'is this a verified user, on a healthy managed device, allowed to reach this specific application right now'. So the building blocks are a single identity provider with phishing-resistant MFA, device posture from the endpoint management and EDR tools feeding the access decision, and an identity-aware proxy in front of internal apps so nothing is exposed directly. Engineer access to servers goes through short-lived certificates or a brokered session rather than standing keys. Legacy systems that can't do any of this get isolated in their own segment behind a jump host while we plan their replacement. I'd roll it out application by application, measure how much traffic still uses the VPN, and switch the VPN off for each group when it reaches zero, rather than doing a big-bang cutover."

Here is our architecture diagram. Where would you attack it?

The panel puts up a diagram and asks you to review it. Begin by marking trust boundaries (internet to load balancer, application to database, company to third party, human to machine), then follow the data: where sensitive data enters, is stored, is copied and leaves. Look for identity at each boundary (who authenticates to whom, with what credential, and how it is rotated), for shared components that join environments that should be separate, for logging gaps, and for the administrative paths, which diagrams usually leave out and attackers usually use.

How do you document and defend an architecture decision?

Strong answers describe a written decision record: the context, the options considered, the decision, its consequences and who agreed, kept where engineers can find it. Then the build-versus-buy reasoning in your own words: total cost including the people to run it, how central the capability is to the business, and the exit plan if a vendor fails. Interviewers are testing whether you make decisions that later teams can understand and safely reverse.

How would you design an AI agent that can take actions?

A newer design question, asked where a company ships agents to customers or uses them internally. The strong answer treats the agent as a new kind of identity: its own credentials, scoped per task and short-lived; tools with narrow permissions rather than broad API keys; a policy layer between the model and its tools that checks each action; human approval for anything irreversible or costly; full logging of prompts, tool calls and results; and a design that assumes the model will eventually be manipulated by content it reads.

The security architect salary page and the security architecture guide set the context, and the practice tool's technical round for architects runs design questions.

12. Security manager, director and CISO interview questions

Leadership postings asked for the most experience in the sample, a median of 8 years among the 44 that stated a figure, and they share a vocabulary. Strategy or roadmap language appeared in 41 of 60 (68%), stakeholders in 29 (48%), metrics in 20 (33%), incident response in 18 (30%), a named framework in 18, budget in 13 (22%) and NIST in 12. Software supply chain and AI security were each named in 10 to 12. The CISSP appeared in 10 and the CISM in 8, so certifications are a weaker signal at this level than track record. The board shows 237 leadership roles open today.

Leadership loops usually include several conversations with executives, a presentation (often a 90-day plan or an assessment of a case study), and questions that check you can still reason technically when an incident lands.

How would you spend your first 90 days as our security leader?

"The first month is listening and measuring before changing anything: one-to-ones with my team and with the leaders of engineering, IT, legal, finance and the main business lines, asking what security makes harder for them and what worries them. In parallel I'd build a baseline from evidence, not interviews: our critical assets and who owns them, recent incidents and near misses, audit findings, the state of identity, logging and backups, and where we are against whichever framework the board already recognizes. By day 60 I'd have a short list of the top risks in business language and quick wins that build trust, often closing an exposure everyone already knew about. By day 90 the board or executive team gets a plan for the year: the few outcomes we'll deliver, what they cost, what we're choosing not to do and the risk that leaves, and how we'll measure progress."

How do you report security risk to a board?

The answer should move from activity to outcomes and from technical metrics to business exposure: a small number of key risks, each with a trend, an owner and a decision the board may need to make. The Govern function added in CSF 2.0 gives a common vocabulary for this oversight - NIST. For a US public company, mention that annual reports on Form 10-K must now describe the company's processes for assessing and managing material cybersecurity risk, the board's oversight of that risk and management's role and expertise - SEC. Metrics that work at board level are usually things like time to contain incidents, coverage of critical systems by key controls, and exposure trends, never raw counts of blocked attacks.

When is an incident material, and what happens then?

For US public companies, the SEC's 2023 rules require a Form 8-K filing under Item 1.05 describing a cybersecurity incident the company determines to be material, generally within four business days of that determination - SEC. The strong answer explains your part: you do not decide materiality alone, but you make sure the people who do (legal, finance, the executive team) get accurate facts quickly, that the determination process is defined and rehearsed before an incident, and that every statement about scope is one the investigation can support.

Your budget is cut by 20%. What goes?

There is no single right answer, and the interviewer is testing how you decide. Strong answers protect the controls that address the top risks, look first at overlapping tools and underused licenses, renegotiate before cutting people, and make the remaining risk visible: a written note to leadership of what will no longer be done and the exposure that leaves, which they accept explicitly.

How do you keep a security operations team from burning out?

Leaders of operations teams are asked this often, and 16 of the 60 sampled SOC postings mentioned on-call duties. Good answers cover alert volume as a managed number (every detection has an owner and a measured false positive rate), automation of repetitive triage, rotations that are predictable and fairly shared, time set aside for projects and learning, and career paths into detection engineering, threat hunting and incident response so analysts can grow without leaving.

The security manager and CISO salary page and the security leadership guide give the context, and the practice tool's hiring-manager round for leadership roles asks the program-building questions above.

13. Behavioral and hiring-manager questions

Behavioral questions decide more security offers than candidates expect, because the work depends on persuading people who do not report to security. A word built on "communicate" appeared in 443 of the 600 sampled postings, and stakeholders were named in between 10 and 30 of every specialty's 60. The questions are predictable, and preparing six or seven true stories covers nearly all of them:

  • A disagreement with an engineering or product team over a finding or a launch.
  • A mistake you made, ideally during an incident, and what you changed afterwards.
  • A time you had to act on incomplete information under time pressure.
  • A time you explained a technical risk to a non-technical decision-maker.
  • A time you improved a process or automated away repetitive work.
  • A time you said no, or proposed a safer alternative instead of saying no.
  • Why this team, and why this kind of security work.

Structure each story the same way: the situation in two sentences, what you specifically did (not the team), what happened as a result (with a number where you have one), and what you would do differently. Interviewers often call this the situation, action and result pattern. The last part, what you would change, is where candidates distinguish themselves, because it shows judgment that has kept developing.

A worked example for the disagreement question:

"A product team wanted to launch a file-sharing feature with public links that never expired. I thought that would leak customer data within months, but saying no would have put security on the wrong side of a launch the CEO cared about. So I asked what the feature was for, and it turned out customers mostly shared files with partners for a few days. I proposed links that expire after 30 days by default, with an admin setting to change it, plus logging of every external access. The team agreed because it didn't delay the launch. Six months later, the logs showed a handful of customers had extended the expiry, and nobody had needed links that never expired. What I'd do differently is get involved at design time instead of in the final review, which is why I now attend that team's planning meetings."

The hiring manager's round overlaps with this but focuses on fit: the scale of environments you have protected, the tools you have actually run, your appetite for on-call, and what you would do first. Prepare a short answer to "walk me through your background" that ends on why this role is the logical next step, and bring your own questions: how incidents are run, how the team measures itself, what the last person in the seat went on to do, and which problem the manager most wants the new hire to solve. The practice tool's behavioral round asks for real situations one at a time and comments on each story.

14. A two-week preparation plan

Two focused weeks are enough to prepare for most loops once you have the underlying experience. The plan assumes about an hour and a half a day.

Days 1 and 2: read the posting like an interviewer. Copy the posting's responsibilities and requirements into a document. For each line, write the question you would ask a candidate to test it, then write one true example from your experience that answers it. Lines with no example are your study list. Ask the recruiter which rounds the loop contains.

Days 3 to 6: the specialty questions. Work through the section of this guide for your specialty and say each worked answer aloud in your own words, adapted to systems you have actually used. Where a question exposes a gap, fix it with hands-on work rather than reading: run the query against a lab, deploy the misconfigured policy and watch it fail, review an open-source project's access control code.

Days 7 and 8: the hands-on round. Do one timed exercise of the kind the loop will contain: a triage scenario from a blue-team practice platform, a vulnerable application from a training lab, a short coding task in the language the team uses, or a one-page risk assessment of a tool you know.

Days 9 and 10: the stories. Write the six or seven behavioral stories from section 13, each in under two minutes when spoken, and check that each ends with a result and a lesson.

Days 11 to 13: rehearse out loud. Rehearsal is where most of the improvement happens, because knowing an answer and delivering it clearly are different skills. Run each round in the free cybersecurity interview practice: pick your specialty and the round, answer by typing, and read the feedback on what each answer missed. Repeat the rounds you scored worst in.

Day 14: logistics and questions. Prepare your questions for each interviewer, check the technical setup for remote rounds, and stop studying in the evening. A rested candidate reasons better than one who crammed.

Before the loop, it also helps to know the pay band you are interviewing into. The salary calculator compares an offer you hold with the ranges current postings publish for the same specialty and level, and the highest-paying security jobs ranking shows how titles compare. If you are earlier in your career and preparing for a first security interview, how to get into cybersecurity covers the routes in and the skills a first employer screens for.

15. Questions readers ask about security interviews

Which cybersecurity interview questions come up most often?

Across specialties, the questions that recur are: what happens when you open a website; the difference between encoding, hashing and encryption; how you would triage a suspicious sign-in or endpoint alert; how you would respond to a specific incident; and a behavioral question about disagreeing with another team. Each specialty then adds its own core: code review and threat modeling for application security, policy logic and leaked credentials for cloud, federation protocols for identity, risk assessment and audits for GRC, and methodology and attack paths for penetration testing.

Do security interviews include a hands-on test?

Usually, at least for technical seats. In ISC2's survey of 929 hiring managers, 84% said their organizations use skills-based assessments or tests for entry-level and junior applicants. The form varies: a live triage walk-through, a query to write, a code review, a lab or a take-home. Very few postings say so in advance (11 of the 600 in our sample), so ask the recruiter.

How much programming does a security interview expect?

For analyst roles, enough to parse a log, call an API and write a search query. For application security, cloud and security engineering, real fluency: Python was named in 70% of the sampled application security postings and 55% of the cloud and engineering ones. GRC candidates increasingly benefit from scripting too; a quarter of the sampled GRC postings named Python.

What should I do when I don't know an answer?

Say so, then reason toward an answer out loud: what you do know that is related, how you would find out, and what you would check first. Interviewers deliberately push until they reach the edge of your knowledge, and how you behave there is part of the score. Guessing confidently and being wrong costs far more than an honest "I haven't used that, but here's how I'd approach it".

Can I prepare for a SOC analyst interview without having worked in a SOC?

Build evidence you can talk about: a small lab sending logs to a free SIEM, a few investigations written up from practice platforms, and a handful of detection queries you wrote and tested. Then practise the triage walk-through until you can explain each step and the evidence behind it without notes. The entry-level roles page lists today's junior seats, which are where interviews are most forgiving of limited experience.

Are certifications discussed in the interview?

Rarely in depth. A certification mainly helps a résumé through the screen; once you are in the room, interviewers test the skills directly. The exception is a certification you list that the interviewer also holds: expect a question or two from its material, so only list what you could defend.

How long does a security hiring loop take?

It varies widely by employer and seniority, from a single combined interview at a small company to five or six rounds plus a presentation for senior roles at large ones. Ask the recruiter for the full sequence and expected timeline at the start, and tell them early if you have another offer in progress.