AWS Certified Data Engineer – Associate (DEA-C01) — Question 208

A company stores sensitive data in an Amazon Redshift table. The company needs to give specific users the ability to access the sensitive data. The company must not create duplication in the data.

Customer support users must be able to see the last four characters of the sensitive data. Audit users must be able to see the full value of the sensitive data. No other users can have the ability to access the sensitive information.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is the correct solution because it allows for the creation of a dynamic data masking policy that meets the specific access requirements for different user roles without duplicating data. Option B fails to address the requirement of providing different access levels to sensitive data, as it only grants access to metadata. Option C focuses on row-level security, which does not meet the need for masking specific characters based on user roles. Option D involves creating a new table, which contradicts the requirement to avoid data duplication.