Soru

Zorluk: OrtaS3 Reliability and Replication

A SysOps Administrator is configuring cross-region replication (CRR) between two Amazon S3 buckets. The source bucket is located in the us-west-2 Region and the destination bucket is located in the us-east-1 Region. The administrator enables versioning on the source bucket and creates the necessary IAM replication role with trust permissions for the Amazon S3 service. However, the destination bucket is a newly created bucket that does not have versioning enabled. What will happen when the administrator attempts to save the replication configuration?

  1. The configuration will fail to save, and Amazon S3 will return an error indicating that versioning must be enabled on the destination bucket.Cevap
  2. B
    The configuration will save successfully, but replication will fail to copy any new objects until versioning is manually enabled on the destination bucket.
  3. C
    The configuration will save successfully, but replication will fail because the replication IAM role must be granted the iam:PassRole permission within its own permissions policy.
  4. D
    The configuration will save successfully, and Amazon S3 will automatically enable versioning on the destination bucket when the first replication event occurs.

Cevap

The replication configuration will fail to save, and Amazon S3 will return an error indicating that versioning must be enabled on the destination bucket.
For S3 replication (both CRR and SRR), versioning must be enabled on both the source and destination buckets. If versioning is disabled on the destination bucket, Amazon S3 fails the validation check when the administrator tries to save the configuration, preventing the rule from being applied.

Adım Adım Çözüm

1
Assess the S3 replication pre-requisites for both source and destination buckets.
Both the source and destination buckets must have S3 Versioning enabled.
Replication uses unique version IDs to track and copy objects accurately between buckets.
2
Evaluate the state of the destination bucket in the scenario.
The destination bucket does not have versioning enabled.
This violates the core structural requirements of Amazon S3 replication.
3
Determine the behavior of Amazon S3 when validation fails during configuration application.
Amazon S3 blocks the configuration from being saved and returns a validation error.
AWS validates all S3 replication configuration requirements at the time of submission.

Anahtar Kavram

S3 Versioning Requirements for Replication
Bu soruyu puanla