Today’s SY0-601 CompTIA Security+ Pop Quiz: This might be permanent

A recent security audit has identified open ports on a device. Which of the following would be the BEST way to close these ports?