Complete the sentence to describe the purpose of a DMZ in network security.
A DMZ is a [1] network that separates an internal network from untrusted external networks.
A DMZ stands for Demilitarized Zone, which is a network area that acts as a buffer between the internal network and external untrusted networks like the internet.
Complete the sentence to explain what types of servers are typically placed in a DMZ.
Servers that need to be accessible from the internet, such as [1], are placed in the DMZ.
Web servers are commonly placed in the DMZ because they must be accessible from outside the internal network, while protecting internal resources.
Fix the error in the description of DMZ placement.
The DMZ is located [1] the internal network and the external network.
The DMZ is a network segment placed between the internal trusted network and the external untrusted network, acting as a buffer zone.
Fill both blanks to complete the sentence about firewall placement in a DMZ architecture.
A typical DMZ setup uses [1] firewalls to separate the internal network, DMZ, and external network, creating [2] layers of security.
Usually, two firewalls are used: one between the external network and the DMZ, and another between the DMZ and the internal network, creating three distinct zones and layers of security.
Fill all three blanks to complete the dictionary comprehension describing DMZ traffic filtering.
rules = {{'{'}}'allow_http': lambda pkt: pkt.port == [1], 'allow_ssh': lambda pkt: pkt.port == [2], 'block_all': lambda pkt: pkt.port [3] 0{{'}'}}HTTP traffic uses port 80, SSH uses port 22, and all other ports (not equal to 0) are blocked in this example filtering rules.