Exam DOP-C02 All QuestionsBrowse all questions from this exam
Question 219

A company deploys an application in two AWS Regions. The application currently uses an Amazon S3 bucket in the primary Region to store data.

A DevOps engineer needs to ensure that the application is highly available in both Regions. The DevOps engineer has created a new S3 bucket in the secondary Region. All existing and new objects must be in both S3 buckets. The application must fail over between the Regions with no data loss.

Which combination of steps will meet these requirements with the MOST operational efficiency? (Choose three.)

    Correct Answer: A, C, D

    To ensure the application is highly available and can fail over between regions with no data loss, the following steps are necessary: Firstly, create a new IAM role that allows the Amazon S3 and S3 Batch Operations service principals to assume the role that has the necessary permissions for S3 replication. This ensures the replication process has the required permissions (A). Secondly, create an S3 Cross-Region Replication (CRR) rule on the source S3 bucket. Configure the rule to use the IAM role to replicate to the target S3 bucket. This will handle the replication of new objects from the primary to the secondary bucket (C). Lastly, create a two-way replication rule. This rule is essential as it ensures both the primary and secondary buckets stay synchronized, enabling failover with no data loss (D).

Discussion
MalonJay

ADF The secondary also needs to replicate to the primary.

Jay_2pt0_1

I agree. Does anyone have any reason why it wouldn't be B?

6ef9a08

Two-Way Replication Rule is bidirectional, meaning objects are replicated from bucket A to bucket B and from bucket B to bucket A. This ensures that both buckets always contain the same data. S3 Cross-Region Replication (CRR) is unidirectional, meaning it replicates objects from a source bucket to a destination bucket. Changes made in the destination bucket do not propagate back to the source bucket. So D, not C

that1guyOptions: ADF

ADF, "All existing and new objects must be in BOTH S3 buckets." this requires two-way replication.

dkpOptions: ACF

answer acf

fdoxxxOptions: ACF

ACF for sure. A - we need a replication role with principles for S3 Batch Operation, replicate job, and S3. C - will replicate all new objects, F - will replicate existing objects

ogerberOptions: ACF

its ACF for me

d9iceguyOptions: ADF

Note: Application deployed to both regions, bi-directional replication will be required

xdkonorek2Options: ADF

"The application must fail over between the Regions with no data loss." C is not enough, because if we failover to region B and then to A application couldn't access data that was created in region B in the meantime

seetptOptions: ACF

ACF for me