What does a penetration tester do?

A penetration tester, also known as an ethical hacker, simulates cyberattacks on a system to find vulnerabilities before malicious hackers can exploit them.