To reduce a server's attack surface, an administrator removes unneeded software and services, closes unused ports, appl…