AWS Certified SysOps Administrator - Associate (SOA-C02) · AWS

Monitoring, Logging, and Remediation

12 practice questions covering 20% of the official AWS Certified SysOps Administrator - Associate (SOA-C02) blueprint. Every item includes a worked explanation of the correct answer.

View all 6 domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

Syllabus Coverage & Domain Overview

Monitoring, Logging, and Remediation is the largest single domain of the SOA-C02 exam, at 20 percent of scored content. The official guide splits it into two tasks. The first is collecting and analysing operational data: metrics and logs from CloudWatch, CloudWatch Logs and Logs Insights, and CloudTrail. It also covers using the CloudWatch agent, building alarms, metric filters and dashboards, and sending notifications through Amazon SNS. The notification triggers named in the guide include alarms, Health events and Service Quotas. The second task is acting on what the monitoring tells you. That means troubleshooting and taking corrective action from alarms and notifications, using EventBridge rules to invoke actions and Systems Manager Automation runbooks, including ones tied to AWS Config rules. The exam has since been replaced by a newer version, but this page describes the SOA-C02 outline.

Several distinctions come up repeatedly. EC2 publishes some metrics by default, such as CPU, network and status checks, but memory and disk usage inside the operating system are not among them. Those need the CloudWatch agent installed and configured. CloudWatch metrics and CloudWatch Logs are separate data types: a metric filter is how you turn matching log text into a metric you can alarm on. CloudTrail records API activity, while CloudWatch records performance data and application output, so choose according to whether the question asks who did something or how a resource is behaving. System status checks point to a problem with the underlying host, and instance status checks point to the guest operating system. They call for different remedies: recovery for the first, a reboot or fix for the second. Also be clear on the difference between the alarm, the notification and the action it triggers.

Questions are usually written as short operational scenarios. They describe a symptom, an audit requirement or a noisy alert, and ask for the solution with the least operational effort or the most automation. Common traps include proposing a custom script when a managed feature exists, and expecting a default metric to exist when it does not. Another is choosing a manual response where an EventBridge rule or an automation runbook would remediate without a person. Be careful with alarms that fire on short, harmless spikes, because the evaluation settings or a combined alarm are the intended answer rather than disabling monitoring. For audit scenarios, look for the managed integrity and logging features of CloudTrail rather than a self-built check.

A practical way to prepare is to build a small lab. Install the CloudWatch agent on an instance, ship an application log, and create a metric filter and an alarm from it. Connect the alarm to an SNS topic, then add an EventBridge rule that starts an Automation runbook against the instance. Break things on purpose, for example by failing a status check or generating a log pattern, and watch the full chain run. Then read the console documentation for each service and practise explaining, in one sentence each, when you would use CloudWatch, CloudTrail, Config and EventBridge.

In the official AWS Certified SysOps Administrator - Associate (SOA-C02) examination blueprint, Monitoring, Logging, and Remediation carries a weightage of 20%. Out of the total examination duration of 3 hr, candidates should budget approximately 36 min for questions from this domain to maintain pace across the paper.

How to Master Monitoring, Logging, and Remediation for AWS Certified SysOps Administrator - Associate (SOA-C02)

Our 12 published questions in Monitoring, Logging, and Remediation are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the AWS exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Monitoring, Logging, and Remediation items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The AWS Certified SysOps Administrator - Associate (SOA-C02) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Monitoring, Logging, and Remediation item.
  • Benchmark Target: Aim for at least 72% accuracy in Monitoring, Logging, and Remediation drills before moving to full-paper simulations.

Monitoring, Logging, and Remediation worked examples

