AWS Solutions Architect Professional (SAP-C03) · Free practice question 9 of 12
Reducing CloudWatch Logs cost with the Essentials class
Durnford Retail ingests 40 TB of application debug logs per month into CloudWatch Logs. The logs are queried with Logs Insights only during occasional investigations, no metric filters or subscriptions use them, and they are useless after 30 days, yet they are kept forever today. Which TWO actions reduce cost the most? (Select TWO.)
- A.Create a metric filter for every log level in each log group
- B.Send them to new Essentials (formerly Infrequent Access) log groups
- C.Turn on contributor insights rules for each of the log groups
- D.Enable CloudWatch detailed monitoring on the instances producing logs
- E.Set a 30-day retention policy on the log groups
Show answer and explanation
Correct answers: B. Send them to new Essentials (formerly Infrequent Access) log groups · E. Set a 30-day retention policy on the log groups
Why: The Essentials log class (formerly Infrequent Access) has a lower ingestion price and still supports most CloudWatch Logs Insights query commands, which fits logs used only for occasional investigation; it does not support metric filters or subscription filters, which these logs do not need. A log group's class is set at creation, so the logs go to new log groups. A 30-day retention policy stops paying to store logs that have no value after a month. Detailed monitoring adds metric cost. Metric filters and Contributor Insights add features and cost and are not needed here.
More free AWS Solutions Architect Professional (SAP-C03) questions
- CloudFront Functions for lightweight edge logic
- Externalizing session state for elastic web tiers
- SageMaker Serverless Inference for sporadic traffic
- S3 File Gateway for on-premises NFS access
- AWS Verified Access for VPN-less internal apps
- AgentCore Identity for delegated OAuth access
- Amazon Security Lake with OCSF normalization
- AWS Cost Categories for business mapping
- Aurora global database managed failover
- Container Insights for EKS performance
- VPC IPAM pools to prevent overlapping CIDRs