A pen test is a complex procedure that uses ethical hacking methods to find flaws in one's digital space.