Question 1,147 of 1,546
Monitoring, Logging, and RemediationmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to install the CloudWatch agent on the EC2 instances to publish memory metrics. This is necessary because standard EC2 monitoring only captures hypervisor-level metrics like CPU and network, while memory utilization is a guest-level OS metric that requires an agent to collect and send to CloudWatch. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding that custom metrics are essential for Auto Scaling actions based on memory, and a common trap is assuming the default CloudWatch metrics include memory. To monitor EC2 memory usage with CloudWatch and Auto Scaling, you must install the agent, define the metric in the agent configuration, and then create a CloudWatch alarm that triggers a scale-out policy when memory exceeds 80%. Remember the mnemonic: “No agent, no memory gauge” — without the CloudWatch agent, you cannot track memory for scaling decisions.

SOA-C02 Monitoring, Logging, and Remediation Practice Question

This SOA-C02 practice question tests your understanding of monitoring, logging, and remediation. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An application running on EC2 instances in an Auto Scaling group is experiencing intermittent errors. The errors correlate with periods of high memory usage. The SysOps administrator wants to set up a CloudWatch alarm to scale out when memory usage exceeds 80%. What should the administrator do to enable monitoring of memory usage?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Install the CloudWatch agent on the EC2 instances to publish memory metrics.

The CloudWatch agent is required to publish custom memory metrics from EC2 instances because memory utilization is not a standard metric provided by default. By installing and configuring the agent, the administrator can collect memory usage data and create a CloudWatch alarm to trigger Auto Scaling actions when usage exceeds 80%.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable detailed monitoring on the Auto Scaling group.

    Why it's wrong here

    Detailed monitoring only increases frequency of existing metrics, not new ones.

  • Install the CloudWatch agent on the EC2 instances to publish memory metrics.

    Why this is correct

    The CloudWatch agent collects memory and other custom metrics.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use the default EC2 memory metric provided by CloudWatch.

    Why it's wrong here

    There is no default memory metric for EC2.

  • Create a Lambda function to pull memory data from the EC2 instances.

    Why it's wrong here

    Lambda cannot pull data without an agent; it's more complex.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume memory metrics are automatically available in CloudWatch like CPU utilization, but AWS intentionally excludes guest-level metrics (memory, disk, swap) by default, requiring the CloudWatch agent to be installed and configured.

Detailed technical explanation

How to think about this question

The CloudWatch agent collects memory metrics by reading from /proc/meminfo on Linux or Performance Counters on Windows, then publishes them as custom metrics to CloudWatch using the PutMetricData API. These custom metrics can be used in CloudWatch alarms and Auto Scaling policies, but note that custom metrics incur additional charges and require the agent to be installed on every instance in the Auto Scaling group, ideally via a launch template or user data script.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SOA-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SOA-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SOA-C02 question test?

Monitoring, Logging, and Remediation — This question tests Monitoring, Logging, and Remediation — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Install the CloudWatch agent on the EC2 instances to publish memory metrics. — The CloudWatch agent is required to publish custom memory metrics from EC2 instances because memory utilization is not a standard metric provided by default. By installing and configuring the agent, the administrator can collect memory usage data and create a CloudWatch alarm to trigger Auto Scaling actions when usage exceeds 80%.

What should I do if I get this SOA-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.