ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 462 - SAP-C02 discussion

Report
Export

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)

A.
Create a gateway VPC endpoint for the S3 bucket
Answers
A.
Create a gateway VPC endpoint for the S3 bucket
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
Answers
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
C.
Create On-Demand Capacity Reservations for the applicable instance type for the time period of the scheduled scaling policies
Answers
C.
Create On-Demand Capacity Reservations for the applicable instance type for the time period of the scheduled scaling policies
D.
Enable S3 Transfer Acceleration on the S3 bucket
Answers
D.
Enable S3 Transfer Acceleration on the S3 bucket
E.
Replace the predictive scaling policy with scheduled scaling policies for the scheduled events
Answers
E.
Replace the predictive scaling policy with scheduled scaling policies for the scheduled events
Suggested answer: A, B

Explanation:

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

asked 16/09/2024
William Kerr
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first