New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAP-C02 Exam - 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:

0/2000 characters
Galen
3 months ago
Wait, does enabling S3 Transfer Acceleration really help with costs?
upvoted 0 times
...
Stephaine
3 months ago
Scheduled scaling policies seem like a better fit for known event times.
upvoted 0 times
...
Elroy
3 months ago
I’m not sure about the Spot Instances, they can be unreliable during peak times.
upvoted 0 times
...
Deeanna
4 months ago
Totally agree, that’s a smart move!
upvoted 0 times
...
Celeste
4 months ago
A gateway VPC endpoint for S3 would save costs on NAT gateway usage.
upvoted 0 times
...
Kristofer
4 months ago
I’m a bit confused about the On-Demand Capacity Reservations. I thought they were more for ensuring availability rather than cost optimization. Would that really help here?
upvoted 0 times
...
Jennifer
4 months ago
I feel like enabling S3 Transfer Acceleration might not be necessary since they’re in the same region. I think I’d lean towards using scheduled scaling policies instead.
upvoted 0 times
...
Corazon
4 months ago
I remember practicing a question about using Spot Instances for cost optimization. Adding another ECS capacity provider with Spot Instances sounds like a good idea, but I’m not clear on how it impacts availability.
upvoted 0 times
...
Jacqueline
5 months ago
I think creating a gateway VPC endpoint for the S3 bucket could really help reduce costs by avoiding NAT gateway charges, but I'm not entirely sure if it's the best option.
upvoted 0 times
...
Izetta
5 months ago
Replacing the predictive scaling policy with scheduled scaling policies seems like a good way to align the infrastructure with the known event schedules. I'll focus on that as a key strategy.
upvoted 0 times
...
Delmy
5 months ago
Enabling S3 Transfer Acceleration could improve performance, but I'm not sure if that would directly impact the cost. Might be worth considering.
upvoted 0 times
...
Ula
5 months ago
I'm a bit confused by the On-Demand Capacity Reservations option. I'll need to research that more to understand how it could optimize costs.
upvoted 0 times
...
Yuette
5 months ago
Hmm, creating a gateway VPC endpoint for S3 and adding Spot Instances to the capacity provider strategy could both help reduce costs. I'll have to think through the trade-offs.
upvoted 0 times
...
Gracia
5 months ago
This seems like a tricky one. I'll need to carefully consider the options and how they might impact cost and availability.
upvoted 0 times
...
Britt
5 months ago
Hmm, I'm a bit confused on this one. I know we need multiple search heads for high availability, but I'm not sure of the exact recommended minimum. I'll have to think this through carefully.
upvoted 0 times
...
Callie
1 year 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 year ago
Enabling S3 Transfer Acceleration on the bucket might speed up the requests and improve availability.
upvoted 0 times
...
Louvenia
1 year ago
Adding another ECS capacity provider with Spot Instances could help balance the load and save money.
upvoted 0 times
...
Freida
1 year ago
We should definitely create a gateway VPC endpoint for the S3 bucket to optimize costs.
upvoted 0 times
...
...
Boris
1 year 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
1 year ago
That sounds like a good idea. Combining both steps could really benefit the company.
upvoted 0 times
...
Beckie
1 year ago
Haha, yeah, and the AWS support agent is like 'Have you tried turning it off and on again?'
upvoted 0 times
Farrah
1 year 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
1 year ago
A) Create a gateway VPC endpoint for the S3 bucket
upvoted 0 times
...
...
Annabelle
1 year ago
I believe we should also add another ECS capacity provider with Spot Instances. It can further reduce costs.
upvoted 0 times
...
Jacqueline
1 year 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
1 year ago
I agree. Scheduled scaling will help optimize resources for events.
upvoted 0 times
...
Frank
1 year ago
A and E are good choices. The VPC endpoint will save on NAT gateway costs.
upvoted 0 times
...
...
Susy
2 years ago
I agree with Stefan. That would help optimize costs without affecting availability.
upvoted 0 times
...
Stefan
2 years ago
I think we should create a gateway VPC endpoint for the S3 bucket.
upvoted 0 times
...

Save Cancel