1Z0-1123-25 Question 113
Single answerYou are migrating historical application log files stored in an OCI Object Storage bucket in the us-phoenix-1 region to a new bucket in canada-southeast-1 for disaster recovery. You have just created a replication policy to replicate logs to the target bucket. However, management wants all existing logs migrated as well as any future logs. Which solution best meets this requirement?
- A
Create a replication policy on the source bucket; it automatically replicates older objects that existed before the policy was applied.
- B
Copy all existing objects to the target bucket first, then let the replication policy handle future log files moving forward.
- C
Enable versioning in the target bucket; existing objects in the source bucket will appear once replication is activated.
- D
Use an on-demand archive retrieval workflow to move historical data to the target bucket along with newly created objects.
Show answer and explanation
Correct answer: B
Explanation
By default, an OCI Object Storage replication policy only replicates new or updated objects created after the policy is configured. Therefore, if you want to replicate older (pre-existing) objects, you must do a one-time copy of those objects to the target bucket. Afterwards, the replication policy will maintain updates for new or modified objects going forward. For more details, refer to the official OCI documentation on Object Storage Bucket Replication (https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/usingreplication.htm).
- A. Incorrect.
Option 1 is incorrect because OCI Object Storage replication only applies to objects created or amended after the policy is enabled. It does not automatically replicate pre-existing objects unless they are updated or overwritten.
- B. Correct.
Option 2 is correct. A one-time copy of the existing objects to the target bucket is required, and then the replication policy can take care of new or updated objects going forward.
- C. Incorrect.
Option 3 is incorrect because enabling versioning in the target bucket does not cause pre-existing data from the source bucket to replicate retroactively. Versioning only manages versions in the target bucket; it doesn't copy historical objects from the source.
- D. Incorrect.
Option 4 is incorrect because on-demand archive retrieval is not the right approach for replicating existing active objects. Archive retrieval is intended for data specifically archived in OCI Archive Storage, not for real-time replication of standard-tier objects.