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 | |
|---|---|---|
| 1npm audit | Aschedule_patching("Tuesday", "02:00") | |
| 2pip list --outdated | BShows which installed packages have newer versions, helping track what is installed and what needs patching | |
| 3Patches are tested in a separate environment before they are released to production | CChecks a project's libraries and frameworks for known vulnerabilities so patches can be planned | |
| 4Updates are scheduled at regular times to keep patching planned and predictable | DThe patch is installed straight onto production without being tested first, so it could break the software or cause downtime. | |
| 5install_patch("production") # no testing done | Edeploy(patch, "testing") if tests_pass: deploy(patch, "production") | |
| 6inventory = [] # patch only when someone remembers | FThere is no record of installed software and versions, so the team cannot know what needs patching and some vulnerable software will be missed. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
patch management — The regular, planned process of finding, testing and installing updates that fix known vulnerabilities in software, including libraries and frameworks.pip list --outdatedpip install --upgrade requestsIF result = "pass" THEN deploy(patch)IF today = patch_day THEN install_updates()npm audit