AP Cybersecurity Unit 3 Lesson 3 Exercise 2
Exercise 2 — Firewall Policy Design
3 parts, 24 points — Design and troubleshoot firewall policies for Crossroads Logistics
Crossroads Logistics operates 5 distribution centers connected to headquarters over a corporate WAN. Each center has three network zones: an operations zone (warehouse management, barcode scanners), a corporate zone (email, HR systems), and an IoT zone (GPS trackers, temperature sensors on refrigerated trucks). The company’s new CISO has asked you to design firewall policies for the Atlanta distribution center.
Rule 1: ALLOW TCP from IoT_Zone (10.60.0.0/24) to 10.50.1.10 port 8883 — permits telemetry to the central server only.
Rule 2: ALLOW UDP from IoT_Zone to DNS_Server port 53 — permits DNS resolution for the devices.
Rule 3: DENY ALL from IoT_Zone to ANY — blocks everything else (default deny).
Ordering: Specific ALLOW rules first, default DENY last. The IoT devices can only reach their designated server and DNS; all other connections are blocked.
Rule 1: DENY TCP from ANY to ANY on port 3306
Rule 2: ALLOW TCP from 10.40.0.0/24 to 10.50.2.20 on port 3306
Rule 3: DENY ALL
Corrected rules:
Rule 1: ALLOW TCP from 10.40.0.0/24 to 10.50.2.20 port 3306 (specific allow for scanners)
Rule 2: DENY TCP from ANY to ANY port 3306 (block all other MySQL access)
Rule 3: DENY ALL (default deny)
Now the scanner traffic matches Rule 1 first, while all other MySQL attempts are blocked by Rule 2.
Recommendation: The NGFW ($25K/year) is the right choice. The corporate zone handles sensitive HR data, financial systems, and VPN traffic — all high-value targets. A stateless filter provides inadequate protection, and a stateful firewall lacks the application-layer visibility needed to detect phishing payloads in email or malicious downloads. The NGFW’s cost is justified by the data it protects.
AP® is a registered trademark of the College Board, which was not involved in the production of this content.
Get in Touch
Whether you're a student, parent, or teacher — I'd love to hear from you.
Just want free AP CS resources?
Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.
Message Sent!
Thanks for reaching out. I'll get back to you within 24 hours.
Prefer email? Reach me directly at [email protected]