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 | |
|---|---|---|
| 1ISM Guidelines for Software Development | Aif not username.isalnum(): reject() | |
| 2Development, testing and production kept in separate environments | BSecurity expectations for how software is designed, written, tested and released | |
| 3The ISM expects secure design and coding practices, such as validating all user input | CSkips version control and code review, which the ISM guidelines expect so that changes are tracked and checked | |
| 4The ISM expects security testing of software before it is released | DUses third-party code without checking it is trusted or secure, which the ISM guidelines expect to be managed | |
| 5Developers push changes straight to production with no peer review or version control | EAn ISM-aligned practice that stops untested code and live data from being mixed or exposed | |
| 6import any_package # downloaded from an unknown site, never checked | Frun_security_tests(build) before release |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
ISM Guidelines for Software Development — ISM guidelines that set security expectations for how software is designed, coded, tested and released, such as secure coding, separate environments, code review and testing.IF NOT isValid(userInput) THEN
reject(userInput)
END IFIF environment = "testing" THEN
connect(testDatabase)
END IFIF reviewed(changes) AND testsPassed THEN
merge(changes)
END IFFOR EACH package IN dependencies
IF NOT verified(package) THEN
blockInstall(package)result ← runSecurityTests(build)
IF result.failed > 0 THEN
blockRelease(build)