Full AWS Practitioner Certification Question

Which of the following best describes the primary purpose of server hardening in cybersecurity?