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 | |
|---|---|---|
| 1notify(admin, status) | Amonitoring_active = True | |
| 2status = check_activity() | BSending an alert to the admin about detected activity | |
| 3Real-time monitoring continuously checks for threats as they happen | CThe mistake: disabling monitoring, so anomalies won't be checked | |
| 4An immediate alert is sent as soon as an anomaly is detected | DThe mistake: delaying the check, breaking real-time detection | |
| 5monitoring_active = False | Eif status == "anomaly": notify(admin, status) | |
| 6wait(3600) | FChecking current network activity for anomalies |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Real-time monitoring — Continuously checking network activity as it happens and immediately alerting the right people when a threat is detected.alert_sent = Falsedef check_activity():notify(admin, message)if status == "anomaly":monitoring_active = True