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 | |
|---|---|---|
| 1baseline = {"login_hours": "8am-5pm", "city": "Melbourne"} | ATypical data access recorded over several days to show how many files a user normally opens | |
| 2files_per_day = [12, 10, 15, 11] | BA per-user baseline that stores a user's normal login times and location | |
| 3A normal login pattern is learned from a user's past logins, such as the usual hours they sign in | CUsing one baseline for all users ignores that each person behaves differently. The baseline must be built per user. | |
| 4Each user gets their own baseline, so one user's normal is stored separately from another's | Dusual_hours = ["08:15", "08:30", "08:45"] | |
| 5baseline = average_of_all_staff use baseline for every user | EA baseline is built from many normal past logins, not from a single unusual event or a fixed rule. | |
| 6if login_hour != 3: build_baseline(user) | Fbaselines["ava"] = {"files": 12} |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
User behaviour analytics — Records how each user normally acts, such as login times, locations and files accessed, to build a per-user baseline. Activity that departs from it can be flagged.logins ← getLogins(user, 30)
baseline ← AVERAGE(logins)IF loginCountry ≠ baselineCountry THEN
flag("unusual location")
END IFIF filesToday > baselineFiles * 10 THEN
flag(user)
END IFFOR EACH user IN staff
baseline[user] ← AVERAGE(logins[user])
END FORIF loginHour > baselineEnd THEN
flag("late login")
END IF