Data Protection

A team must configure CloudWatch Logs data protection to detect and mask proprietary customer identifiers. Which design choices support this requirement? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Define a custom data identifier with a regular expression.D. Use matching data identifiers in the Audit and Deidentify statements.

AWhy not this: KMS encryption protects stored data but does not mask sensitive fields when logs are read.

BWhy this is right: Custom data identifiers use regular expressions to recognize organization-specific sensitive data.

CWhy not this: Metric filters extract metrics from matching events without masking their contents.

DWhy this is right: Audit and Deidentify statements must specify the same data identifiers.

EWhy not this: Subscription filters route matching events; they do not redact the source log events.

FWhy not this: Managed data identifiers cover predefined types such as credit card numbers, not a company's own identifier format.

A custom data identifier with a regular expression detects an organization-specific format, and the Audit and Deidentify statements must name the same data identifiers. Masking works in both the Standard and Essentials log classes. Metric filters and subscription filters do not mask log text.