Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Browser -|- Web server | AThe database holds the most sensitive data and has a higher trust level than the web server, so a trust boundary exists here and must be drawn and protected. | |
| 2Web server -|- Database | Bif not valid(user_input): reject() | |
| 3Data from a user's device must be checked when it crosses the boundary into the server | CA trust boundary where the web server passes requests to a more protected database | |
| 4Threats cluster at trust boundaries, so each boundary crossing is listed in a threat model | DA trust boundary is a line on a diagram, not just a device. It marks where trust levels change, and a firewall is only one control placed there. | |
| 5Trust boundary = a firewall device only | EBoundary: Internet to Web server | Threat: SQL injection | |
| 6Web server to Database: no boundary, all trusted | FA trust boundary where data moves from the untrusted internet into the web server |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
trust boundary — A line on a diagram where data passes between parts of a system with different levels of trust, such as from a user's device to a server. Threats often cluster here.Internet -> Web Server
Draw a trust boundary between themWeb Server -> Database
Data crosses a trust boundary hereInternet -> Web Server -> Database
Threats cluster at each trust boundaryInternet -> Web Server
At the trust boundary: validate all inputBrowser -> Web Server
Data flow crosses a trust boundary