A company hosts a static website within an Amazon S3 bucket. A solutions architect needs to ensure that data can be recovered in case of accidental deletion. Which action will accomplish this?
Suggested Answer:A🗳️
Data can be recover if versioning enable, also it provide a extra protection like file delete,MFA delete. MFA. Delete only works for CLI or API interaction, not in the AWS Management Console. Also, you cannot make version DELETE actions with MFA using IAM user credentials. You must use your root AWS account.
Object Versioning - [1] (version 222222) in a single bucket. S3 Versioning protects you from the consequences of unintended overwrites and deletions. You can also use it to archive objects so that you have access to previous versions. You must explicitly enable S3 Versioning on your bucket. By default, S3 Versioning is disabled. Regardless of whether you have enabled Versioning, each object in your bucket has a version ID. If you have not enabled Versioning, Amazon S3 sets the value of the version ID to null. If S3 Versioning is enabled, Amazon S3 assigns a version ID value for the object. This value distinguishes it from other versions of the same key. Reference: https://books.google.com.sg/books?id=wv45DQAAQBAJ&pg=PA39&lpg=PA39&dq=hosts+a+static+website+within+an+Amazon+S3+bucket.+A +solutions+architect+needs+to+ensure+that+data+can+be+recovered+in+case+of+accidental +deletion&source=bl&ots=0NolP5igY5&sig=ACfU3U3opL9Jha6jM2EI8x7EcjK4rigQHQ&hl=en&sa=X&ved=2ahUKEwiS9e3yy7vpAhVx73MBHZNoDnQQ6AEwAH oECBQQAQ#v=onepage&q=hosts%20a%20static%20website%20within%20an%20Amazon%20S3%20bucket.%20A%20solutions%20architect%20needs%20to %20ensure%20that%20data%20can%20be%20recovered%20in%20case%20of%20accidental%20deletion&f=false https://aws.amazon.com/blogs/security/securing-access-to-aws-using-mfa-part-3/ https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectVersioning.html
Explanation:
Object versioning is a means of keeping multiple variants of an object in the same Amazon S3 bucket.
Versioning provides the ability to recover from both unintended user actions and application failures.
You can use versioning to preserve, retrieve, and restore every version of every object stored in your
Amazon S3 bucket.
CORRECT: "Enable Amazon S3 versioning" is the correct answer.
Cross Region Replication will be an over-kill for this scenario. Main use case for CRR is cross account access, compliance requirements, lower latency access etc. which are not mentioned here. So simply turning on versioning should do the job. Hence answer is A.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DK2
Highly Voted 3 years, 8 months agoaguy9
3 years, 7 months agoAJ2003
Highly Voted 3 years, 8 months agoRazii
Most Recent 2 years, 8 months agobora4motion
2 years, 10 months agojanvandermerwer
3 years, 3 months agolearnerportal
3 years, 7 months agoesinan
3 years, 1 month agoVibes
3 years, 7 months agoSayto
3 years, 7 months agokarthisena
3 years, 7 months agowoke
3 years, 7 months agosagacious_smith
3 years, 7 months agoKK_uniq
3 years, 7 months agosyu31svc
3 years, 7 months agomryala
3 years, 7 months agoYogi
3 years, 7 months agoAnkitrathi85
3 years, 7 months agofwfw
3 years, 7 months ago