Explain the concept of penetration testing and identify its primary use cases.
Define penetration testing as the systematic attempt to gain unauthorised access to resources to identify vulnerabilities.
Understand internal penetration testing, which simulates a malicious insider attack where the tester has some system knowledge or basic credentials.
Understand external penetration testing, which simulates an outside attack where the tester possesses no prior knowledge or credentials for the target system.