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 | |
|---|---|---|
| 1Rule 3: DENY ALL | AThere is no default deny rule at the end. Traffic on other ports does not match any rule, so it may be let through by default. Add 3 DENY ALL. | |
| 2Rule 1: ALLOW port 443 | B1 ALLOW port 80 2 ALLOW port 443 3 DENY ALL | |
| 3Default deny: put a catch-all block rule last so only explicitly allowed traffic gets through | CA default deny rule at the end of the list that blocks any traffic not allowed by an earlier rule | |
| 4First matching rule wins: a specific deny placed above a broad allow will block that traffic | DThe firewall checks this rule first, and if traffic uses port 443 it is allowed and no later rules are checked | |
| 51 ALLOW ALL 2 DENY IP 10.0.0.9 | EThe rule is in the wrong order. ALLOW ALL matches every device first, so the deny rule is never reached and 10.0.0.9 is still allowed. Move the deny rule above it. | |
| 61 ALLOW port 80 2 ALLOW port 443 | F1 DENY IP 10.0.0.9 2 ALLOW ALL |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
default deny — A firewall checks rules from the top and uses the first match. A final default deny rule blocks anything not allowed by an earlier rule.FOR each rule FROM top TO bottom
IF packet matches: apply and stop1 ALLOW port 443
2 DENY all
# Blocks anything not allowed above1 DENY port 80
2 ALLOW port 80
Port 80 packet result: DENY1 DENY port 23
2 ALLOW all
# Default rule lets unlisted traffic in1 DENY all
2 ALLOW port 443
# Rule 2 is never reached