A system administrator is tasked with allowing incoming connections to a web server hosted on Linux. The server needs to accept traffic on port 443. How should the administrator configure UFW to achieve this?
The correct answer is ufw allow 443/tcp because it allows incoming TCP traffic on port 443, which is the standard port for HTTPS traffic. ufw allow 80/tcp is incorrect because it opens port 80 (HTTP), not 443. ufw deny 443/tcp explicitly blocks the required traffic. Finally, ufw allow 443/udp permits UDP on 443, whereas HTTPS relies on the TCP protocol.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.