Amazon CloudWatch — Monitoring & Observability
Amazon CloudWatch is the AWS service that watches how your resources are performing — it collects metrics (numbers like CPU usage), stores logs, raises alarms, and reacts to events. The single most-tested confusion is CloudWatch versus CloudTrail: CloudWatch answers "is my system healthy and busy?" while CloudTrail answers "who called which API and when?". You also need to know what CloudWatch measures by default, what needs the CloudWatch agent, and how alarms can trigger SNS or Auto Scaling.
Q1 A security auditor asks, "Which IAM user deleted that S3 bucket last Tuesday, and from what IP address?" Which AWS service holds the answer?
- AWS CloudTrail, because it records the history of API calls made in the account
- Amazon CloudWatch Metrics, because it tracks resource performance over time
- Amazon CloudWatch Logs, because it stores application output
- Amazon EventBridge, because it routes events between services
- B — CloudWatch Metrics only stores performance numbers (CPU, network), not who called an API.
- C — CloudWatch Logs stores application/system log text, not a tamper-aware record of account API activity.
- D — EventBridge reacts to events in near real time; it is not the historical audit store you search after the fact.
Q2 An operations team wants a single screen that shows EC2 CPU, RDS connections, and Lambda errors together, with auto-refreshing graphs for the on-call engineer. Which CloudWatch feature should they use?
- CloudWatch Alarms
- CloudWatch Dashboards
- CloudWatch Logs Insights
- AWS CloudTrail Insights
- A — Alarms watch one metric and fire an action when a threshold is crossed; they are not a visual multi-metric screen.
- C — Logs Insights queries log text, not a live dashboard of metric graphs.
- D — CloudTrail Insights flags unusual API activity; it is not a performance dashboard.
Q3 An engineer needs the percentage of memory used inside an EC2 instance to appear in CloudWatch. After launching the instance, that metric is nowhere to be found. Why, and what is the fix?
- Memory is always collected; the engineer just needs to enable detailed monitoring
- Memory metrics only appear for Auto Scaling groups, so create one first
- Memory is a guest-OS metric not visible to the hypervisor, so the CloudWatch agent must be installed
- Memory metrics require enabling AWS CloudTrail data events
- A — Detailed monitoring only changes how often the standard metrics report (1 minute instead of 5); it never adds memory.
- B — Auto Scaling groups do not add memory metrics; the agent is still required.
- D — CloudTrail records API calls and has nothing to do with memory performance metrics.
Q4 A startup wants to be emailed automatically the moment their estimated AWS charges for the month cross $200. What is the correct way to set this up?
- Enable AWS CloudTrail and filter for billing API calls
- Create an AWS Config rule on the billing account
- Open a support case asking AWS to cap spending at $200
- Create a CloudWatch billing alarm on estimated charges that notifies an SNS topic subscribed by email
- A — CloudTrail logs API calls; it does not track or alert on dollar amounts.
- B — AWS Config checks resource configuration compliance, not spending thresholds.
- C — AWS does not hard-cap spending on request; alerting (CloudWatch billing alarms or AWS Budgets) is the supported approach.
Q5 During a traffic spike, a company wants their fleet to automatically add EC2 instances when average CPU stays above 70%. Which combination makes this happen?
- CloudTrail detects the load and launches instances
- A CloudWatch alarm on CPU triggers an Auto Scaling action to add instances
- CloudWatch Logs Insights queries the spike and scales the fleet
- EventBridge stores the metric and Config adds capacity
- A — CloudTrail audits API calls; it has no role in detecting load or scaling.
- C — Logs Insights analyzes log text; it does not monitor CPU metrics or scale fleets.
- D — AWS Config tracks configuration compliance and cannot add EC2 capacity.
Q6 By default (without any agent installed and without detailed monitoring), which EC2 metric does CloudWatch provide for free?
- CPU utilization, reported every 5 minutes
- Memory utilization, reported every 1 minute
- Disk-space-used percentage on each mounted volume
- Number of logged-in OS users
- B — Memory utilization is a guest-OS metric and is never collected by default; it needs the CloudWatch agent.
- C — Disk-space-used (how full a volume is) also lives inside the OS and requires the agent. Default disk metrics are I/O activity, not space used.
- D — Logged-in user counts are not a CloudWatch metric at all.
Q7 A team has gigabytes of application logs already centralized in CloudWatch Logs and wants to interactively run ad-hoc queries like "count errors per hour grouped by API path." Which feature is purpose-built for this?
- CloudWatch Dashboards
- CloudWatch Alarms
- Amazon Athena on the EC2 boot volume
- CloudWatch Logs Insights
- A — Dashboards visualize metrics; they do not run text queries against log content.
- B — Alarms watch a threshold and fire actions; they are not a query engine.
- C — Athena queries data in Amazon S3, not logs sitting in CloudWatch Logs, and not an EC2 boot volume.
Q8 A company wants to automatically run a Lambda function whenever an EC2 instance changes state to "stopped," reacting in near real time. Which service is designed to route that event to the function?
- CloudWatch Dashboards
- AWS CloudTrail
- Amazon EventBridge (CloudWatch Events)
- CloudWatch Logs Insights
- A — Dashboards only display metrics; they cannot trigger functions.
- B — CloudTrail records the API history but does not natively route events to targets for automation.
- D — Logs Insights queries stored logs; it does not react to live state-change events.
Q9 A manager says: "I just want a number that tells me how busy our database server is right now, and a graph over the last hour." Which CloudWatch concept matches that description?
- A log stream
- A metric
- An alarm
- An event rule
- A — A log stream holds text log entries, not the single performance number being described.
- C — An alarm watches a metric and changes state at a threshold; it is built on a metric but is not the number itself.
- D — An event rule routes events to targets; it is not a measured performance value.
Q10 Which statement best captures the core difference between Amazon CloudWatch and AWS CloudTrail?
- CloudWatch monitors performance and operational health; CloudTrail records API activity for auditing and governance
- CloudWatch records API activity; CloudTrail monitors CPU and memory
- Both store the same data, but CloudTrail is only for billing
- CloudWatch is only for S3, and CloudTrail is only for EC2
- B — This reverses the two services completely.
- C — They store different data, and CloudTrail is for API auditing, not billing.
- D — Both services work across nearly all AWS services, not single ones.
Q11 An alarm has been created on a metric with a threshold, but when the threshold is crossed nothing happens — no email, no scaling. What is the most likely cause?
- Alarms cannot send notifications; only dashboards can
- The metric must be a custom metric for alarms to work
- CloudTrail was not enabled, so the alarm has no permission
- The alarm has no action configured, such as an SNS topic or Auto Scaling policy
- A — Alarms absolutely can notify, via SNS; dashboards only display data.
- B — Alarms work on both default and custom metrics; custom is not required.
- C — CloudTrail is unrelated to whether an alarm executes its action.
Q12 A team enables "detailed monitoring" on their EC2 instances. What does this actually change?
- It adds memory and disk-space metrics automatically
- It turns on CloudTrail API logging for those instances
- It increases the reporting frequency of standard metrics from 5 minutes to 1 minute, for an extra cost
- It makes CloudWatch Logs searchable with Logs Insights
- A — Memory and disk-space-used still require the CloudWatch agent regardless of detailed monitoring.
- B — Detailed monitoring has nothing to do with CloudTrail API logging.
- D — Logs Insights availability is unrelated to EC2 monitoring frequency.
Q13 A developer wants their application's custom log files (for example, request traces written by their code) to be centrally stored and viewable in AWS. Which service should they send those logs to?
- AWS CloudTrail
- Amazon CloudWatch Logs
- Amazon EventBridge
- CloudWatch Metrics
- A — CloudTrail records AWS API calls, not arbitrary application log output the developer writes.
- C — EventBridge routes discrete events; it is not a log storage service.
- D — Metrics store numeric data points, not free-form log text.
Q14 An e-commerce company wants to receive an SMS and email alert whenever order-processing latency exceeds 2 seconds. Which pairing of services achieves this?
- A CloudWatch alarm on the latency metric, with Amazon SNS as the notification action
- AWS CloudTrail with an email subscription
- CloudWatch Logs Insights with a scheduled query
- AWS Config with a remediation rule
- B — CloudTrail audits API calls and does not watch latency or send threshold alerts.
- C — Logs Insights runs queries but is not a real-time alerting mechanism for metric thresholds.
- D — AWS Config enforces resource configuration compliance, not performance alerting.
Q15 A compliance officer needs to prove which API calls were made in the account over the last 90 days, while the operations team needs to know if servers are overloaded right now. Which mapping is correct?
- Both needs are served by CloudWatch alone
- Both needs are served by CloudTrail alone
- CloudTrail for the API-call history; CloudWatch for current server load
- EventBridge for the API history; Config for current load
- A — CloudWatch does not record the API-call audit trail.
- B — CloudTrail does not provide live CPU/load performance metrics.
- D — EventBridge routes events (not a 90-day audit store) and Config checks configuration, not live load.
Q16 A team wants a job to run every day at 6 AM UTC to clean up temporary files using a Lambda function, with no servers to manage. Which CloudWatch-family capability provides this scheduled trigger?
- A CloudWatch alarm with a time-based threshold
- CloudWatch Logs subscription filters
- A CloudWatch Dashboard widget
- An Amazon EventBridge (CloudWatch Events) scheduled rule
- A — Alarms react to metric thresholds, not clock schedules.
- B — Subscription filters forward matching log events; they are not a daily scheduler.
- C — A dashboard widget only displays data and cannot trigger anything.
Q17 A new engineer claims, "CloudWatch can't help me — my app writes everything to log files, not metrics." What is the most accurate response within CLF-C02 scope?
- Correct — CloudWatch only handles numeric metrics
- Incorrect — CloudWatch also includes CloudWatch Logs, which can centrally store and search application log files
- Correct — log files must go to CloudTrail instead
- Incorrect — log files can only be stored in Amazon RDS
- A — CloudWatch handles both metrics and logs, so this is false.
- C — CloudTrail is for AWS API audit records, not the app's own log files.
- D — RDS is a relational database, not the standard destination for application log files.
Q18 A company publishes its own business value — "active shopping carts" — into CloudWatch so they can alarm on it. What is this type of data point called, and how does it get there?
- A custom metric, published to CloudWatch by the application or the CloudWatch agent
- A default metric, collected automatically by AWS
- A CloudTrail event, generated by an API call
- A dashboard widget that AWS calculates for you
- B — Default metrics are AWS-collected infrastructure values (CPU, network); an app-specific business count is not one.
- C — CloudTrail events record API calls, not arbitrary business measurements.
- D — A dashboard widget only displays data; AWS does not invent a business metric for you.