EPAM Systems interview question

How would I harden a Windows/Linux machine.