AWS CloudOps Engineer Associate Domain 1: Monitoring, Logging, Analysis, Remediation, and Performance Optimization
44 free practice questions for Monitoring, Logging, Analysis, Remediation, and Performance Optimization in the AWS Certified CloudOps Engineer – Associate (SOA-C03) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Monitoring, Logging, Analysis, Remediation, and Performance Optimization practice questions
-
Question 1. An operations team needs memory and disk-space utilization from a fleet of EC2 Linux instances in CloudWatch. What must be done?
Show answer
Answer: C. Install and configure the CloudWatch agent on the instances
Memory and disk metrics come from inside the OS, so they need the CloudWatch agent. Detailed monitoring only changes the 1-minute frequency of default metrics.
-
Question 2. What does enabling detailed monitoring on an EC2 instance change?
Show answer
Answer: D. Default metrics are published every 1 minute instead of every 5
Detailed monitoring increases frequency and costs extra. It doesn't add new metric types.
-
Question 3. The CloudWatch agent configuration must be the same on 300 instances and easy to update. Where should it be stored?
Show answer
Answer: B. In Systems Manager Parameter Store, loaded by the agent
The agent can fetch its JSON config from Parameter Store, and Run Command can push updates to the whole fleet.
-
Question 4. An alarm should stop an idle development instance when average CPU stays under 5% for 2 hours. What is the simplest approach?
Show answer
Answer: A. A CloudWatch alarm with the EC2 stop action
CloudWatch alarms can stop, terminate, reboot, or recover instances directly as alarm actions.
-
Question 5. An EC2 instance fails a system status check because of underlying host hardware. What restores it automatically on a new host?
Show answer
Answer: A. A CloudWatch alarm with the EC2 recover action
System status checks reflect AWS infrastructure problems. Recovery moves the instance to healthy hardware, keeping its ID and IPs.
-
Question 6. An instance status check fails, but system status checks pass. What is the likely cause?
Show answer
Answer: B. A problem inside the OS, such as a full disk
Instance checks cover the OS and configuration. Fixes include rebooting or correcting the OS configuration.
-
Question 7. A team gets too many alerts because a metric briefly crosses a threshold and recovers. What reduces noise?
Show answer
Answer: D. Alarm only when M out of N recent datapoints breach
"3 out of 5 datapoints" makes alarms ignore short spikes while still catching sustained problems.
-
Question 8. An alarm must trigger only when both high CPU and high latency occur together. What should be used?
Show answer
Answer: C. A composite alarm combining the two alarms with AND
Composite alarms combine alarm states with AND, OR, and NOT, which cuts noise from single signals.
-
Question 9. A metric has a daily traffic pattern, so a fixed threshold causes false alarms. Which feature adapts to the pattern?
Show answer
Answer: A. CloudWatch anomaly detection
Anomaly detection learns expected values and alarms when the metric leaves the band.
-
Question 10. How should an alarm treat periods with no data from an instance that was stopped on purpose?
Show answer
Answer: C. Set missing data treatment to notBreaching or ignore
The missing data setting controls whether gaps count as good, bad, or ignored.
-
Question 11. An operator wants CloudWatch alarms for all EC2 instances across 10 accounts on one screen. What fits?
Show answer
Answer: D. Cross-account observability with a monitoring account
CloudWatch cross-account observability links source accounts to a monitoring account for metrics, logs, and traces.
-
Question 12. Which CloudWatch Logs Insights query command groups log events and counts them?
Show answer
Answer: D. stats count(*) by field
stats aggregates results. filter narrows events, and parse extracts fields from text.
-
Question 13. Application logs must be searchable for 30 days and archived for 7 years at the lowest cost. What should be done?
Show answer
Answer: D. 30-day log retention, plus export to S3 with lifecycle to Glacier
CloudWatch Logs is costlier for long retention. S3 with lifecycle rules archives cheaply.
-
Question 14. A metric filter should count HTTP 5xx responses in web server logs. What does the filter create?
Show answer
Answer: C. A CloudWatch metric that alarms can use
Metric filters turn matching log patterns into metric values.
-
Question 15. Operators must be notified when anyone changes a security group. Which service detects the API call?
Show answer
Answer: A. CloudTrail events matched by an EventBridge rule
CloudTrail records AuthorizeSecurityGroupIngress and similar calls, and EventBridge can route them to SNS.
-
Question 16. An AWS Config rule reports that an S3 bucket allows public access. How can this be fixed automatically?
Show answer
Answer: A. Attach an SSM Automation remediation action to the rule
Config remediation runs Systems Manager Automation documents, automatically or on demand.
-
Question 17. Which AWS Config feature applies a set of rules and remediations to many accounts as one package?
Show answer
Answer: C. Conformance packs
Conformance packs bundle rules and remediation actions and can be deployed across an organization.
-
Question 18. A team needs a list of all EC2 instances across accounts that lack a required tag. Which feature queries this with SQL-like syntax?
Show answer
Answer: A. AWS Config advanced queries with an aggregator
Config advanced queries search current configuration data, and aggregators combine accounts and Regions.
-
Question 19. Which service shows AWS events that affect a specific account's resources, such as scheduled EC2 maintenance?
Show answer
Answer: D. AWS Health Dashboard
The Health Dashboard lists account-specific events, and EventBridge can react to AWS Health events automatically.
-
Question 20. An EC2 instance is scheduled for retirement. How can the team be notified and act automatically?
Show answer
Answer: A. An EventBridge rule on AWS Health events that runs automation
AWS Health publishes events to EventBridge, which can run Lambda or SSM Automation.
-
Question 21. Which service recommends right-sized EC2 instance types based on actual utilization?
Show answer
Answer: C. AWS Compute Optimizer
Compute Optimizer analyzes metrics for EC2, Auto Scaling groups, EBS, Lambda, and ECS on Fargate.
-
Question 22. A gp2 EBS volume runs out of burst credits and slows down. What is the most cost-effective fix?
Show answer
Answer: D. Change it to gp3 and set the IOPS and throughput needed
gp3 gives baseline performance independent of size and lets IOPS and throughput be set separately, often at lower cost.
-
Question 23. Which metric shows that an EBS volume is limited by its provisioned performance?
Show answer
Answer: A. VolumeQueueLength staying high
A long queue means requests are waiting. Compare throughput and IOPS against the volume's limits.
-
Question 24. An RDS instance has slow queries. Which feature shows which SQL statements cause the most load?
Show answer
Answer: D. Performance Insights
Performance Insights shows database load by wait events, SQL, hosts, and users. Enhanced Monitoring shows OS-level metrics.
-
Question 25. A read-heavy RDS database is overloaded by reporting queries. What reduces load on the primary?
Show answer
Answer: A. Send reports to a read replica
Read replicas serve reads. Multi-AZ standbys in the classic setup don't serve traffic.
-
Question 26. An application opens and closes many database connections, exhausting RDS connection limits. What helps?
Show answer
Answer: B. Amazon RDS Proxy
RDS Proxy pools and reuses connections, which helps bursty applications and Lambda functions.
-
Question 27. A CloudFront distribution has a low cache hit ratio. What can improve it?
Show answer
Answer: B. Remove unneeded headers and cookies from the cache key
A smaller cache key means more requests match the same cached object.
-
Question 28. An ElastiCache cluster shows high Evictions. What does this mean?
Show answer
Answer: B. The cache is out of memory and removing items to make room
Scale up the node type, add shards, or set TTLs on keys to reduce evictions.
-
Question 29. Which Systems Manager capability runs a command on hundreds of instances at once without SSH?
Show answer
Answer: B. Run Command
Run Command executes SSM documents on targets chosen by tags or resource groups, with rate and error controls.
-
Question 30. A web server process crashes occasionally. The team wants it restarted automatically when a CloudWatch alarm fires. What fits?
Show answer
Answer: D. The alarm triggers an SSM Automation runbook through EventBridge
EventBridge can match alarm state changes and start an Automation document that restarts the service.
-
Question 31. Which Systems Manager feature schedules routine tasks, such as patching or snapshots, within defined time slots?
Show answer
Answer: B. Maintenance Windows
Maintenance Windows run tasks on registered targets during a set schedule and duration.
-
Question 32. Which tool gives an operator a single view of operational issues and related resources to investigate and resolve them?
Show answer
Answer: A. Systems Manager OpsCenter
OpsCenter aggregates OpsItems from CloudWatch, Config, and other sources, with runbooks to resolve them.
-
Question 33. An Auto Scaling group scales too late when traffic ramps up every morning at 8:00. What helps?
Show answer
Answer: B. A scheduled action or predictive scaling
Scheduled and predictive scaling add capacity before the known load arrives.
-
Question 34. A group must add 2 instances when CPU is 70–85% and 4 instances when it's above 85%. Which policy type fits?
Show answer
Answer: C. Step scaling
Step scaling sets different adjustments for different alarm breach sizes. Target tracking manages the steps for you.
-
Question 35. Auto Scaling launches instances that take 5 minutes to warm up, causing extra scale-outs. What should be set?
Show answer
Answer: A. An instance warmup period on the group
Warmup stops new instances' metrics from counting until they're ready, which prevents overscaling.
-
Question 36. Instances in an Auto Scaling group must finish installing software before receiving traffic. What helps?
Show answer
Answer: C. A lifecycle hook on launch
Lifecycle hooks pause instances in a wait state so scripts can finish before they go InService.
-
Question 37. An operations dashboard should show metrics from EC2, RDS, and ALB for one application. What should be built?
Show answer
Answer: D. A CloudWatch dashboard with widgets for each metric
Dashboards can combine metrics, logs queries, and alarms from many services and Regions.
-
Question 38. An operator must check how an ALB is performing. Which metric shows responses returned by the targets with 5xx errors?
Show answer
Answer: D. HTTPCode_Target_5XX_Count
Target 5xx means the backend failed. ELB 5xx means the load balancer itself generated the error.
-
Question 39. An ALB returns HTTP 503 errors to clients. What is a common cause?
Show answer
Answer: D. No healthy registered targets in the target group
503 from the ALB usually means there are no healthy targets to route to.
-
Question 40. An ALB returns HTTP 504 errors. What does this usually indicate?
Show answer
Answer: B. The target didn't respond before the idle timeout
504 is a gateway timeout. Check application latency and the load balancer's idle timeout.
-
Question 41. Which log records every request to an Application Load Balancer, including client IP, latency, and response code?
Show answer
Answer: A. ALB access logs stored in S3
Access logs must be enabled and give request-level details for troubleshooting.
-
Question 42. A Lambda-based API is slow, and operators must find which downstream call takes the most time. Which feature helps?
Show answer
Answer: C. X-Ray traces with CloudWatch Application Signals
Traces break down latency by segment and show service maps across components.
-
Question 43. Which CloudWatch feature tests an API endpoint from outside every few minutes and alerts on failures?
Show answer
Answer: C. CloudWatch Synthetics canaries
Canaries are scripts that run on a schedule to check availability and latency like a user would.
-
Question 44. A company wants to send CloudWatch metrics continuously to a third-party monitoring tool. What fits?
Show answer
Answer: B. CloudWatch Metric Streams through Firehose
Metric Streams deliver metrics in near real time to Firehose destinations or partner tools.
AWS, Amazon Web Services, and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. These questions are original study material, not questions from the real exam.