AWS Certified Security – Specialty (SCS-C02) — Question 162

A company is investigating controls to protect sensitive data. The company uses Amazon Simple Notification Service (Amazon SNS) topics to publish messages from application components to custom logging services.

The company is concerned that an application component might publish sensitive data that will be accidentally exposed in transaction logs and debug logs.

Which solution will protect the sensitive data in these messages from accidental exposure?

Answer options

Correct answer: B

Explanation

Option B is correct because it directly addresses the concern by implementing a data protection policy that de-identifies sensitive data before it can be exposed. Option A is not as effective as it relies on a reactive approach after the data has been published. Option C, while it encrypts the data, does not prevent sensitive information from being logged in an unencrypted form before encryption occurs. Option D focuses on detection and blocking after the fact, which does not prevent sensitive data from being published initially.