nerdexam
Amazon

SCS-C03 · Question #80

A company sends Apache logs from EC2 Auto Scaling instances to a CloudWatch Logs log group with 1-year retention. A suspicious IP address appears in logs. A security engineer needs to analyze the…

The correct answer is C. Use CloudWatch Logs Insights with queries. CloudWatch Logs Insights is a managed, on-demand query capability designed to search and analyze log data stored in CloudWatch Logs without moving the data elsewhere. AWS Certified Security - Specialty documentation highlights Logs Insights as the lowest-effort method for rapid…

Submitted by takeshi77· Mar 6, 2026Logging and Monitoring

Question

A company sends Apache logs from EC2 Auto Scaling instances to a CloudWatch Logs log group with 1-year retention. A suspicious IP address appears in logs. A security engineer needs to analyze the past week of logs to count requests from that IP and list requested URLs. What should the engineer do with the LEAST effort?

Options

  • AExport to S3 and use Macie.
  • BStream to OpenSearch and analyze.
  • CUse CloudWatch Logs Insights with queries.
  • DExport to S3 and use AWS Glue.

How the community answered

(32 responses)
  • A
    13% (4)
  • B
    3% (1)
  • C
    78% (25)
  • D
    6% (2)

Explanation

CloudWatch Logs Insights is a managed, on-demand query capability designed to search and analyze log data stored in CloudWatch Logs without moving the data elsewhere. AWS Certified Security - Specialty documentation highlights Logs Insights as the lowest-effort method for rapid investigations, because it supports filtering, parsing, aggregation, and time-range queries directly over existing log groups. In this scenario, the logs already exist in CloudWatch Logs with sufficient retention. The engineer can write a query that filters for the suspicious IP address, counts occurrences over the last 7 days, and extracts requested URLs using parsing functions. This satisfies both requirements (count and URLs) immediately, without building pipelines or exporting data. Option B adds operational overhead by provisioning and maintaining OpenSearch ingestion and indexing. Options A and D require exporting data and additional services that are not necessary for a one-week forensic query. Therefore, Logs Insights is the most efficient and cost-effective approach.

Topics

#CloudWatch Logs Insights#log analysis#Apache logs#IP filtering

Community Discussion

No community discussion yet for this question.

Full SCS-C03 Practice