SAP-C01 Exam QuestionsBrowse all questions from this exam

SAP-C01 Exam - Question 783


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?

Show Answer
Correct Answer: B

To meet the requirement of notifying the development team when Fargate reaches 80% of its maximum number of tasks, the best approach is to use Amazon CloudWatch to monitor service quotas that are published under the AWS/Usage metric namespace. Setting an alarm for when the math expression metric/SERVICE_QUOTA(metric)*100 is greater than 80 will ensure that the development team is notified at the appropriate threshold. This solution efficiently utilizes Amazon CloudWatch for monitoring and Amazon Simple Notification Service (SNS) for notifications.

Discussion

4 comments
Sign in to comment
sb333Option: B
Oct 8, 2022

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Quotas-Visualize-Alarms.html#:~:text=(Optional)%20To%20set,Create%20alarm.

techn00b
Dec 29, 2021

Answer is B

glider79
Dec 31, 2021

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

usmanbaigmughal
Feb 22, 2022

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