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

MediumTechnical
34 practiced

How does threat modeling change for serverless and cloud-native architectures compared to traditional VM-based designs? Identify unique attack surfaces (e.g., functions, event sources, IAM roles, managed services), and list recommended mitigation patterns and observability practices.

HardSystem Design
34 practiced

You're assessing threats for a hybrid multi-cloud deployment that runs sensitive workloads on-prem in Kubernetes clusters and burstable services in public cloud. Enumerate cross-boundary threats (network misrouting, identity federation misuse, config drift, secret sprawl) and design a set of network, identity, and process controls that minimize blast radius while preserving necessary cross-environment connectivity.

EasyTechnical
46 practiced

You are onboarding a new SaaS tenant: describe how you would enumerate assets and the attack surface for their single-tenant web app deployed in AWS. Include cloud resources (compute, storage, IAM), developers' workstations, CI/CD pipelines, third-party integrations, mobile clients, and customers' browsers in your enumeration and explain how the attack surface expands with each asset class.

HardTechnical
65 practiced

Perform a detailed threat model for a multi-tenant cloud data warehouse used by regulated customers. Focus on tenant isolation, side-channel risks, data exfiltration, privileged access, query logs, and metadata leakage. Recommend architectural mitigations (encryption per tenant, query sandboxing, workload isolation) and controls to demonstrate isolation to auditors.

HardSystem Design
38 practiced

Design a threat model for a multi-tenant serverless (FaaS) platform that allows customers to deploy code and stores tenant data in shared cloud resources. Identify unique serverless and multi-tenant threats (for example: environment variable leakage, ephemeral-sandbox escapes, cross-tenant data access), propose mitigations (sandboxing, per-tenant encryption, IAM design), and describe how you would verify tenant isolation at scale.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.