Resource · Guide or article
Threat Modeling
A brief introduction to threat modeling as four phases: diagram the system's data flows, identify threats with a framework such as STRIDE, choose mitigations, and validate them. Backend and general software candidates can use it as the outline for answering how they would secure a design.
Reviewed
Open the original: Threat Modeling (opens the original site in a new tab)Practice this topicOpens the practice interviewer in System design mode; choose a question there.
Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Threat modeling is an effective way to help secure your systems, applications, networks, and services. It's a systematic approach that identifies potential threats and recommendations to help reduce risk and meet security objectives earlier in the development lifecycle.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Article
What it covers
- The four phases: diagram, identify, mitigate, validate
- STRIDE named as the framework for the identify step, with a link to Microsoft training
- Pointers to a separate example threat model document and the Microsoft Threat Modeling Tool
How to use it
PrepKit study advice, not a claim made by the source.
Draw a data-flow diagram for a system you built or practiced, mark trust boundaries, and list one threat and one mitigation per external entry point. Then walk the four phases on it aloud.
Scope and limitations
Very short team guidance, not interview material. It does not explain STRIDE categories or include the example on this page, and its links go to Microsoft training and tooling.
Access and format
Web page on microsoft.github.io from Microsoft's Code-With Engineering Playbook. English, free, CC BY 4.0.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a
Evidence behind this overview
- docs/security/threat-modelling.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.