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).

EasyTechnical
40 practiced

A vulnerability with CVSS v3.1 score 9.0 is found in a production billing API and the asset criticality is rated as high on your business impact scale. Describe a method to calculate a combined risk score that uses CVSS and business impact, show a numeric example calculation, and explain how this combined score should influence remediation prioritization and SLAs.

HardTechnical
39 practiced

Create a threat model for a new public REST API that allows third-party integrations. Identify high-value assets, likely threat vectors (e.g., API key leakage, injection, mass scraping), and list mitigations including rate limiting, auth scopes, WAF rules, and monitoring you would implement.

MediumSystem Design
43 practiced

Draw or describe a Data Flow Diagram (textual description acceptable) for a microservices-based payment system composed of: frontend, API gateway, payment service, order service, user service, third-party payment processor, and database. Identify trust boundaries and list three components that should be considered privileged or high-value targets, explaining why.

EasyTechnical
38 practiced

Given a simplified authentication flow: user submits credentials -> auth service validates -> issues JWT -> client stores JWT, list likely threats and map at least three concrete mitigations to each threat (short answers). Consider web and mobile clients and include detection/monitoring controls where appropriate.

MediumTechnical
34 practiced

Walk through a threat modeling exercise for a new cloud-native microservice that accepts file uploads and stores them in object storage. Use an explicit framework (e.g., STRIDE) to identify assets, actors, threats, attack paths, and mitigations. List the artifacts you'd produce (data flow diagram, threat list, prioritized mitigations) and one example detection control for a critical threat.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.