
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A solutions architect is implementing a document review application using an Amazon S3 bucket for storage. The solution must prevent accidental deletion of the documents and ensure that all versions of the documents are available. Users must be able to download, modify, and upload documents.
Which combination of actions should be taken to meet these requirements? (Choose two.)
A
Enable a read-only bucket ACL.
B
Enable versioning on the bucket.
C
Attach an IAM policy to the bucket.
D
Enable MFA Delete on the bucket.
E
Encrypt the bucket using AWS KMS.
Explanation:
Correct Answers: B and D
B. Enable versioning on the bucket - This ensures that all versions of documents are preserved. When versioning is enabled, S3 stores multiple versions of an object, allowing you to recover from accidental deletions or overwrites.
D. Enable MFA Delete on the bucket - This prevents accidental deletion of documents by requiring multi-factor authentication for delete operations. MFA Delete adds an extra layer of security for bucket versioning operations.
Why other options are incorrect:
A. Enable a read-only bucket ACL - This would prevent users from uploading or modifying documents, which contradicts the requirement that users must be able to download, modify, and upload documents.
C. Attach an IAM policy to the bucket - While IAM policies are important for access control, they don't specifically address the requirements of preventing accidental deletion or preserving document versions. Bucket policies would be more appropriate for bucket-level permissions.
E. Encrypt the bucket using AWS KMS - While encryption is important for security, it doesn't address the specific requirements of preventing accidental deletion or preserving document versions. Encryption protects data at rest but doesn't prevent deletion.
Key AWS Concepts: