AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team loads customer records that include full U.S. Social Security numbers into an encrypted Amazon Redshift cluster. Business analysts must be able to join tables on the first five digits of the SSN but must never see the entire value. The solution must keep queries in Redshift and require minimal ongoing administration. Which approach satisfies these requirements?
Enable KMS encryption and create a view that exposes SUBSTRING(ssn,1,5); grant analysts privileges only on the view and revoke access to the base table.
Store the records in Amazon S3 encrypted with SSE-S3, catalog them with AWS Glue, query them from Redshift Spectrum, and use AWS Lake Formation to deny access to the SSN column.
Create a dynamic data masking policy that returns SUBSTRING(ssn,1,5) for the analyst role and keep the cluster encrypted with an AWS managed KMS key.
Have AWS Database Migration Service apply client-side PKCS#11 encryption to the SSN column before loading into Redshift, distributing decryption keys through AWS Secrets Manager.
Dynamic data masking lets Amazon Redshift return only a calculated or partial value to specific roles while the full value stays invisible. A masking policy that exposes SUBSTRING(ssn,1,5) enables analysts to perform the required joins without revealing the complete SSN, and the policy is enforced automatically on every query, so there is little operational overhead. The underlying cluster remains encrypted at rest with AWS KMS. Views still reveal the full column to anyone who gains base-table access and add maintenance burden; client-side encryption or moving data to S3 and Lake Formation either complicates key management or forces processing outside Redshift, so they do not best meet the stated constraints.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is dynamic data masking in Amazon Redshift?
Open an interactive chat with Bash
How does AWS KMS encryption work with Amazon Redshift?
Open an interactive chat with Bash
Why is creating a dynamic data masking policy better than using views for sensitive data in Amazon Redshift?
Open an interactive chat with Bash
What is dynamic data masking in Amazon Redshift?
Open an interactive chat with Bash
How does AWS KMS encryption work with Amazon Redshift?
Open an interactive chat with Bash
Why is creating a view not the best solution for this scenario?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Security and Governance
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .