Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 36 discussion

A company’s solutions architect is reviewing a web application that runs on AWS. The application references static assets in an Amazon S3 bucket in the us-east-1 Region. The company needs resiliency across multiple AWS Regions. The company already has created an S3 bucket in a second Region.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Configure the application to write each object to both S3 buckets. Set up an Amazon Route 53 public hosted zone with a record set by using a weighted routing policy for each S3 bucket. Configure the application to reference the objects by using the Route 53 DNS name.
  • B. Create an AWS Lambda function to copy objects from the S3 bucket in us-east-1 to the S3 bucket in the second Region. Invoke the Lambda function each time an object is written to the S3 bucket in us-east-1. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.
  • C. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.
  • D. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. If failover is required, update the application code to load S3 objects from the S3 bucket in the second Region.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
zhangyu20000
Highly Voted 1 year, 11 months ago
C is correct. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html
upvoted 18 times
...
amministrazione
Most Recent 2 months, 3 weeks ago
C. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.
upvoted 1 times
...
MAZIADI
3 months, 1 week ago
Selected Answer: C
Why not D ? D. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. If failover is required, update the application code to load S3 objects from the S3 bucket in the second Region: Manual Failover: This option involves manual updates to the application code in the event of a failover, which adds operational overhead and complexity. CloudFront provides automatic failover and load balancing, making it a more streamlined solution.
upvoted 1 times
...
sarlos
7 months ago
C IS THE answer
upvoted 1 times
...
gofavad926
8 months, 1 week ago
Selected Answer: C
C is correct
upvoted 1 times
...
VerRi
9 months ago
Selected Answer: C
Straightforward
upvoted 1 times
...
8608f25
9 months, 2 weeks ago
Selected Answer: C
Option C is the most efficient solution because it leverages S3’s built-in replication feature to automatically replicate objects to a second bucket in another Region, ensuring that the data is resiliently stored across multiple Regions. By using Amazon CloudFront with an origin group containing both S3 buckets, the application benefits from CloudFront’s global content delivery network, which improves load times and provides a built-in failover mechanism. This setup minimizes operational overhead while achieving the desired resiliency and performance improvements. Option C provides a seamless, automated solution for achieving resiliency across multiple AWS Regions with minimal operational effort, leveraging AWS services designed for replication, content delivery, and failover.
upvoted 1 times
...
Vaibs099
9 months, 3 weeks ago
C is correct because, You can server Dynamic Websites with Static Content with CDN by having origins for both and in your webserver app refer to DNS for s3 origin from CF to deliver static content. For webserver on EC2 (Custom Origins can be used). So in above scenario, if you would like to have resiliency. Add another S3 Origin with bucket in different region. Create Origin Group with both S3 Origins. Set priority on Origins and select 4XX and 5XX error codes for failover. You can use DNS returned for Origin Group from Cloud front in your web app and that would do automatic failover with least overheads. D also solves the purpose, but you will need to build failover mechanism in your app. However, with above Cloudfront Origin group is taking care of that for you.
upvoted 1 times
...
ninomfr64
11 months ago
Selected Answer: C
All options does the job, but: A would require code maintenance and managing public hosted zone -> No B would require Lambda and CloudFront operations -> No C would require only CloudFront operations -> Yes D requires a lot of work for failover that appears to be manual -> No
upvoted 2 times
...
subbupro
11 months, 3 weeks ago
C is mostly correct, A is not correct - B and D required the code changes. C will take care of the cloud front orgin failover.
upvoted 1 times
...
abeb
12 months ago
C is good
upvoted 1 times
...
severlight
1 year ago
Selected Answer: C
obvious
upvoted 1 times
...
totten
1 year, 1 month ago
Selected Answer: C
Here's why Option C is the most suitable choice: Replication: Amazon S3 Cross-Region replication is designed to replicate objects from one S3 bucket to another in a different Region. This ensures data resiliency across Regions with minimal operational overhead. Once configured, replication happens automatically. CloudFront: Setting up an Amazon CloudFront distribution with an origin group containing the two S3 buckets allows you to use a single CloudFront distribution to serve content from both Regions. CloudFront provides low-latency access to your content, and using an origin group allows for failover if one of the S3 buckets becomes unavailable.
upvoted 4 times
totten
1 year, 1 month ago
Option A suggests configuring the application to write each object to both S3 buckets, which can result in higher operational overhead and may not provide immediate failover capabilities. Option B involves creating a Lambda function to copy objects, which adds complexity and requires code maintenance for each object written to the S3 bucket in us-east-1. Option D relies on manual updates to the application code for failover, which is less automated and could result in higher operational overhead. Therefore, Option C is the most efficient and operationally streamlined solution to achieve data resiliency and availability across multiple AWS Regions.
upvoted 1 times
...
...
Simon523
1 year, 2 months ago
Selected Answer: C
C, LEAST operational overhead
upvoted 1 times
...
TWOCATS
1 year, 2 months ago
Selected Answer: C
C should incur the least operational cost while D still requires the cx to update the code in whatever way they deem as appropriate
upvoted 1 times
...
Karamen
1 year, 3 months ago
Selected Answer: C
upvoted 1 times
...
xplusfb
1 year, 3 months ago
Selected Answer: C
Its completely asking CRR Right one is C
upvoted 1 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 ...