Comprehensive and Detailed Explanation:
Security audits and security testing are complementary activities that contribute to evaluating an organization's information security posture. A security audit independently examines information systems, organizational policies, procedures and implemented controls against established security criteria.
Security testing provides direct evidence of whether implemented security mechanisms operate correctly and effectively. In the context of an online payment gateway, validating encryption protocols establishes whether sensitive payment information is adequately protected during transmission and whether the implemented cryptographic controls satisfy defined security requirements.
Relevant security tests may examine supported encryption protocols, certificate validation, insecure protocol negotiation and the possibility of transmitting confidential information through unprotected communication channels.
Options A and C predominantly describe auditing activities involving examination of documented procedures, compliance records and historical evidence. Option D similarly focuses on reviewing existing firewall logs rather than explicitly exercising firewall functionality through controlled security tests.
Although log analysis can contribute to security testing, option B provides the clearest example of directly validating a technical security control.
ISTQB emphasizes that security auditing has a broader scope than security testing. Audit findings can identify areas requiring additional assessment, while security testing provides evidence confirming or disproving the effectiveness of specific security mechanisms.
Official Reference: ISTQB CT-STE Syllabus v1.0.1, Section 1.2.1 – Security Audits and Security Testing, pages 15–16.