1Z0-1072-25 Question 248
Select 2Your organization needs to replicate all newly uploaded objects from a source bucket named 'reports' in the Phoenix region to a new bucket named 'reports-backup' in the Ashburn region. While configuring replication, you receive an error indicating the setup is incomplete. Which two actions must you take to successfully enable cross-region object replication?
- A
Create a replication policy in the 'reports' bucket that specifies the 'reports-backup' bucket as the destination.
- B
Set both the source ('reports') and destination ('reports-backup') buckets to the same versioning status.
- C
Enable public read access on the 'reports-backup' bucket so the Phoenix region can replicate objects to it.
- D
Create a replication policy in the 'reports-backup' bucket that points to the 'reports' bucket to allow inbound replication.
Show answer and explanation
Correct answers: A, B
Explanation
In Oracle Cloud Infrastructure, cross-region Object Storage replication is configured via a replication policy on the source bucket. Both source and destination buckets must have matching versioning statuses. You do not need to enable public access on buckets, as replication is handled internally through OCI services and appropriate IAM policies. For more details, refer to the Oracle documentation on Object Storage replication best practices and IAM requirements.
- A. Correct.
Correct. You must create a replication policy in the source bucket ('reports') indicating the destination bucket ('reports-backup'), specifying the target region (Ashburn). This tells Oracle Cloud Infrastructure to replicate newly uploaded objects from the Phoenix region to the Ashburn region.
- B. Correct.
Correct. Both the source and destination buckets must have the same versioning state (either both enabled or both disabled) to enable replication. Mismatched versioning settings will result in an error and prevent successful policy creation.
- C. Incorrect.
Incorrect. Granting public read access on the destination bucket is not required for replication and can pose security risks. Replication in OCI uses internal mechanisms and IAM policies, not public bucket access, to transfer objects.
- D. Incorrect.
Incorrect. Replication policies are always created and managed at the source bucket where the original objects reside. The destination bucket does not initiate replication; it only receives the replicated objects.