
Answer-first summary for fast verification
Answer: Remove public access and audit the bucket's permissions and policies.
Removing public access and auditing the bucket's permissions and policies ensures that the bucket is secured without losing valuable data or disrupting ongoing operations. Deleting the bucket might lead to data loss. Encrypting the data is a good practice but does not address immediate access issues. Moving the data might not resolve the underlying security issues.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have identified a compromised S3 bucket in your AWS environment. What immediate actions should you take to secure the data and prevent data leakage?
A
Delete the bucket and recreate it with stricter permissions.
B
Remove public access and audit the bucket's permissions and policies.
C
Encrypt the data in the bucket using a new encryption key.
D
Move the data to a different bucket with more secure settings.
No comments yet.