Soru

Zorluk: Çok zorAWS Compute Optimizer and Right-Sizing

A company runs a microservices-based application across multiple member accounts in an AWS Organizations structure. A SysOps Administrator is reviewing AWS Compute Optimizer recommendations in the delegated administrator account. The administrator notices that although the tool provides recommendations for EC2 instances, it flags memory utilization metrics as "Unavailable" for all instances, meaning it cannot verify if an instance is memory-bottlenecked before recommending a smaller instance size. Which TWO configurations or actions must the administrator implement to ensure AWS Compute Optimizer receives and analyzes memory metrics to provide accurate, memory-aware right-sizing recommendations across all accounts? (Select TWO.)

  1. Deploy and configure the Unified CloudWatch Agent on the EC2 instances to publish memory utilization metrics to the default CWAgent namespace.Cevap
  2. Opt-in to AWS Compute Optimizer from the AWS Organizations management account or delegated administrator account for all member accounts.Cevap
  3. C
    Enable Amazon CloudWatch Detailed Monitoring on the EC2 instances to increase the metric resolution from 55-minute to 11-minute intervals.
  4. D
    Configure an AWS Systems Manager Automation document to query memory usage via EC2 Run Command and publish the results to AWS Trusted Advisor.
  5. E
    Activate the resource rightsizing recommendations option under the AWS Cost Explorer settings in the Billing and Cost Management console.

Cevap

Deploying the Unified CloudWatch Agent on EC2 instances to send memory metrics to the default CWAgent namespace, and opting in to AWS Compute Optimizer at the organization level.
To provide memory-aware recommendations, AWS Compute Optimizer must be able to analyze memory utilization metrics. Since memory is an OS-level metric, the Unified CloudWatch Agent must be installed on the EC2 instances to collect and publish these metrics to CloudWatch under the default CWAgent namespace. Additionally, because the workloads are distributed across multiple member accounts in an organization, Compute Optimizer must be enabled at the Organization level from the management account or a delegated administrator account to collect and display consolidated recommendations.

Adım Adım Çözüm

1
Configure the Unified CloudWatch Agent on the target EC2 instances to collect memory utilization metrics.
Memory metrics (such as mem_used_percent) are published to the default CWAgent namespace in Amazon CloudWatch.
Compute Optimizer cannot read OS-level memory metrics from the hypervisor; it requires the CloudWatch Agent to feed this data to CloudWatch.
2
Ensure the EC2 instances are associated with an IAM instance profile containing permissions to write to CloudWatch.
The CloudWatch Agent successfully authenticates and pushes the memory metrics.
Without IAM permissions, the CloudWatch Agent cannot publish the collected memory metrics to CloudWatch.
3
Opt-in to AWS Compute Optimizer at the AWS Organizations organization level.
Compute Optimizer is enabled for all member accounts, allowing it to aggregate metrics and analyze resources organization-wide.
Multi-account environments require organization-level opt-in or delegated administrator configuration to generate consolidated recommendations.

Anahtar Kavram

Configuring OS-level memory metric collection via the CloudWatch Agent and enabling organization-wide Compute Optimizer opt-in for rightsizing.
Tahmini Süre:3m 0s
Bu soruyu puanla