Monitoring, Logging, and Remediation questions from the AWS Certified SysOps Administrator - Associate (SOA-C02) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Monitoring, Logging, and Remediation · medium

    A financial services auditor requires proof that AWS CloudTrail log files delivered to a central Amazon S3 audit bucket have not been modified, tampered with, or deleted after CloudTrail delivered them. Which native CloudTrail feature provides cryptographic verification, and which AWS CLI command validates a time range of logs?

    • AEnable S3 Static Website Hosting and run aws s3 sync hourly
    • BEnable VPC Flow Logs version 5 and run aws ec2 describe-flow-logs in the CLI
    • CEnable CloudTrail Log File Integrity Validation and run aws cloudtrail validate-logs
    • DEnable Route 53 DNSSEC signing and run dig +dnssec against the S3 bucket URL endpoint
    Show answer and explanation

    Correct answer: C. Enable CloudTrail Log File Integrity Validation and run aws cloudtrail validate-logs

    Why

    Enabling CloudTrail Log File Integrity Validation causes CloudTrail to write hourly digest files containing SHA-256 hashes of every delivered log file and sign each digest with a private RSA key. Auditors run aws cloudtrail validate-logs to verify the chain of signed digest files and confirm no log file was altered or deleted.

    • A. Enable S3 Static Website Hosting and run aws s3 sync hourly — Static website hosting exposes the bucket publicly and s3 sync does not validate cryptographic log digests.
    • B. Enable VPC Flow Logs version 5 and run aws ec2 describe-flow-logs in the CLI — VPC Flow Logs record network traffic headers, not CloudTrail API log file integrity digests.
    • D. Enable Route 53 DNSSEC signing and run dig +dnssec against the S3 bucket URL endpoint — DNSSEC authenticates DNS records, not stored CloudTrail JSON log files.
  2. Example 2 · Monitoring, Logging, and Remediation · hard

    An application cluster frequently experiences brief, harmless 2-minute CPU spikes during scheduled cache warming, which causes the HighCPUUtilization CloudWatch alarm to page the on-call engineer unnecessarily. The operations team wants the on-call PagerDuty SNS topic to be notified only when BOTH HighCPUUtilization (CPU > 85%) AND HighALB5xxErrorRate (HTTPCode_Target_5XX_Count > 50) are in the ALARM state at the same time. Which CloudWatch feature accomplishes this without writing custom Lambda polling code?

    • ACreate a CloudWatch Contributor Insights rule over Route 53 DNS query logs
    • BConfigure EC2 Instance Status Check auto-recovery on the StatusCheckFailed_System metric
    • CCreate a CloudWatch Composite Alarm using ALARM(HighCPUUtilization) AND ALARM(HighALB5xxErrorRate)
    • DSet the CloudWatch metric retention period to 1 second in the AWS/EC2 namespace (PutMetricData)
    Show answer and explanation

    Correct answer: C. Create a CloudWatch Composite Alarm using ALARM(HighCPUUtilization) AND ALARM(HighALB5xxErrorRate)

    Why

    Amazon CloudWatch Composite Alarms combine multiple underlying metric alarms using boolean logic (ALARM(HighCPUUtilization) AND ALARM(HighALB5xxErrorRate)). The underlying child alarms do not attach SNS paging actions directly; instead, the Composite Alarm evaluates the boolean rule and triggers the SNS notification only when both conditions are simultaneously in ALARM state.

    • A. Create a CloudWatch Contributor Insights rule over Route 53 DNS query logs — Contributor Insights identifies top-N talkers in log groups, not boolean combinations of two existing alarms.
    • B. Configure EC2 Instance Status Check auto-recovery on the StatusCheckFailed_System metric — EC2 Auto-Recovery recovers instances when underlying AWS hardware fails, not when CPU and ALB 5xx alarms coincide.
    • D. Set the CloudWatch metric retention period to 1 second in the AWS/EC2 namespace (PutMetricData) — CloudWatch metrics have fixed tiered retention up to 15 months and cannot be combined by changing retention.
  3. Example 3 · Monitoring, Logging, and Remediation · hard

    A legacy application running on EC2 streams plain-text application logs to a CloudWatch Logs log group (/prod/order-service). Whenever a database deadlock occurs, the application writes a line containing the exact string FATAL_DB_DEADLOCK_ERR. The operations team wants a CloudWatch alarm to trigger if FATAL_DB_DEADLOCK_ERR appears 5 or more times within any 1-minute window, and automatically invoke an AWS Systems Manager Automation runbook to restart the service. Which two steps should the SysOps administrator configure? (Select two.)

    • AEnable VPC Flow Logs on the EC2 elastic network interface (eth0) with a 1-minute interval
    • BCreate a CloudWatch Logs Metric Filter on /prod/order-service for FATAL_DB_DEADLOCK_ERR
    • CConfigure a CloudWatch Alarm (Sum >= 5 in 60s) triggering SSM Automation via EventBridge
    • DCreate an S3 Lifecycle rule transitioning /prod/order-service to Glacier
    Show answer and explanation

    Correct answers: B. Create a CloudWatch Logs Metric Filter on /prod/order-service for FATAL_DB_DEADLOCK_ERR; C. Configure a CloudWatch Alarm (Sum >= 5 in 60s) triggering SSM Automation via EventBridge

    Why

    To turn text patterns in a CloudWatch Logs log group into an actionable alarm with automated remediation: (B) create a CloudWatch Logs Metric Filter on /prod/order-service matching "FATAL_DB_DEADLOCK_ERR" that publishes a metric value of 1 per match (B), and (C) create a CloudWatch Metric Alarm (Sum >= 5 over 1 minute) that triggers an Amazon EventBridge rule / Systems Manager Automation runbook (C).

    • A. Enable VPC Flow Logs on the EC2 elastic network interface (eth0) with a 1-minute interval — VPC Flow Logs only capture IP header metadata and never inspect application log strings.
    • D. Create an S3 Lifecycle rule transitioning /prod/order-service to Glacier — S3 Lifecycle rules manage object storage tiers and do not parse CloudWatch Logs in real time.
  4. Example 4 · Monitoring, Logging, and Remediation · easy

    A SysOps administrator needs to create an Amazon CloudWatch alarm that triggers whenever an Amazon EC2 Linux instance's available RAM drops below 15% (mem_used_percent > 85%) or its root / filesystem exceeds 90% disk utilization (disk_used_percent > 90%). However, neither metric appears in the default AWS/EC2 CloudWatch namespace. Why are these metrics missing, and how should the administrator collect them?

    • AEnable Detailed Monitoring (1-minute intervals) on the EC2 instance in the console
    • BInstall the Unified CloudWatch Agent on the EC2 instance with CloudWatchAgentServerPolicy
    • CEnable VPC Flow Logs on the subnet and send packet headers to S3
    • DEnable AWS CloudTrail Data Events on the EBS volume's KMS Customer Managed Key
    Show answer and explanation

    Correct answer: B. Install the Unified CloudWatch Agent on the EC2 instance with CloudWatchAgentServerPolicy

    Why

    By default, Amazon EC2 sends only hypervisor-level metrics (CPUUtilization, NetworkIn/Out, DiskReadBytes for instance store, and StatusCheckFailed) to the AWS/EC2 namespace. Operating-system-level metrics such as memory utilization (mem_used_percent) and filesystem disk space (disk_used_percent) require installing and configuring the Unified CloudWatch Agent on the EC2 instance (with an IAM role granting CloudWatchAgentServerPolicy), which publishes them as custom metrics under the CWAgent namespace.

    • A. Enable Detailed Monitoring (1-minute intervals) on the EC2 instance in the console — Detailed Monitoring increases hypervisor metric frequency from 5 minutes to 1 minute, but still does not collect OS-level RAM or filesystem space.
    • C. Enable VPC Flow Logs on the subnet and send packet headers to S3 — VPC Flow Logs capture IP network traffic metadata, not guest OS memory or disk usage.
    • D. Enable AWS CloudTrail Data Events on the EBS volume's KMS Customer Managed Key — CloudTrail logs AWS API calls, not guest operating system RAM or disk utilization.
  5. Example 5 · Monitoring, Logging, and Remediation · medium

    An Amazon EC2 instance fails its System Status Check (StatusCheckFailed_System = 1) while its Instance Status Check (StatusCheckFailed_Instance) also begins failing. What is the root cause of a StatusCheckFailed_System failure, and what action automatically recovers the instance on healthy physical hardware while preserving its Instance ID, Private IP, Elastic IP, and EBS volumes?

    • AUnderlying AWS host hardware failure; trigger the EC2 Recover CloudWatch alarm action
    • BGuest OS /etc/fstab syntax error; format the root EBS volume using mkfs.ext4
    • CApplication memory exhaustion inside Docker; increase the container ulimit
    • DExpired IAM Role STS session token; detach and delete the primary EC2 network interface (eth0)
    Show answer and explanation

    Correct answer: A. Underlying AWS host hardware failure; trigger the EC2 Recover CloudWatch alarm action

    Why

    StatusCheckFailed_System indicates a problem with the underlying AWS physical host hardware, power, or physical network (whereas StatusCheckFailed_Instance indicates a guest OS/kernel/filesystem issue). Configuring a CloudWatch alarm on StatusCheckFailed_System with the EC2 Recover action (or using Simplified Automatic Recovery) migrates the instance to healthy AWS host hardware while preserving its Instance ID, Private IP, Elastic IP, placement group, and EBS volumes.

    • B. Guest OS /etc/fstab syntax error; format the root EBS volume using mkfs.ext4 — An /etc/fstab guest OS error triggers StatusCheckFailed_Instance, not StatusCheckFailed_System.
    • C. Application memory exhaustion inside Docker; increase the container ulimit — Guest container memory issues affect StatusCheckFailed_Instance or custom CWAgent metrics, not StatusCheckFailed_System.
    • D. Expired IAM Role STS session token; detach and delete the primary EC2 network interface (eth0) — IAM token expiry does not fail AWS hypervisor system status checks.
  6. Example 6 · Monitoring, Logging, and Remediation · medium

    A security auditor suspects that an attacker who briefly compromised an IAM role may have modified or deleted a single JSON log file inside the company's AWS CloudTrail Amazon S3 bucket from three weeks ago. Which CloudTrail feature allows the SysOps administrator to mathematically verify via the AWS CLI (aws cloudtrail validate-logs) whether any log file was modified, deleted, or forged after CloudTrail delivered it?

    • AEnable Amazon S3 Server Access Logging on the CloudTrail bucket
    • BQuery the CloudTrailErrorCount metric in Amazon CloudWatch Metrics
    • CEnable CloudTrail Log File Integrity Validation (validate-logs)
    • DConfigure an Amazon EventBridge schedule that renames S3 objects hourly
    Show answer and explanation

    Correct answer: C. Enable CloudTrail Log File Integrity Validation (validate-logs)

    Why

    Enabling CloudTrail Log File Integrity Validation causes CloudTrail to write hourly digest files containing SHA-256 hashes of every delivered log file and to digitally sign each digest file using RSA-2048 private keys (chained to the previous digest hash). Running aws cloudtrail validate-logs detects any tampering or deletion.

    • A. Enable Amazon S3 Server Access Logging on the CloudTrail bucket — S3 Server Access Logging records bucket requests on a best-effort basis, not cryptographic SHA-256/RSA digest chains.
    • B. Query the CloudTrailErrorCount metric in Amazon CloudWatch Metrics — CloudWatch metrics show aggregate delivery counts rather than cryptographic file integrity verification.
    • D. Configure an Amazon EventBridge schedule that renames S3 objects hourly — Renaming CloudTrail objects breaks standard Athena/digest paths and provides zero cryptographic tamper evidence.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 6 Monitoring, Logging, and Remediation questions with answers

All Syllabus Domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.