Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam SOA-C02 Topic 12 Question 106 Discussion

Actual exam question for Amazon's SOA-C02 exam
Question #: 106
Topic #: 12
[All SOA-C02 Questions]

A SysOps administrator is optimizing the cost of a workload. The workload is running in multiple AWS Regions and is using AWS Lambda with Amazon EC2 On-Demand Instances for the compute. The overall usage is predictable. The amount of compute that is consumed in each Region varies, depending on the users' locations.

Which approach should the SysOps administrator use to optimize this workload?

Show Suggested Answer Hide Answer
Suggested Answer: A

Here are the steps to configure an Amazon S3 bucket to serve a static error page in the event of a failure at the primary site:

Log in to the AWS Management Console and navigate to the S3 service in the us-east-2 Region.

Find the existing S3 bucket named lab-751906329398-26023898.com and click on it.

In the 'Properties' tab, click on 'Static website hosting' and select 'Use this bucket to host a website'.

In 'Index Document' field, enter the name of the object that you want to use as the index document, in this case, 'index.html'

In the 'Permissions' tab, click on 'Block Public Access', and make sure that 'Block all public access' is turned OFF.

Click on 'Bucket Policy' and add the following policy to allow public read access:

{

'Version': '2012-10-17',

'Statement': [

{

'Sid': 'PublicReadGetObject',

'Effect': 'Allow',

'Principal': '*',

'Action': 's3:GetObject',

'Resource': 'arn:aws:s3:::lab-751906329398-26023898.com/*'

}

]

}

Now navigate to the Amazon Route 53 service, and find the existing hosted zone named lab-751906329398-26023898.com.

Click on the 'A record' and update the routing policy to 'Primary - Failover' and add the existing ALB as the primary record.

Click on 'Create Record' button and create a new secondary failover alias record for the domain lab-751906329398-26023898.com that routes traffic to the existing S3 bucket.

Now, when the primary site (ALB) goes down, traffic will be automatically routed to the S3 bucket serving the static error page.

Note:

You can use CloudWatch to monitor the health of your ALB.

You can use Amazon S3 to host a static website.

You can use Amazon Route 53 for routing traffic to different resources based on health checks.

You can refer to the AWS documentation for more information on how to configure and use these services:

https://aws.amazon.com/s3/

https://aws.amazon.com/route53/

https://aws.amazon.com/cloudwatch/


Contribute your Thoughts:

Leatha
4 hours ago
Hmm, this is a tricky one. I'm leaning towards option B - Convertible Reserved Instances. That way, I can optimize based on the usage baseline and have some flexibility to adjust as needed.
upvoted 0 times
...
Micaela
6 days ago
I'm not sure, but I think option A could also work if we base it on the past 30 days usage.
upvoted 0 times
...
Nadine
9 days ago
I agree with Ruby. Calculating the baseline usage seems like the best approach.
upvoted 0 times
...
Ruby
12 days ago
I think we should go with option B, Purchase Convertible Reserved Instances.
upvoted 0 times
...

Save Cancel