aws SOA-C03: AWS Certified CloudOps Engineer – Associate · Practice questions

Domain 1: Monitoring, Logging, Analysis, Remediation, and Performance Optimization Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A CloudWatch alarm monitors a custom metric that an application publishes only when a job fails. Because the metric has no data most of the time, the alarm often shows INSUFFICIENT_DATA, and the on-call team ignores it. The alarm must be OK when there is no data and ALARM when failures are reported. What should the CloudOps engineer do?

  1. Set the alarm's treatment of missing data to notBreaching. — Correct
  2. Increase the alarm's evaluation period from 1 minute to 1 day.
  3. Replace the alarm with a composite alarm that uses the OR operator.
  4. Set the alarm's treatment of missing data to breaching.

Correct answer

Set the alarm's treatment of missing data to notBreaching.

Explanation

notBreaching treats missing data points as good, so the alarm stays OK until failures are published. breaching would put the alarm in ALARM when there is no data. A longer period still has no data. A composite alarm does not change how missing data is handled.

Question 2

A database administrator needs to see which operating system processes consume CPU on an Amazon RDS for MySQL instance, with data points every few seconds. Standard CloudWatch metrics show only overall CPU utilization. What should the CloudOps engineer enable?

  1. CloudWatch detailed monitoring enabled for the DB instance.
  2. RDS Enhanced Monitoring with a granularity of 1 to 5 seconds. — Correct
  3. AWS CloudTrail data events for the DB instance.
  4. The RDS slow query log published to CloudWatch Logs groups.

Correct answer

RDS Enhanced Monitoring with a granularity of 1 to 5 seconds.

Explanation

Enhanced Monitoring collects OS-level metrics, including a process list, at intervals as short as 1 second. RDS has no separate detailed monitoring setting. The slow query log shows queries, not OS processes. CloudTrail records API calls.

Question 3

An application behind an ALB reports intermittent 502 errors. The CloudOps engineer must find the cause. Which data sources should the engineer review FIRST? (Choose TWO.)

  1. The application logs on the targets for crashes or closed connections. — Correct
  2. The S3 Storage Lens dashboard for the bucket that stores the access logs.
  3. The IAM credential report for the account that owns the load balancer.
  4. The ALB access logs, including the target status code and error reason fields. — Correct
  5. The AWS Cost and Usage Report for the load balancer and the EC2 instances.

Correct answer

The application logs on the targets for crashes or closed connections.; The ALB access logs, including the target status code and error reason fields.

Explanation

ALB access logs show which requests failed and why, and target logs show whether the application closed connections or crashed. Cost reports, credential reports, and Storage Lens are unrelated to 502 errors.

Question 4

A database on EC2 uses a 500 GiB gp2 EBS volume. During long batch jobs, the volume's BurstBalance metric drops to zero and I/O latency rises sharply. The workload needs a steady 6,000 IOPS. Which solution meets this requirement MOST cost-effectively?

  1. Modify the volume to st1 to increase sequential throughput.
  2. Modify the volume to io2 and set provisioned IOPS to 6,000.
  3. Increase the gp2 volume size to 2,000 GiB to raise baseline IOPS.
  4. Modify the volume to gp3 and set provisioned IOPS to 6,000. — Correct

Correct answer

Modify the volume to gp3 and set provisioned IOPS to 6,000.

Explanation

gp3 lets you provision IOPS independently of size at a lower price than io2 or a much larger gp2 volume. io2 works but costs more. st1 is a throughput-optimized HDD volume that is not suited to random I/O. A 2,000 GiB gp2 volume gives 6,000 IOPS but costs more than gp3.

Question 5

A company's VPC flow logs are sent to CloudWatch Logs and cost more than expected. Analysts query them only a few times a month with SQL. Which change reduces cost while still allowing queries?

  1. Publish the flow logs to CloudWatch Logs with a 10-year retention setting.
  2. Turn off the flow logs and enable them only when an incident is reported.
  3. Publish the flow logs to S3 in Parquet format and query them with Athena. — Correct
  4. Publish the flow logs to Kinesis Data Streams and keep them for 365 days.

Correct answer

Publish the flow logs to S3 in Parquet format and query them with Athena.

Explanation

