AP® Cybersecurity · Unit 4 review
Unit 4 review: Securing Devices
Recall the lists, answer 12 exam-style questions (aim for 16 minutes, about 80 seconds each), then try a free-response question and mark it with the scoring guide.
Abbreviations on this page. AI: artificial intelligence. MFA: multifactor authentication. PIN: personal identification number. SHA: Secure Hash Algorithm. IP: internet protocol. IoT: Internet of Things. BIOS and UEFI: basic input output system and unified extensible firmware interface. RDP: remote desktop protocol. SMB: server message block (file sharing). HTTPS: Hypertext Transfer Protocol Secure.
Unit 4 by the numbers
Say each list out loud, then tap to check.
4 device types Say them, then tap
- server
- personal computer
- handheld computer
- embedded computer (IoT)
8 malware types + 1 Say them, then tap
7 device weaknesses Say them, then tap
- unpatched software
- weak authentication
- no BIOS or UEFI password
- autorun
- open ports
- no or misconfigured firewall
- no anti-malware
3 risk levels Say them, then tap
- sensitive data or critical operations
- weak authentication or less likely exploits
- little impact if exploited
4 hash properties Say them, then tap
- collision resistant
- pre-image resistant
- repeatable
- fixed length
2 kinds of password attack Say them, then tap
- stolen or leaked credentials
- password spraying
- credential stuffing
- brute force
- dictionary
- rainbow table
4 authentication factors Say them, then tap
- knowledge
- possession
- biometric
- location
5 login settings Say them, then tap
- complexity
- minimum length
- maximum age
- password history
- account lockout
3 device policies Say them, then tap
4 things anti-malware does (as listed here) Say them, then tap
- keep a signature database
- scan files
- match a signature
- quarantine and remove
4 host firewall facts Say them, then tap
- controls one device
- rules in order (first match)
- can block outbound traffic
- block ports or services not needed
3 IoC families Say them, then tap
- host-based (logs and settings)
- file-based (files)
- behavior-based (logs)
3 criteria to choose Say them, then tap
- performance
- cost
- sensitivity or criticality
3 factors to evaluate Say them, then tap
- speed and performance
- phase of the attack
- false positives versus ease of bypass
4 password attack signs Say them, then tap
- one user
- many wrong passwords
- unusual time
- place or IP
- many users within seconds from one IP (spraying)
- default user:password pairs in quick succession (stuffing)
Do these first: official sample questions 5, 6, 7, 12, 15 and 21
Open the AP® Cybersecurity Course and Exam Description (College Board, effective Fall 2026) and go to the Exam Information section. Question 5 is on page 151, Questions 6 and 7 on page 152, Questions 12 and 15 on page 155, and Question 21 on page 157. The sample free-response question that follows (Device Security Analysis) also draws on Unit 4. Check your answers with the answer key at the end of the Exam Information section.
AP® Cybersecurity course page on AP Central (the Course and Exam Description PDF is linked there). The questions are © College Board and are not reproduced here.
Checkpoint · 12 questions
Unit 4 practice: 12 exam-style questions
Pick an answer to mark it. Every answer is explained, and you can try any question again. Your saved score counts first tries only, and stays in this browser.
-
A delivery driver uses a battery-powered tablet to scan parcels and capture signatures.
-
After installing a free screen-recording app, a student notices that the websites they visit are being sent to an unknown server every few minutes.
-
A network scan shows that a lab computer accepts connections from any address on several ports it does not use. An adversary later connects directly to it from another network.
-
An analyst is documenting device risks at a clinic.
-
A student hashes the same file on Monday and again on Friday. Both times, the SHA-256 output is identical.
-
A shopping site's user database is stolen and posted online. A student used the same email and password there as on their school account.
-
A bank app asks for a 6-digit PIN and then a fingerprint scan before it opens.
-
A science lab's workstation LAB-WS-03 is used only during school hours, from the lab network 10.40.0.0/16. The analyst exports its authentication log.
auth.log · LAB-WS-03 Time User Source IP Result 01:12:40 admin 203.0.113.77 failed (admin/admin) 01:12:41 admin 203.0.113.77 failed (admin/1234) 01:12:42 admin 203.0.113.77 failed (admin/changeme) 01:12:43 root 203.0.113.77 failed (root/root) 01:12:44 admin 203.0.113.77 failed (admin/default) 01:12:45 admin 203.0.113.77 failed (admin/password) 01:12:46 admin 203.0.113.77 failed (admin/letmein) 02:44:03 l.meyer 198.51.100.21 failed 02:44:04 r.okafor 198.51.100.21 failed 02:44:05 k.larsen 198.51.100.21 failed 08:05:11 t.nguyen 10.40.2.30 success -
A science lab's workstation LAB-WS-03 is used only during school hours, from the lab network 10.40.0.0/16. The analyst exports its authentication log.
auth.log · LAB-WS-03 Time User Source IP Result 01:12:40 admin 203.0.113.77 failed (admin/admin) 01:12:41 admin 203.0.113.77 failed (admin/1234) 01:12:42 admin 203.0.113.77 failed (admin/changeme) 01:12:43 root 203.0.113.77 failed (root/root) 01:12:44 admin 203.0.113.77 failed (admin/default) 01:12:45 admin 203.0.113.77 failed (admin/password) 01:12:46 admin 203.0.113.77 failed (admin/letmein) 02:44:03 l.meyer 198.51.100.21 failed 02:44:04 r.okafor 198.51.100.21 failed 02:44:05 k.larsen 198.51.100.21 failed 08:05:11 t.nguyen 10.40.2.30 success -
A science lab's workstation LAB-WS-03 is used only during school hours, from the lab network 10.40.0.0/16. The analyst exports its authentication log.
auth.log · LAB-WS-03 Time User Source IP Result 01:12:40 admin 203.0.113.77 failed (admin/admin) 01:12:41 admin 203.0.113.77 failed (admin/1234) 01:12:42 admin 203.0.113.77 failed (admin/changeme) 01:12:43 root 203.0.113.77 failed (root/root) 01:12:44 admin 203.0.113.77 failed (admin/default) 01:12:45 admin 203.0.113.77 failed (admin/password) 01:12:46 admin 203.0.113.77 failed (admin/letmein) 02:44:03 l.meyer 198.51.100.21 failed 02:44:04 r.okafor 198.51.100.21 failed 02:44:05 k.larsen 198.51.100.21 failed 08:05:11 t.nguyen 10.40.2.30 success -
A hospital wants detection on the server that controls its medicine-dispensing cabinets. The server has plenty of processing power, and staff warn that adversaries may try attacks never seen before.
Free-response practice
Device Security Analysis practice. On the AP® exam, the single free-response question gives several sources about one device. This original question uses Unit 4 skills. Suggested time: 20 minutes. 8 points.
The following sources all come from one workstation, ENG-WS-07, at an engineering firm. Its IP address is 10.30.2.14. Staff use it 07:00 to 18:00 from the office network 10.30.0.0/16.
Source 1: Host-based firewall settings (checked in order, first match wins)
| Rule number | Action | Source | Destination | Direction | Port number | Protocol |
|---|---|---|---|---|---|---|
| 1 | Allow | 10.30.0.0/16 | 10.30.2.14 | Inbound | 445 | SMB |
| 2 | Allow | ALL | 10.30.2.14 | Inbound | 3389 | RDP |
| 3 | Allow | 10.30.2.14 | ALL | Outbound | 443 | HTTPS |
| 4 | Deny | ALL | 10.30.2.14 | Inbound | ALL | ALL |
Source 2: Authentication log
| Time | User | Source IP | Login type | Result |
|---|---|---|---|---|
| 01:12:40 | admin | 203.0.113.9 | RDP | failed (admin/admin) |
| 01:12:41 | admin | 203.0.113.9 | RDP | failed (admin/password) |
| 01:12:42 | service | 203.0.113.9 | RDP | failed (service/service) |
| 01:12:43 | service | 203.0.113.9 | RDP | failed (service/123456) |
| 01:12:44 | service | 203.0.113.9 | RDP | failed (service/password) |
| 01:12:45 | service | 203.0.113.9 | RDP | failed (service/changeme) |
| 01:12:46 | service | 203.0.113.9 | RDP | failed (service/Service) |
| 01:12:47 | service | 203.0.113.9 | RDP | failed (service/service1) |
| 01:13:05 | service | 203.0.113.9 | RDP | success (service/Service1) |
| 01:20:30 | service | 203.0.113.9 | RDP | added user "svc2" to Administrators |
| 08:05:11 | t.nguyen | 10.30.2.14 | local | success |
Source 3: Local security policy
| Setting | Value |
|---|---|
| Password complexity | Disabled |
| Minimum password length | 8 characters |
| Password history | 0 remembered |
| Account lockout threshold | 0 (never lock) |
Questions
- A1. Identify the firewall rule in Source 1 that allowed the connections in Source 2 from 203.0.113.9. Explain using evidence.
- A2. Describe one change to Source 1 that would block those connections while still letting office staff work as normal.
- B1. Identify the type of password attack in Source 2 from 01:12:40 to 01:13:05. Cite the evidence.
- B2. Identify the indicator of compromise at 01:20:30 and explain why it matters.
- C1. Identify two settings in Source 3 that made the attack in Source 2 more likely to succeed, and explain how changing each would help.
Check with the scoring guide (8 points)
| Part | Earns the point | Does not earn the point |
|---|---|---|
| A1 (1) | Rule 2: it allows inbound RDP on port 3389 from ALL sources, so 203.0.113.9 (outside the office network) is allowed; rule 4 is never reached for that traffic. | Rule 4, or a rule named with no evidence. |
| A2 (1) | Change rule 2's source from ALL to the office network 10.30.0.0/16 (or delete rule 2 so the default deny applies, if remote desktop is not needed). | Moving rule 4 to the top (blocks staff too), or "add a firewall". |
| B1 (2) | 1 point: credential stuffing. 1 point: evidence: default user:password pairs (admin/admin, admin/password, service/service) tried within seconds from one IP address. | Password spraying (the passwords are default pairs, not one common password across many users). |
| B2 (2) | 1 point: the service account adding a new user to Administrators (an attempt to elevate privileges or an unauthorized configuration change). 1 point: it shows the adversary is establishing persistence or more access, so the account is compromised. | Calling it normal administration with no reference to the time or source IP. |
| C1 (2) | 1 point each, any two, each linked to Source 2: lockout threshold 0 let the service account fail six times in a row and keep guessing, so lock after 3 to 5 invalid attempts; complexity disabled and an 8-character minimum allowed the weak password Service1, so enable complexity and require a longer minimum length. | A setting with no link to the attack in Source 2 (for example password history). |