Threat Modeling and Attack Surface Analysis Questions

Systematically identifying how a system can be attacked and where its exposure lies. Covers structured methodologies (STRIDE, PASTA, DREAD, OCTAVE, attack trees), enumerating and reducing attack surface, mapping trust boundaries and data flows via DFDs, profiling likely threat actors, and prioritizing identified threats by likelihood and impact during design. Includes applying this methodology to specific architectural substrates (cloud-native and serverless, microservices, ML/AI systems, IoT, CI/CD pipelines, cryptographic subsystems) and operationalizing it as a recurring program (SDLC integration, governance, tooling, KPIs). The proactive 'think like an attacker before you build' discipline: distinct from live penetration testing (the adversarial validation of a built system), from runtime detection/monitoring (recognizing an attack already in progress), and from implementing the resulting security controls (a separate design-and-build discipline).

HardTechnical
36 practiced

During an architecture review you discover several chained weaknesses that together enable privilege escalation: an exposed admin endpoint (high exposure), a weak auth policy (medium), and an outdated library with a remote code execution bug (low). Discuss how you would prioritize mitigations, propose immediate and medium-term actions, and explain what residual risk (if any) you would accept and why.

MediumTechnical
46 practiced

Construct an attack tree for a payment authorization endpoint in an e-commerce system. Include branches for credential compromise, API abuse, man-in-the-middle, database tampering, and supply-chain compromise. For each major branch provide at least two leaf nodes describing specific attack steps and propose mitigations targeted at the highest-probability leaf nodes.

EasyTechnical
39 practiced

Define likelihood, impact, and risk velocity in the context of threat modeling and risk assessment. Provide a realistic example (one paragraph) that illustrates how risk velocity can change remediation prioritization compared to static likelihood × impact scoring.

HardTechnical
45 practiced

Perform a focused threat model on key management for a SaaS product that uses HSMs to sign tokens and encrypt customer data at rest. Identify threats to key confidentiality, integrity, and availability; propose operational controls (rotation, backup, split knowledge, access controls), HSM deployment patterns (single-region vs multi-region, cloud HSM vs on-prem), and discuss trade-offs between latency, cost, and security.

HardTechnical
39 practiced

How do you reconcile STRIDE findings with regulatory requirements such as GDPR or HIPAA? Provide examples where STRIDE categories map to legal obligations, recommend controls that both mitigate technical threats and help meet compliance (e.g., data minimization, encryption, audit trails), and discuss trade-offs between privacy, data utility, and operational burden.

Unlock Full Question Bank

Get access to all Threat Modeling and Attack Surface Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.