EPAM Systems Interview Question

How would I harden a Windows/Linux machine.