1Z0-1072-25 Question 216
Select 2You have an existing Object Storage bucket named 'source-logs' in the Phoenix region and need to replicate new log files to a bucket named 'dr-logs' in the Ashburn region for compliance. Which TWO actions must you perform to configure cross-region replication successfully?
- A
Create a replication policy on the source bucket in Phoenix specifying the target Ashburn bucket.
- B
Enable object versioning on both the source and target buckets since replication requires versioning.
- C
Create an IAM policy that grants permission to replicate data from the Phoenix tenancy to the Ashburn tenancy.
- D
Attach a replication policy on the 'dr-logs' bucket in Ashburn referencing the 'source-logs' bucket in Phoenix.
Show answer and explanation
Correct answers: A, C
Explanation
To configure cross-region replication for buckets, you typically create a replication policy on the source bucket referencing the target bucket, and also ensure that an IAM policy grants permission for the replication service to copy objects between regions. Versioning, while helpful for preserving object history, is not a hard requirement for basic cross-region replication. For more details, consult Oracle Cloud Infrastructure documentation on Object Storage replication policies.
- A. Correct.
Correct: You must configure the replication policy from the source bucket (in Phoenix) specifying the target bucket (in Ashburn). This ensures that any new objects uploaded to 'source-logs' will be replicated to 'dr-logs'.
- B. Incorrect.
Incorrect: Enabling versioning is not strictly required for cross-region replication in Oracle Cloud Infrastructure. While versioning can help if you want to replicate object versions, it is not a mandatory step for simple replication of new or updated objects.
- C. Correct.
Correct: An IAM policy is required so that the cross-region replication service can access and write objects from the Phoenix region to the Ashburn region. Without proper permissions, the replication process will fail.
- D. Incorrect.
Incorrect: Replication policies must be created and managed from the source bucket, not from the target bucket. Attaching a policy on the Ashburn side will not trigger replication from Phoenix.