Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam SAP-C02 Topic 7 Question 38 Discussion

Actual exam question for Amazon's SAP-C02 exam
Question #: 38
Topic #: 7
[All SAP-C02 Questions]

An events company runs a ticketing platform on AWS. The company's customers configure and schedule their events on the platform The events result in large increases of traffic to the platform The company knows the date and time of each customer's events

The company runs the platform on an Amazon Elastic Container Service (Amazon ECS) cluster The ECS cluster consists of Amazon EC2 On-Demand Instances that are in an Auto Scaling group. The Auto Scaling group uses a predictive scaling policy

The ECS cluster makes frequent requests to an Amazon S3 bucket to download ticket assets The ECS cluster and the S3 bucket are in the same AWS Region and the same AWS account Traffic between the ECS cluster and the S3 bucket flows across a NAT gateway

The company needs to optimize the cost of the platform without decreasing the platform's availability

Which combination of steps will meet these requirements? (Select TWO)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Gateway VPC Endpoint for S3:

Create a gateway VPC endpoint for Amazon S3 in your VPC. This allows instances in your VPC to communicate with Amazon S3 without going through the internet, reducing data transfer costs and improving security.

Add Spot Instances to ECS Cluster:

Add another ECS capacity provider that uses an Auto Scaling group of Spot Instances. Configure this new capacity provider to share the load with the existing On-Demand Instances by setting an appropriate weight in the capacity provider strategy. Spot Instances offer significant cost savings compared to On-Demand Instances.

Configure Capacity Provider Strategy:

Adjust the ECS service's capacity provider strategy to utilize both On-Demand and Spot Instances effectively. This ensures a balanced distribution of tasks across both instance types, optimizing cost while maintaining availability.

By implementing a gateway VPC endpoint for S3 and incorporating Spot Instances into the ECS cluster, the company can significantly reduce operational costs without compromising on the availability or performance of the platform.

Reference

AWS Cost Optimization Blog on VPC Endpoints

AWS ECS Documentation on Capacity Providers


Contribute your Thoughts:

Callie
2 months ago
I'm just picturing the events team frantically trying to figure out the optimal AWS settings while the customers are hammering the platform. 'Quick, someone call the AWS cost optimization hotline!'
upvoted 0 times
Filiberto
1 months ago
Enabling S3 Transfer Acceleration on the bucket might speed up the requests and improve availability.
upvoted 0 times
...
Louvenia
1 months ago
Adding another ECS capacity provider with Spot Instances could help balance the load and save money.
upvoted 0 times
...
Freida
2 months ago
We should definitely create a gateway VPC endpoint for the S3 bucket to optimize costs.
upvoted 0 times
...
...
Boris
3 months ago
D is an interesting one. S3 Transfer Acceleration could help with the download speeds, but I'm not sure how much that would impact the overall cost. Hmm, tough choice here.
upvoted 0 times
...
Stefan
3 months ago
That sounds like a good idea. Combining both steps could really benefit the company.
upvoted 0 times
...
Beckie
3 months ago
Haha, yeah, and the AWS support agent is like 'Have you tried turning it off and on again?'
upvoted 0 times
Farrah
2 months ago
B) Add another ECS capacity provider that uses an Auto Scaling group of Spot Instances Configure the new capacity provider strategy to have the same weight as the existing capacity provider strategy
upvoted 0 times
...
Rasheeda
3 months ago
A) Create a gateway VPC endpoint for the S3 bucket
upvoted 0 times
...
...
Annabelle
3 months ago
I believe we should also add another ECS capacity provider with Spot Instances. It can further reduce costs.
upvoted 0 times
...
Jacqueline
3 months ago
A and E seem like the way to go. The gateway VPC endpoint will bypass the NAT gateway, and the scheduled scaling policies will be more targeted to the event schedules.
upvoted 0 times
Alexia
3 months ago
I agree. Scheduled scaling will help optimize resources for events.
upvoted 0 times
...
Frank
3 months ago
A and E are good choices. The VPC endpoint will save on NAT gateway costs.
upvoted 0 times
...
...
Susy
4 months ago
I agree with Stefan. That would help optimize costs without affecting availability.
upvoted 0 times
...
Stefan
4 months ago
I think we should create a gateway VPC endpoint for the S3 bucket.
upvoted 0 times
...

Save Cancel