AWS Certified Developer Associate · Free Practice Question Medium
Question 28
An application exports files which must be saved for future use but are not frequently accessed. Compliance requirements necessitate redundant retention of data across AWS regions. Which solution is the MOST cost-effective for these requirements?
-
A
Amazon S3 with Cross-Region Replication (CRR)
-
B
Amazon S3 with Same-Region Replication (CRR)
-
C
Amazon DynamoDB with Global Tables
-
D
AWS Storage Gateway with a replicated file gateway
Reveal correct answer
Correct answer: A
Explanation
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can copy objects between different AWS Regions or within the same Region.
To enable object replication, you add a replication configuration to your source bucket. The minimum configuration must provide the following:
The destination bucket where you want Amazon S3 to replicate objects
An AWS Identity and Access Management (IAM) role that Amazon S3 can assume to replicate objects on your behalf
You can replicate objects between different AWS Regions or within the same AWS Region.
Cross-Region replication (CRR) is used to copy objects across Amazon S3 buckets in different AWS Regions.
Same-Region replication (SRR) is used to copy objects across Amazon S3 buckets in the same AWS Region.
For this scenario, CRR would be a better fit as the data must be replicated across regions.
CORRECT: "Amazon S3 with Cross-Region Replication (CRR)" is the correct answer.
INCORRECT: "Amazon S3 with Same-Region Replication (CRR)" is incorrect as the requirement is to replicated data across AWS regions.
INCORRECT: "Amazon DynamoDB with Global Tables" is incorrect as this is unlikely to be the most cost-effective solution when data is infrequently accessed. It also may not be possible to store the files in the database, they may need to be referenced from an external location such as S3.
INCORRECT: "AWS Storage Gateway with a replicated file gateway" is incorrect. AWS Storage Gateway connects an on-premises software appliance with cloud-based storage to provide seamless integration. This is not used for replicating data within the AWS cloud across regions.
References:
https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html
Save time with our AWS cheat sheets:
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
