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

Given an AWS-hosted SaaS architecture with public S3 buckets, Lambda functions running with IAM roles, RDS in a private subnet, and a CI/CD pipeline that uses deploy keys, enumerate the top threats, likely attack paths an adversary might take, and propose 3–5 prioritized mitigations. Justify the prioritization using likelihood and business impact.

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

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.

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.