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?
- The Lambda function must have been invoked at least 50 times over the past 14 days.Cevap
- BThe Unified CloudWatch Agent must be deployed to the function's execution environment to publish memory utilization metrics.
- CAWS Cost Explorer must be configured with a cost anomaly detection monitor targeting the Lambda function's resource consumption.
- DThe 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
Anahtar Kavram
AWS Compute Optimizer requirements for AWS Lambda memory optimization