exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 525 discussion

A company has multiple AWS accounts with applications deployed in the us-west-2 Region. Application logs are stored within Amazon S3 buckets in each account. The company wants to build a centralized log analysis solution that uses a single S3 bucket. Logs must not leave us-west-2, and the company wants to incur minimal operational overhead.
Which solution meets these requirements and is MOST cost-effective?

  • A. Create an S3 Lifecycle policy that copies the objects from one of the application S3 buckets to the centralized S3 bucket.
  • B. Use S3 Same-Region Replication to replicate logs from the S3 buckets to another S3 bucket in us-west-2. Use this S3 bucket for log analysis.
  • C. Write a script that uses the PutObject API operation every day to copy the entire contents of the buckets to another S3 bucket in us-west-2. Use this S3 bucket for log analysis.
  • D. Write AWS Lambda functions in these accounts that are triggered every time logs are delivered to the S3 buckets (s3:ObjectCreated:* event). Copy the logs to another S3 bucket in us-west-2. Use this S3 bucket for log analysis.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Venki_dev
Highly Voted 3 years, 1 month ago
Selected Answer: B
When to use Same-Region Replication Same-Region Replication (SRR) is used to copy objects across Amazon S3 buckets in the same AWS Region. SRR can help you do the following: Aggregate logs into a single bucket – If you store logs in multiple buckets or across multiple accounts, you can easily replicate logs into a single, in-Region bucket. Doing so allows for simpler processing of logs in a single location. Configure live replication between production and test accounts – If you or your customers have production and test accounts that use the same data, you can replicate objects between those multiple accounts, while maintaining object metadata. Abide by data sovereignty laws – You might be required to store multiple copies of your data in separate AWS accounts within a certain Region. Same-Region Replication can help you automatically replicate critical data when compliance regulations don't allow the data to leave your country.
upvoted 18 times
Venki_dev
3 years, 1 month ago
https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html#srr-scenario
upvoted 3 times
...
...
naveenagurjara
Most Recent 2 years, 10 months ago
Selected Answer: D
Same-Region Replication (SRR) works ONLY on new objects uploaded AFTER enabling the service on a S3 bucket. It does not work on existing objects in the bucket.
upvoted 4 times
...
esinan
3 years ago
Selected Answer: B
https://aws.amazon.com/blogs/storage/aggregating-logs-with-s3-same-region-replication/
upvoted 3 times
...
sayed
3 years, 2 months ago
Selected Answer: B
BBBBBBBBBBBBBBB
upvoted 2 times
...
tc15
3 years, 2 months ago
Correct Answer: B "Posted On: Sep 18, 2019 Amazon S3 introduces Same-Region Replication: Amazon S3 now supports automatic and asynchronous replication of newly uploaded S3 objects to a destination bucket in the same AWS Region." Ref: https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-s3-introduces-same-region-replication/
upvoted 3 times
...
momedkri117
3 years, 3 months ago
Selected Answer: B
B for sure, i found the answer in the official documntation.
upvoted 3 times
...
luckybme
3 years, 3 months ago
Selected Answer: B
Documentation states the use case clearly: Same-Region Replication (SRR) is used to copy objects across Amazon S3 buckets in the same AWS Region. SRR can help you do the following: Aggregate logs into a single bucket — If you store logs in multiple buckets or across multiple accounts, you can easily replicate logs into a single, in-Region bucket. This allows for simpler processing of logs in a single location. https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-s3-introduces-same-region-replication/
upvoted 2 times
...
envest
3 years, 3 months ago
IMO: A because all proposals can do cross-account (IAM role/trust) so its only about cost: if lifecycle also changes storage class its unbeatable. API bulk is second.
upvoted 2 times
...
Edgarrt
3 years, 3 months ago
Selected Answer: B
B. https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-s3-introduces-same-region-replication/
upvoted 2 times
...
Siddhartham
3 years, 3 months ago
With S3 Replication, you can configure cross account replication where the source and destination buckets are owned by different AWS accounts. Excluding S3 storage and applicable retrieval charges, customers pay for replication PUT requests and inter-region Data Transfer OUT from S3 to your destination region when using S3 Replication. If you have S3 Replication Time Control (S3 RTC) enabled on your replication rules, you will see a different Data Transfer OUT and replication PUT request charges specific to S3 RTC. For cross account replication, the source account pays for all data transfer (S3 RTC and S3 CRR) and the destination account pays for the replication PUT requests. Data transfer charges only apply for S3 Cross Region Replication (S3 CRR) and S3 Replication Time Control (S3 RTC), there are no data transfer charges for S3 Same Region Replication (S3 SRR). Visit the S3 pricing page for more details on S3 Replication pricing.
upvoted 1 times
...
Siddhartham
3 years, 3 months ago
Selected Answer: B
Amazon S3 now supports automatic and asynchronous replication of newly uploaded S3 objects to a destination bucket in the same AWS Region. Amazon S3 Same-Region Replication (SRR) adds a new replication option to Amazon S3, building on S3 Cross-Region Replication (CRR) which replicates data across different AWS Regions. Together, SRR and CRR form Amazon S3 Replication to deliver enterprise-class replication features such as cross-account replication for protection against accidental deletion and replication to any Amazon S3 storage class, including S3 Glacier and S3 Glacier Deep Archive to create backups and long-term archives. With SRR, new objects uploaded to an Amazon S3 bucket are configured for replication at the bucket, prefix, or object tag levels. Replicated objects can be owned by the same AWS account as the original copy or by different accounts, to protect from accidental deletion
upvoted 1 times
...
FF11
3 years, 3 months ago
Selected Answer: B
B is correct.
upvoted 1 times
...
RidzV
3 years, 4 months ago
Selected Answer: D
most cost-effective and serves the purpose.
upvoted 4 times
Cable01011000
2 years, 11 months ago
Waht if you have more than 1k or even 10k logs per second? Lambda won't be cost-efficient here
upvoted 1 times
...
...
muhsin
3 years, 4 months ago
the answer is b. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-walkthrough-2.html
upvoted 3 times
...
kamino
3 years, 4 months ago
Form me answer B : SRR -> "Amazon S3 now supports automatic and asynchronous replication of newly uploaded S3 objects to a destination bucket in the same AWS Region. " https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-s3-introduces-same-region-replication/?nc1=h_ls
upvoted 3 times
...
SR82
3 years, 4 months ago
Answer is D
upvoted 1 times
...
Guangjie
3 years, 4 months ago
I go for D. A & B are for the same account. C will copy all the data which might be replicated.
upvoted 1 times
weilun_tann
3 years, 4 months ago
Rubbish. Replication (same-region and cross-region) can be between different AWS accounts - https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-s3-introduces-same-region-replication/#:~:text=Together%2C%20SRR%20and%20CRR%20form%20Amazon%20S3%20Replication%20to%20deliver%20enterprise%2Dclass%20replication%20features%20such%20as%20cross%2Daccount%20replication
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago