1Z0-1072-25 Question 252
Single answerYour company stores transaction log files in an Object Storage bucket in the Ashburn region. To fulfill compliance requirements, you must replicate these logs to a secondary bucket in the Phoenix region. You have created the bucket in the Phoenix region and configured the necessary IAM policies, but after a day, no logs appear in the Phoenix bucket. Which step is most likely missing to enable successful replication?
- A
Enable versioning on both the source and target buckets.
- B
Create and configure a replication policy on the source bucket, pointing to the target bucket.
- C
Set up pre-authenticated requests for the source objects before sending them to the target bucket.
- D
Add a lifecycle policy on the source bucket to move objects to the target bucket.
Show answer and explanation
Correct answer: B
Explanation
In OCI Object Storage, cross-region replication requires a defined replication policy on the source bucket. Even if the target bucket exists and adequate IAM permissions are in place, replication does not occur until you explicitly configure a replication policy. Refer to OCI documentation on 'Setting Up Cross-Region Object Replication' for detailed steps on creating a replication policy.
- A. Incorrect.
Incorrect. Enabling versioning is recommended in certain scenarios, but it is not strictly required for replication to occur. The absence of versioning alone wouldn't prevent new objects from being replicated.
- B. Correct.
Correct. To replicate new objects, you must configure a replication policy from the source bucket to the target bucket. This step ensures that any new upload to the source is automatically scheduled for replication.
- C. Incorrect.
Incorrect. Pre-authenticated requests provide access to objects without requiring IAM credentials, but they are unrelated to the automated replication process. Replication policies do not rely on pre-authenticated requests.
- D. Incorrect.
Incorrect. Lifecycle policies manage object archiving or deletion, not cross-region replication. Without a replication policy, objects will not appear in the target bucket.