100-150 Question 260
Single answerA company has configured a firewall to protect its internal network. The firewall is set up to block all inbound traffic except web traffic (HTTP and HTTPS) to a specific server. How does the firewall achieve this functionality?
- A
By inspecting traffic and allowing packets based on the destination port numbers associated with HTTP and HTTPS
- B
By encrypting incoming traffic and only allowing encryption-compatible packets through
- C
By automatically blocking all traffic unless it matches a pre-approved IP address list
- D
By forwarding all inbound traffic to the server and letting the server decide which traffic to accept
Show answer and explanation
Correct answer: A
Explanation
Firewalls operate by applying rules to filter network traffic. In this scenario, the firewall is configured to allow web traffic (HTTP and HTTPS) through specific destination ports (80 and 443). This ensures that only the intended traffic reaches the server, while all other traffic is blocked for security purposes.
- A. Correct.
This is correct because firewalls can filter traffic based on attributes such as port numbers, and HTTP (port 80) and HTTPS (port 443) are commonly used for web traffic.
- B. Incorrect.
This is incorrect because encryption is not a primary function of a firewall. Firewalls focus on filtering traffic rather than encrypting it.
- C. Incorrect.
This is incorrect because the scenario described does not mention filtering traffic based on IP addresses, but rather based on traffic types (HTTP and HTTPS).
- D. Incorrect.
This is incorrect because a firewall does not forward all traffic to the destination server. Instead, it filters traffic based on specific rules before allowing it to pass.