CompTIA Linux+ (XK0-004) — Question 233

A network administrator installed a web server on a Linux host and added a firewalld command to open port 80/tcp. The web server worked without error until an updated and patched kernel was installed on the system a month later. Now users are unable to access the web server even though the service is running.
Which of the following would fix the issue?

Answer options

Correct answer: C

Explanation

The correct answer is C because opening port tcp/443 allows HTTPS traffic, which may be required for secure access when the web server is configured to handle both HTTP and HTTPS. Options A and B do not address the issue effectively, and D is redundant since using the --permanent switch doesn't solve the underlying problem of access after the kernel update.