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

EasyTechnical
41 practiced

Given this simplified login flow: 1) User submits credentials over HTTPS; 2) Frontend posts to auth API; 3) Auth service validates credentials and issues JWT; 4) Client stores JWT in browser. Perform a STRIDE analysis: list threats for each step and propose at least one concrete mitigation per identified threat.

MediumTechnical
45 practiced

As an Information Security Analyst, perform threat modeling for a cloud-native service running in Kubernetes. Identify the top five attack vectors specific to containers and orchestration (e.g., image supply chain, misconfigured RBAC), and recommend concrete mitigations you would implement both in CI/CD and at runtime.

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.

MediumTechnical
44 practiced

Given a Data Flow Diagram for a file-sharing service, explain your method to identify attack surfaces and derive attack paths. Describe how you would annotate the DFD with threat information, attach severity and likelihood, and escalate high-risk findings into prioritized remediation tickets with owner and SLA.

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.

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.