AWS CloudOps Engineer Associate · Domain 1 of 5 · 22% of the exam

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

  1. Question 1. An operations team needs memory and disk-space utilization from a fleet of EC2 Linux instances in CloudWatch. What must be done?

    1. Enable detailed monitoring on the instances
    2. Turn on VPC Flow Logs for the subnet
    3. Install and configure the CloudWatch agent on the instances
    4. Enable AWS Config recording for EC2
    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.

  2. Question 2. What does enabling detailed monitoring on an EC2 instance change?

    1. Memory and swap metrics are added automatically
    2. Logs from the OS are sent to CloudWatch Logs
    3. The instance is recovered automatically on failure
    4. Default metrics are published every 1 minute instead of every 5
    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.

  3. Question 3. The CloudWatch agent configuration must be the same on 300 instances and easy to update. Where should it be stored?

    1. In a text file copied manually to each instance
    2. In Systems Manager Parameter Store, loaded by the agent
    3. In the EC2 instance user data only
    4. In an S3 bucket policy
    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.

  4. Question 4. An alarm should stop an idle development instance when average CPU stays under 5% for 2 hours. What is the simplest approach?

    1. A CloudWatch alarm with the EC2 stop action
    2. A Lambda function that polls CPU every minute
    3. An Auto Scaling group with a scheduled action
    4. An AWS Config rule that stops the instance
    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.

  5. Question 5. An EC2 instance fails a system status check because of underlying host hardware. What restores it automatically on a new host?

    1. A CloudWatch alarm with the EC2 recover action
    2. A reboot triggered by the instance status check
    3. An AMI copy of the instance to another Region
    4. A change to a larger instance type in the same AZ
    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.

  6. Question 6. An instance status check fails, but system status checks pass. What is the likely cause?

    1. A power failure in the Availability Zone
    2. A problem inside the OS, such as a full disk
    3. A failed network device on the AWS side
    4. A problem with the EBS service in the Region
    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.

  7. Question 7. A team gets too many alerts because a metric briefly crosses a threshold and recovers. What reduces noise?

    1. Lower the alarm threshold so it fires sooner
    2. Change the metric period to 1 second
    3. Delete the alarm and rely on dashboards instead
    4. Alarm only when M out of N recent datapoints breach
    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.

  8. Question 8. An alarm must trigger only when both high CPU and high latency occur together. What should be used?

    1. A single alarm with two thresholds on one metric
    2. Two separate alarms sending to the same topic
    3. A composite alarm combining the two alarms with AND
    4. An anomaly detection band on CPU only
    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.

  9. Question 9. A metric has a daily traffic pattern, so a fixed threshold causes false alarms. Which feature adapts to the pattern?

    1. CloudWatch anomaly detection
    2. Metric math with a constant
    3. A longer retention period
    4. High-resolution metrics
    Show answer

    Answer: A. CloudWatch anomaly detection

    Anomaly detection learns expected values and alarms when the metric leaves the band.

  10. Question 10. How should an alarm treat periods with no data from an instance that was stopped on purpose?

    1. Set missing data treatment to breaching
    2. Lower the threshold to zero
    3. Set missing data treatment to notBreaching or ignore
    4. Increase the evaluation period to 1 day
    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.

  11. Question 11. An operator wants CloudWatch alarms for all EC2 instances across 10 accounts on one screen. What fits?

    1. Separate dashboards in every account
    2. Exporting all metrics to S3 daily
    3. A single IAM user shared across accounts
    4. Cross-account observability with a monitoring account
    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.

  12. Question 12. Which CloudWatch Logs Insights query command groups log events and counts them?

    1. filter count(*)
    2. parse count by field
    3. sort count(*) desc only
    4. stats count(*) by field
    Show answer

    Answer: D. stats count(*) by field

    stats aggregates results. filter narrows events, and parse extracts fields from text.

  13. Question 13. Application logs must be searchable for 30 days and archived for 7 years at the lowest cost. What should be done?

    1. Keep all of the logs in CloudWatch Logs forever
    2. Store the logs on EBS volumes and snapshot them daily
    3. Send the logs to DynamoDB with a TTL of 7 years
    4. 30-day log retention, plus export to S3 with lifecycle to Glacier
    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.

  14. Question 14. A metric filter should count HTTP 5xx responses in web server logs. What does the filter create?

    1. A new log group for the errors
    2. An EventBridge rule for each error
    3. A CloudWatch metric that alarms can use
    4. An X-Ray trace for each request
    Show answer

    Answer: C. A CloudWatch metric that alarms can use

    Metric filters turn matching log patterns into metric values.

  15. Question 15. Operators must be notified when anyone changes a security group. Which service detects the API call?

    1. CloudTrail events matched by an EventBridge rule
    2. VPC Flow Logs with a metric filter on port 22
    3. CloudWatch agent logs from each instance
    4. AWS Trusted Advisor security checks
    Show answer

    Answer: A. CloudTrail events matched by an EventBridge rule

    CloudTrail records AuthorizeSecurityGroupIngress and similar calls, and EventBridge can route them to SNS.

  16. Question 16. An AWS Config rule reports that an S3 bucket allows public access. How can this be fixed automatically?

    1. Attach an SSM Automation remediation action to the rule
    2. Enable CloudTrail log file validation
    3. Increase the rule's evaluation frequency
    4. Delete the Config recorder
    Show answer

    Answer: A. Attach an SSM Automation remediation action to the rule

    Config remediation runs Systems Manager Automation documents, automatically or on demand.

  17. Question 17. Which AWS Config feature applies a set of rules and remediations to many accounts as one package?

    1. Configuration aggregators only
    2. Advanced queries
    3. Conformance packs
    4. Resource relationships
    Show answer

    Answer: C. Conformance packs

    Conformance packs bundle rules and remediation actions and can be deployed across an organization.

  18. 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?

    1. AWS Config advanced queries with an aggregator
    2. CloudWatch Logs Insights across log groups
    3. Amazon Athena on CloudTrail logs only
    4. The AWS Health Dashboard for each account
    Show answer

    Answer: A. AWS Config advanced queries with an aggregator

    Config advanced queries search current configuration data, and aggregators combine accounts and Regions.

  19. Question 19. Which service shows AWS events that affect a specific account's resources, such as scheduled EC2 maintenance?

    1. AWS Trusted Advisor
    2. AWS Service Quotas
    3. AWS Compute Optimizer
    4. AWS Health Dashboard
    Show answer

    Answer: D. AWS Health Dashboard

    The Health Dashboard lists account-specific events, and EventBridge can react to AWS Health events automatically.

  20. Question 20. An EC2 instance is scheduled for retirement. How can the team be notified and act automatically?

    1. An EventBridge rule on AWS Health events that runs automation
    2. A CloudWatch alarm on the instance's CPU utilization
    3. An AWS Config rule that checks the instance type
    4. A CloudTrail trail with log file validation enabled
    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.

  21. Question 21. Which service recommends right-sized EC2 instance types based on actual utilization?

    1. AWS Budgets
    2. AWS Health Dashboard
    3. AWS Compute Optimizer
    4. Amazon Inspector
    Show answer

    Answer: C. AWS Compute Optimizer

    Compute Optimizer analyzes metrics for EC2, Auto Scaling groups, EBS, Lambda, and ECS on Fargate.

  22. Question 22. A gp2 EBS volume runs out of burst credits and slows down. What is the most cost-effective fix?

    1. Change the volume to io2 Block Express
    2. Attach a second gp2 volume and mirror the data
    3. Increase the memory of the attached instance
    4. Change it to gp3 and set the IOPS and throughput needed
    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.

  23. Question 23. Which metric shows that an EBS volume is limited by its provisioned performance?

    1. VolumeQueueLength staying high
    2. VolumeIdleTime near 100%
    3. CPUUtilization near 0%
    4. NetworkIn staying low
    Show answer

    Answer: A. VolumeQueueLength staying high

    A long queue means requests are waiting. Compare throughput and IOPS against the volume's limits.

  24. Question 24. An RDS instance has slow queries. Which feature shows which SQL statements cause the most load?

    1. Enhanced Monitoring only
    2. RDS event subscriptions
    3. Automated backups
    4. Performance Insights
    Show answer

    Answer: D. Performance Insights

    Performance Insights shows database load by wait events, SQL, hosts, and users. Enhanced Monitoring shows OS-level metrics.

  25. Question 25. A read-heavy RDS database is overloaded by reporting queries. What reduces load on the primary?

    1. Send reports to a read replica
    2. Enable Multi-AZ on the primary
    3. Increase the backup retention period
    4. Change the storage type to magnetic
    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.

  26. Question 26. An application opens and closes many database connections, exhausting RDS connection limits. What helps?

    1. A larger backup window
    2. Amazon RDS Proxy
    3. A second parameter group
    4. An RDS event subscription
    Show answer

    Answer: B. Amazon RDS Proxy

    RDS Proxy pools and reuses connections, which helps bursty applications and Lambda functions.

  27. Question 27. A CloudFront distribution has a low cache hit ratio. What can improve it?

    1. Add every request header to the cache key
    2. Remove unneeded headers and cookies from the cache key
    3. Set a TTL of zero seconds on all objects
    4. Disable compression on the distribution
    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.

  28. Question 28. An ElastiCache cluster shows high Evictions. What does this mean?

    1. Clients cannot connect to the cluster
    2. The cache is out of memory and removing items to make room
    3. The cluster is replicating to another Region
    4. Backups are failing every night
    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.

  29. Question 29. Which Systems Manager capability runs a command on hundreds of instances at once without SSH?

    1. Parameter Store
    2. Run Command
    3. Session Manager only
    4. Change Calendar
    Show answer

    Answer: B. Run Command

    Run Command executes SSM documents on targets chosen by tags or resource groups, with rate and error controls.

  30. Question 30. A web server process crashes occasionally. The team wants it restarted automatically when a CloudWatch alarm fires. What fits?

    1. The alarm sends an email and waits for an operator
    2. A Config rule restarts the process
    3. CloudTrail restarts the process on failure
    4. The alarm triggers an SSM Automation runbook through EventBridge
    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.

  31. Question 31. Which Systems Manager feature schedules routine tasks, such as patching or snapshots, within defined time slots?

    1. Parameter Store
    2. Maintenance Windows
    3. Distributor
    4. Session Manager
    Show answer

    Answer: B. Maintenance Windows

    Maintenance Windows run tasks on registered targets during a set schedule and duration.

  32. Question 32. Which tool gives an operator a single view of operational issues and related resources to investigate and resolve them?

    1. Systems Manager OpsCenter
    2. AWS Artifact
    3. AWS Budgets
    4. IAM Access Analyzer
    Show answer

    Answer: A. Systems Manager OpsCenter

    OpsCenter aggregates OpsItems from CloudWatch, Config, and other sources, with runbooks to resolve them.

  33. Question 33. An Auto Scaling group scales too late when traffic ramps up every morning at 8:00. What helps?

    1. A longer health check grace period
    2. A scheduled action or predictive scaling
    3. A smaller maximum capacity for the group
    4. Disabling the group's scale-in policy
    Show answer

    Answer: B. A scheduled action or predictive scaling

    Scheduled and predictive scaling add capacity before the known load arrives.

  34. 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?

    1. Target tracking scaling
    2. Scheduled scaling
    3. Step scaling
    4. Predictive scaling only
    Show answer

    Answer: C. Step scaling

    Step scaling sets different adjustments for different alarm breach sizes. Target tracking manages the steps for you.

  35. Question 35. Auto Scaling launches instances that take 5 minutes to warm up, causing extra scale-outs. What should be set?

    1. An instance warmup period on the group
    2. A cooldown period of 0 seconds
    3. A lower maximum size for the group
    4. A different AMI owner in the template
    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.

  36. Question 36. Instances in an Auto Scaling group must finish installing software before receiving traffic. What helps?

    1. A scheduled action at launch time
    2. A larger desired capacity
    3. A lifecycle hook on launch
    4. A termination policy
    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.

  37. Question 37. An operations dashboard should show metrics from EC2, RDS, and ALB for one application. What should be built?

    1. A CloudTrail trail for each service
    2. A Config aggregator for the application
    3. An S3 bucket of exported metrics
    4. A CloudWatch dashboard with widgets for each metric
    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.

  38. Question 38. An operator must check how an ALB is performing. Which metric shows responses returned by the targets with 5xx errors?

    1. HTTPCode_ELB_4XX_Count
    2. ActiveConnectionCount
    3. ConsumedLCUs
    4. HTTPCode_Target_5XX_Count
    Show answer

    Answer: D. HTTPCode_Target_5XX_Count

    Target 5xx means the backend failed. ELB 5xx means the load balancer itself generated the error.

  39. Question 39. An ALB returns HTTP 503 errors to clients. What is a common cause?

    1. The client sent a malformed request
    2. The listener certificate has expired
    3. The target responded too slowly after connecting
    4. No healthy registered targets in the target group
    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.

  40. Question 40. An ALB returns HTTP 504 errors. What does this usually indicate?

    1. No targets are registered in the target group
    2. The target didn't respond before the idle timeout
    3. The request was blocked by AWS WAF
    4. The listener rule has no matching condition
    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.

  41. Question 41. Which log records every request to an Application Load Balancer, including client IP, latency, and response code?

    1. ALB access logs stored in S3
    2. VPC Flow Logs for the subnet
    3. CloudTrail management events
    4. CloudWatch agent logs on each target
    Show answer

    Answer: A. ALB access logs stored in S3

    Access logs must be enabled and give request-level details for troubleshooting.

  42. Question 42. A Lambda-based API is slow, and operators must find which downstream call takes the most time. Which feature helps?

    1. CloudTrail data events for the Lambda function
    2. The AWS Config configuration timeline
    3. X-Ray traces with CloudWatch Application Signals
    4. Trusted Advisor performance checks
    Show answer

    Answer: C. X-Ray traces with CloudWatch Application Signals

    Traces break down latency by segment and show service maps across components.

  43. Question 43. Which CloudWatch feature tests an API endpoint from outside every few minutes and alerts on failures?

    1. CloudWatch Contributor Insights
    2. CloudWatch Logs subscription filters
    3. CloudWatch Synthetics canaries
    4. CloudWatch Metric Streams
    Show answer

    Answer: C. CloudWatch Synthetics canaries

    Canaries are scripts that run on a schedule to check availability and latency like a user would.

  44. Question 44. A company wants to send CloudWatch metrics continuously to a third-party monitoring tool. What fits?

    1. Daily exports of the metrics to CSV files
    2. CloudWatch Metric Streams through Firehose
    3. CloudTrail Lake queries run every hour
    4. An AWS Config delivery channel to S3
    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.