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 | |
|---|---|---|
| 1risk_score = 85 # login from new country at 2am | Aif login_hour == 0 and country != home_country: alert('Possible compromised account') | |
| 2if downloaded_mb > 5 * baseline_mb: flag(user) | BAn unusual overseas login should raise the risk score, not set it to 0. A score of zero hides a possible compromised account or insider threat. | |
| 3A midnight login from overseas by a user who normally works 9-5 in Melbourne is an anomaly that may mean the account is compromised | CFlags an anomaly when a user's download is far larger than their normal amount, a possible insider threat or compromised account | |
| 4Each anomaly is given a risk score, and only events at or above a threshold are escalated for review | DThe baseline is set from today's activity, so the current download is compared with itself and the anomaly is never flagged. A baseline must come from the user's past normal behaviour. | |
| 5baseline = today_download_mb if download_mb > baseline: flag(user) | Eif risk_score >= 70: escalate(event) | |
| 6if login_country != home_country: risk_score = 0 | FA high risk score given to activity that departs sharply from the user's normal baseline, so analysts are alerted |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
anomaly detection — Flagging user behaviour that departs from their normal baseline, such as a midnight overseas login or huge download, and giving it a risk score to spot compromised accounts or insider threats.IF country != usual_country THEN
risk_score = risk_score + 40
END IFIF downloads_mb > baseline_mb * 10 THEN
risk_score = risk_score + 30
END IFIF risk_score >= 70 THEN
FLAG account AS "compromised"
END IFbaseline = AVERAGE(past_downloads)
difference = today_downloads - baseline
IF difference > 500 THEN FLAG "anomaly"IF hour < 6 OR hour > 22 THEN
risk_score = risk_score + 20
END IF