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

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.

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

Design a threat model for a serverless data processing pipeline (API Gateway -> Lambda -> Kinesis -> analytics). Identify threats including event injection, function impersonation, excessive privileges, insecure dependencies, and cold-start related timing risks. Recommend mitigations across IAM, VPC placement, input validation, dependency management, observability, and secure deployment patterns.

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

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.