S3 storage is cheaper than CloudWatch Logs ingestion, and Parquet with Athena is efficient for occasional SQL queries. Longer CloudWatch retention increases cost. Turning logs off loses history. Kinesis is costly for long-term storage.

Question 6

An application team wants to know when an EC2 Auto Scaling group fails to launch instances because of insufficient capacity in an Availability Zone, so that they can respond quickly. Which solution meets this requirement?

  1. Create an EventBridge rule for EC2 Instance Launch Unsuccessful events with an SNS target. — Correct
  2. Create a CloudWatch alarm on the Auto Scaling group's GroupMaxSize metric with an SNS notification action.
  3. Review the Auto Scaling group's activity history in the console every hour.
  4. Create an AWS Config rule that checks the instance count of the Auto Scaling group every day.

Correct answer

Create an EventBridge rule for EC2 Instance Launch Unsuccessful events with an SNS target.

Explanation

Auto Scaling emits launch-unsuccessful events to EventBridge, which can notify immediately. GroupMaxSize does not change on failures. Daily Config checks and hourly reviews are too slow.

Question 7

A company stores 500 TB of data in S3 Standard. Access patterns are unknown and change over time; some objects are accessed often and others not for months. The team wants to reduce storage cost without retrieval fees or performance impact. Which storage class should the CloudOps engineer use?

  1. S3 Glacier Flexible Retrieval
  2. S3 One Zone-Infrequent Access
  3. S3 Intelligent-Tiering — Correct
  4. S3 Standard-Infrequent Access

Correct answer

S3 Intelligent-Tiering

Explanation

Intelligent-Tiering moves objects between access tiers automatically based on usage, with no retrieval fees. Standard-IA and One Zone-IA charge for retrievals. Glacier Flexible Retrieval has retrieval delays.

Question 8

A company runs several Amazon EKS clusters. The CloudOps team needs to collect container logs and metrics from every cluster into CloudWatch with the LEAST management effort. What should the team do?

  1. Install the CloudWatch agent on each worker node by using EC2 user data and configure it to read the container logs.
  2. Install the Amazon CloudWatch Observability EKS add-on on each cluster to enable Container Insights and log collection. — Correct
  3. Enable CloudTrail data events for each EKS cluster and send the events to CloudWatch Logs.
  4. Enable VPC flow logs on the cluster subnets and create metric filters for each container's traffic.

Correct answer

Install the Amazon CloudWatch Observability EKS add-on on each cluster to enable Container Insights and log collection.

Explanation

The CloudWatch Observability add-on deploys the agent and Fluent Bit as managed components and enables Container Insights. User data scripts are harder to manage and miss managed node updates. Flow logs and CloudTrail do not capture container logs or metrics.

Question 9

A company wants to be alerted when any EC2 instance's root EBS volume is more than 90 percent full. Which solution meets this requirement?

  1. Create a CloudWatch alarm on the EBS VolumeReadBytes metric for each volume with a threshold of 90 percent.
  2. Enable AWS Trusted Advisor checks for EBS volumes that are close to their storage limit.
  3. Install the CloudWatch agent to publish disk_used_percent and create CloudWatch alarms on that metric. — Correct
  4. Create an AWS Config rule that compares each volume's size with its last snapshot size.

Correct answer

Install the CloudWatch agent to publish disk_used_percent and create CloudWatch alarms on that metric.

Explanation

Disk usage is visible only inside the operating system, so the CloudWatch agent must publish it. VolumeReadBytes measures I/O, not usage. Trusted Advisor and Config do not report file system usage.

Question 10

A company's CloudWatch dashboard must be viewable by executives who do not have AWS accounts, and the data must stay up to date. Which solution meets this requirement with the LEAST effort?

  1. Create an IAM user for each executive with read-only access to CloudWatch and send them the sign-in link.
  2. Export the dashboard's metrics to S3 and build a static website that displays the latest metric values.
  3. Share the CloudWatch dashboard with specific email addresses or through SSO by using dashboard sharing. — Correct
  4. Take screenshots of the dashboard every hour and email them to the executives with a Lambda function.

Correct answer

Share the CloudWatch dashboard with specific email addresses or through SSO by using dashboard sharing.

Explanation

CloudWatch dashboard sharing allows people without AWS accounts to view live dashboards. Screenshots are not live. IAM users for each executive add management overhead. A custom website requires development.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz