CompTIA Linux+ (XK0-005) — Question 266

A Linux engineer is removing a previously created firewall rule. Which of the following commands will help the administrator accomplish this task?

Answer options

Correct answer: B

Explanation

Option B is correct because it specifies both the action to delete and the rule to be denied for TCP traffic on port 80. The other options do not correctly follow the syntax required by the 'ufw' command to remove a specific rule.