Finding Inefficiently Used ML Compute and EBS Resources with AWS Compute Optimizer Recommendations

Monitor and optimize infrastructure and costs.
Answer Correct answer: D — Compute Optimizer analyzes EC2, EBS, and Lambda utilization and generates rightsizing and cost recommendations on its own, needing no custom code.

A company wants to reduce the cost of its containerized ML applications. The applications use ML models that run on Amazon EC2 instances, AWS Lambda functions, and an Amazon Elastic Container Service (Amazon ECS) cluster. The EC2 workloads and ECS workloads use Amazon Elastic Block Store (Amazon EBS) volumes to save predictions and artifacts. An ML engineer must identify resources that are being used inefficiently. The ML engineer also must generate recommendations to reduce the cost of these resources. Which solution will meet these requirements with the LEAST development effort?

  1. Create code to evaluate each instance's memory and compute usage.
  2. Add cost allocation tags to the resources. Activate the tags in AWS Billing and Cost Management.
  3. Check AWS CloudTrail event history for the creation of the resources.
  4. Run AWS Compute Optimizer. Correct Answer

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

AWS Compute Optimizer analyzes the actual utilization of EC2 instances, EBS volumes, and Lambda functions and produces rightsizing and cost reduction recommendations on its own, so no custom analysis code has to be written to satisfy either half of the requirement.

A company wants to reduce the cost of containerized ML applications running on EC2 instances, Lambda functions, and an ECS cluster, with EC2 and ECS workloads using EBS volumes to save predictions and artifacts. The engineer must both identify inefficiently used resources and generate cost reduction recommendations with the least development effort.

Writing custom code to evaluate each instance's memory and compute usage, which is exactly the development effort the question excludes. Cost allocation tags only attribute spend to teams and do not identify over-provisioned resources, and CloudTrail only records API events rather than utilization.

Community Discussion (3 comments)

aws_Tamilan 👍 1 Selected: D
🔑 Keyword: Identify inefficient ML resources, generate cost recommendations with minimal effort ✅ Correct Answer: D. Run AWS Compute Optimizer. Why? AWS Compute Optimizer provides automated recommendations for optimizing EC2 instances, EBS volumes, and Lambda. It minimizes development effort by analyzing workloads automatically. Why Others Are Wrong? ❌ A. Writing custom code for resource evaluation is manual and inefficient. ❌ B. Cost allocation tags help track expenses but do not provide recommendations. ❌ C. CloudTrail shows historical logs but does not analyze cost inefficiencies.
Saransundar 👍 2 Selected: D
AWS Compute Optimizer finds wasted resources in EC2, EBS and suggests easy ways to save money and boost performance.
GiorgioGss 👍 1 Selected: D
All is compute related so, D.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The requirement has two parts, identifying inefficiently used resources and generating recommendations to reduce their cost, and it must be done with the least development effort. AWS Compute Optimizer is a managed service that analyzes the actual utilization metrics of EC2 instances, EBS volumes, and Lambda functions and then produces rightsizing and cost optimization recommendations automatically, satisfying both halves without the engineer writing any analysis code. The vote was unanimous at 100 for D. Saransundar described Compute Optimizer as finding wasted resources in EC2 and EBS and suggesting easy ways to save money and boost performance, and aws_Tspy pointed to the least-development-effort framing as the decisive clue.

Why the Other Options Are Wrong

Creating code to evaluate each instance's memory and compute usage (A) is the high-effort path the question explicitly rules out, since it requires building, running, and maintaining custom monitoring and analysis logic across EC2, Lambda, and ECS. Adding cost allocation tags and activating them in AWS Billing and Cost Management (B) answers a different question, namely who is spending what, and while tags are useful for chargeback they do not detect over-provisioned or idle resources and generate no rightsizing recommendations. Checking CloudTrail event history for resource creation (C) only reveals when resources were created and by whom, not how heavily they are used, so it cannot identify waste or produce cost recommendations.

Community Comment Notes

The community was unanimous at 100 for D. Saransundar identified the two-part fit precisely, noting that Compute Optimizer finds wasted resources in EC2 and EBS and suggests concrete ways to save money. aws_Tpozit identified the keyword as identifying inefficient resources while generating recommendations with minimal effort, and then explicitly dismissed option A on the grounds that writing custom evaluation code is the opposite of minimal effort. The reasoning shows the question is testing the difference between a managed recommendation service and manual or attribution-only approaches.

Official Reference

Related Analysis

Practice All MLA-C01 Questions

Access 115 questions with complete answers and detailed explanations.

View Full MLA-C01 Practice Test →

← Back to MLA-C01 Study Guide