Amazon Web Services · SOA-C03

aws SOA-C03 Practice Questions

Practice for the SOA-C03: AWS Certified CloudOps Engineer – Associate Amazon Web Services certification exam. Review available chapters with published question counts.

200 questions across 5 chapters with published questions.

Start free practice

Exam chapters

Practice questions

Sample questions with answers and explanations

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.

Other Amazon Web Services exams