Data Protection

A CloudWatch Logs data protection policy masks sensitive fields in newly ingested events, but matching fields remain visible in older events to the same reader. What BEST explains this difference?

Show the answer

Correct answerD. The policy applies only to events ingested after it took effect.

AWhy not this: Running a Logs Insights query does not apply ingestion-time masking to historical events.

BWhy not this: KMS decryption permission does not determine whether sensitive fields receive data protection masking.

CWhy not this: Changing retention controls event expiration, not retroactive sensitive-data masking.

DWhy this is right: Masking is applied at ingestion, so a new policy does not retroactively mask existing events.

CloudWatch Logs data protection policies do not mask events ingested before the policy took effect. KMS decryption permission does not selectively bypass masking for older events.