InterviewStack.io LogoInterviewStack.io

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
46 practiced

Propose a quantitative scoring system to prioritize cryptographic threats: define likelihood and impact factors specific to crypto (exploitability, attacker resources, required cryptanalytic effort, data sensitivity, cryptographic lifetime), give a scoring formula or matrix, and justify weighting choices using two example threats.

MediumTechnical
44 practiced

Explain common risk scoring models used with threat modeling: CVSS, DREAD, and modern alternatives or best practices. Discuss strengths and weaknesses of each, and describe how you'd choose or combine models to communicate risk to both technical teams and business stakeholders.

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.

MediumTechnical
38 practiced

You manage a service storing PII across an RDBMS, an object store, and an in-memory cache. Apply STRIDE focusing on Information Disclosure and Tampering: identify where and how sensitive data can leak or be tampered with, and propose an encryption and key-management architecture (including KMS usage, rotation, access control, and performance trade-offs).

EasyTechnical
63 practiced

You are designing threat modeling for a small web service that stores user secrets (API keys and encrypted documents). Describe the step-by-step threat-modeling process you would apply, including assets, actors, entry points, trust boundaries, potential attack scenarios, and practical mitigations for each major risk.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.