Masking and redacting data: MLA-C02 study notes and practice questions
What to know about Masking and redacting data for the MLA-C02 exam, from the Data Preparation for ML and AI domain (28% of the exam guide), then 1 free question to test it. Part of the MLA-C02 study guide.
A regional bank records customer service calls and turns the transcripts into text for a fine-tuning dataset. The transcripts contain names, account numbers and home addresses that must not reach the training data or the model.
The team needs a pipeline that finds this personal information in each transcript, replaces it with placeholders, and stores the redacted text where only the data team can read it. The bank's security policy requires encryption at rest with a customer managed key.
Which TWO actions meet these requirements? (Choose two.)
Choose two answers.
AA. Run Amazon Macie on the transcript bucket and rely on its findings report to decide which transcripts to delete.
BB. Call the Amazon Comprehend PII detection API from the processing step for each transcript, and replace each detected entity with its type label before writing the text.
CC. Store the redacted transcripts in an S3 bucket encrypted with the AWS managed key, which is the default for all buckets.
DD. Store the redacted transcripts in an S3 bucket encrypted with an AWS KMS customer managed key, and restrict the bucket policy to the data team's role.
EE. Use Amazon Rekognition to detect faces and names in the transcript images and blur them before training.
Show the answer and explanation
Answers: B, D
A. Wrong: Macie discovers sensitive data in S3 buckets and reports findings, but it does not redact the text inside each transcript. Deleting whole transcripts would throw away the useful conversation.
E. Wrong: Rekognition analyzes images and video, while these transcripts are text. The option does not address the text fields the stem describes.
Explanation
Amazon Comprehend finds personal information in text, so the pipeline can replace it before training. A customer managed KMS key and a restrictive bucket policy satisfy the encryption and access requirements. Macie reports sensitive data without redacting it, and Rekognition works on images.
Want more on Masking and redacting data? The 5 full-length practice sets have 7 more Masking and redacting data questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →