✏️ 02 Exercises¶
Fully worked practice problems — question, step-by-step solution, and final answer — one file per problem, grouped by module. Work through a module's notes first, then try these before checking the quiz.
Module 01¶
Foundations of Network Security — IPv4 addressing & subnetting math.
- 01-01: Subnetting — Find Network/Broadcast/Host Range
- 01-02: Subnetting a Class B Network into 15+ Subnets
- 01-03: Subnetting Practice
Module 02¶
TCP/IP Protocols & Packet Analysis.
- 02-01: TCP Handshake Sequence/Ack Tracing
- 02-02: TCP Flags — Reading a Capture
- 02-03: Identifying Services by Port Number
Module 03¶
Sniffing, Spoofing & MITM.
Module 04¶
TCP/IP Attacks.
- 04-01: SYN Flood — Counting Half-Open Connections
- 04-02: TCP Sequence Number Prediction
- 04-03: RST Injection Requirements
Module 05¶
Firewalls & Access Control.
- 05-01: Writing a Basic iptables Rule Set
- 05-02: Stateless vs. Stateful — Rule Tracing
- 05-03: NAT/Port-Forwarding Rule
- 05-04: Designing a Segmented Network with a DMZ
Module 06¶
DNS & DNS Security.
- 06-01: Tracing a Recursive DNS Query
- 06-02: Reading a Raw DNS Packet
- 06-03: Spotting a Cache-Poisoning Attempt
Module 07¶
Cryptography Fundamentals.
- 07-01: RSA by Hand — Small Primes
- 07-02: Diffie-Hellman by Hand
- 07-03: Computing and Verifying a Hash/HMAC
- 07-04: Validating a Certificate Chain
Module 08¶
VPN & Secure Tunneling.
Module 09¶
TLS/SSL & Secure Communication.
- 09-01: Tracing a TLS Handshake
- 09-02: Decoding a Cipher Suite Name
- 09-03: Spotting a Downgrade Attack
Module 10¶
Intrusion Detection & ML for Security.
- 10-01: Confusion Matrix — Precision, Recall, F1
- 10-02: Feature Engineering a Raw Connection Log
- 10-03: SVM Margin Intuition
🛤️ How to Use These¶
- Read the matching module notes first.
- Attempt the problem yourself before scrolling to the solution.
- Check your work step by step against the provided solution.
- Move to the Quiz Hub to test recall under exam-style conditions.