SAP-C02 · Question #795
SAP-C02 Question #795: Real Exam Question with Answer & Explanation
The correct answer is B: Use CloudWatch to monitor ECS service quotas under the AWS/Usage namespace. Create an. This solution uses CloudWatch with the AWS/Usage namespace to monitor Fargate task utilization against service quotas, enabling proactive notification when usage approaches the predefined threshold.
Question
A company is running a large containerized workload in the AWS Cloud using Amazon ECS. The development team recently started using AWS Fargate instead of EC2 in the ECS cluster. The company is worried about reaching the maximum number of ECS tasks allowed in the account. A solutions architect must implement a solution that notifies the development team when Fargate usage reaches 80% of the quota. What should the architect do?
Options
- AUse CloudWatch to monitor the Sample Count for each service. Alert when usage exceeds 80%.
- BUse CloudWatch to monitor ECS service quotas under the AWS/Usage namespace. Create an
- CUse a Lambda function to poll Fargate metrics. Notify via SES when usage exceeds 80%.
- DUse AWS Config to monitor Fargate quotas. Notify via SES if non-compliant.
Explanation
This solution uses CloudWatch with the AWS/Usage namespace to monitor Fargate task utilization against service quotas, enabling proactive notification when usage approaches the predefined threshold.
Common mistakes.
- A.
Sample Countis a general statistic, but it does not directly track service quota usage against account limits; theAWS/Usagenamespace is specifically designed for this purpose. - C. While a Lambda function could technically poll metrics, it's an unnecessarily complex custom solution when CloudWatch provides native integration for quota monitoring through the
AWS/Usagenamespace. - D. AWS Config monitors resource configuration compliance and changes, not real-time service quota utilization and alerting on metric thresholds.
Concept tested. Monitoring AWS service quotas using CloudWatch
Reference. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsageMetrics.html
Community Discussion
No community discussion yet for this question.