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 | |
|---|---|---|
| 1allowlist = ["VSCode", "Chrome", "Git"] | AApplication control should only run approved software from an allowlist. This code runs anything not on a blocklist of known bad programs, so new malware gets through. | |
| 2if password_ok and code_ok: login() | Bif app not in allowlist: block(app) | |
| 3Application control blocks any program that is not on the approved list, which stops malware from running | CThe 'or' means one factor is enough, so a stolen password alone gets in. MFA needs both factors, so it should use 'and'. | |
| 4MFA for privileged and remote access requires an extra proof before an admin or remote user gets in | Dif remote and not mfa_passed: deny() | |
| 5if app in blocklist: run(app) | EAn approved software list: only the applications named in it are allowed to run | |
| 6if password_ok or code_ok: login() | FMulti-factor authentication: access is granted only when a second proof of identity is also correct |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Application control and MFA — Essential Eight controls: application control lets only approved software run, and MFA needs extra proof of identity, so both block unauthorised access and malware.IF app IN approvedList THEN
run(app)
ENDIFapproved = ["Word", "Chrome", "VSCode"]
if app not in approved:
block(app)passwordOk = checkPassword(user)
codeOk = checkCode(user)
IF passwordOk AND codeOk THENIF role = "admin" OR remote = TRUE THEN
requireMFA(user)
ENDIFIF mfaPassed THEN allow(user)
ELSE deny(user)
ENDIF