Exam SAP-C02 All QuestionsBrowse all questions from this exam
Question 518

A company is running a large containerized workload in the AWS Cloud. The workload consists of approximately 100 different services. The company uses Amazon Elastic Container Service (Amazon ECS) to orchestrate the workload.

Recently the company’s development team started using AWS Fargate instead of Amazon EC2 instances in the ECS cluster. In the past, the workload has come close to running the maximum number of EC2 instances that are available in the account.

The company is worried that the workload could reach the maximum number of ECS tasks that are allowed. A solutions architect must implement a solution that will notify the development team when Fargate reaches 80% of the maximum number of tasks.

What should the solutions architect do to meet this requirement?

    Correct Answer: B

    In this scenario, the best approach to monitor and alert the development team is to use Amazon CloudWatch to monitor service quotas published under the AWS/Usage metric namespace. This method allows setting up an alarm for when the usage metric exceeds 80% of the service quota. Using CloudWatch metrics is a reliable and efficient way to track this type of data, and by employing a math expression that compares the metric with the SERVICE_QUOTA, you can get the required percentage. Moreover, integrating this with Amazon Simple Notification Service (SNS) ensures that the development team is promptly notified. This solution is both comprehensive and straightforward to implement, meeting the company's requirements effectively.

Discussion
kupo777

B https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Quotas-Visualize-Alarms.html

c22ddd8Option: B

Service Quota