SAP-C02 · Question #144
SAP-C02 Question #144: Real Exam Question with Answer & Explanation
The correct answer is B: Use Amazon CloudWatch to monitor service quotas that are published under the AWS/Usage. To visualize a service quota and optionally set an alarm. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Quotas- Visualize-Alarms.html
Question
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?
Options
- AUse Amazon CloudWatch to monitor the Sample Count statistic for each service in the ECS
- BUse Amazon CloudWatch to monitor service quotas that are published under the AWS/Usage
- CCreate an AWS Lambda function to poll detailed metrics form the ECS cluster.
- DCreate an AWS Config rule to evaluate whether the Fargate SERVICE_QUOTA is greater than
Explanation
To visualize a service quota and optionally set an alarm. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Quotas- Visualize-Alarms.html
Community Discussion
No community discussion yet for this question.