Soru

Zorluk: OrtaAWS Compute Optimizer and Right-Sizing

A SysOps Administrator is reviewing optimization opportunities for a memory-bound Lambda function that processes incoming file uploads. The administrator wants to use AWS Compute Optimizer to determine the most cost-effective memory configuration for the function without sacrificing performance. Currently, the Compute Optimizer console shows no recommendations for this Lambda function. Which of the following requirements must be met before AWS Compute Optimizer can generate memory size recommendations for the Lambda function?

  1. The Lambda function must have been invoked at least 50 times over the past 14 days.Cevap
  2. B
    The Unified CloudWatch Agent must be deployed to the function's execution environment to publish memory utilization metrics.
  3. C
    AWS Cost Explorer must be configured with a cost anomaly detection monitor targeting the Lambda function's resource consumption.
  4. D
    The cost allocation tags applied to the Lambda function must be activated in the Billing Console to enable data ingestion.

Cevap

The Lambda function must have been invoked at least 50 times over the past 14 days.
AWS Compute Optimizer natively analyzes the execution history of Lambda functions from CloudWatch Logs. To generate accurate memory recommendations, the service requires a minimum invocation history of at least 50 invocations over a 14-day lookback period.

Adım Adım Çözüm

1
Identify the target resource and metric source for optimization.
The target is an AWS Lambda function, and Compute Optimizer analyzes its memory allocation natively using CloudWatch Logs metadata (such as memory used vs. memory configured in the REPORT lines).
Understanding where Compute Optimizer gathers metrics helps rule out options requiring additional agents or configuration.
2
Recall the minimum baseline data requirements for AWS Compute Optimizer.
Compute Optimizer needs a minimum history of 50 invocations over the last 14 days to build a baseline for recommending memory adjustments.
A minimum threshold ensures recommendations are statistically valid and accurate.

Anahtar Kavram

AWS Compute Optimizer requirements for AWS Lambda memory optimization
Bu soruyu puanla