An AI practitioner trained a custom Bedrock model using a dataset that included confidential information. They want to stop the model from producing outputs that reveal that confidential data. What is the correct way to prevent such responses?
Choose an answer
Tap an option to check your answer.
Correct answer: Delete the custom model. Remove the confidential data from the training set. Retrain the custom model..
Why this is the answer
The most effective way to prevent a model from revealing confidential information it was trained on is to remove that information from the training data and retrain the model. Once a model has learned patterns from specific data, it can potentially reproduce or infer that data. Masking or encrypting outputs dynamically (options 2 and 3) are reactive measures that rely on detecting confidential information after the model has generated it, which is prone to errors and doesn't address the root cause. Encrypting the data within the model (option 4) doesn't prevent the model from learning from or reproducing the unencrypted form of that data during inference.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed