Question 514 of 1,546
Deployment, Provisioning, and AutomationhardMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the SSM Agent is not installed or is not running on the EC2 instance. This is the most likely cause because a Systems Manager Association relies on the SSM Agent on the instance to pull and execute the association document; if the agent is absent or inactive, the association created by CloudFormation will never apply, even if the stack creation succeeds. For the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding of the dependency between CloudFormation resource creation and the underlying instance readiness—a common trap is assuming that a successful stack deployment guarantees the association will run, when in fact the agent must be present and active. The VPC endpoint for Systems Manager is correctly configured, and the instance profile is not the blocker here, as it only grants permissions for the agent to call the service. Remember the memory tip: “No agent, no action—the association can’t pull without the agent running.”

SOA-C02 Deployment, Provisioning, and Automation Practice Question

This SOA-C02 practice question tests your understanding of deployment, provisioning, and automation. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

A company has a production AWS CloudFormation stack that creates an Amazon EC2 instance with an AWS Systems Manager Association to install software. The stack creation succeeds, but the association does not apply to the instance. The instance is in a private subnet with a VPC endpoint for Systems Manager. What is the MOST likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1hardmultiple choice
Review the full subnetting walkthrough →

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

The SSM Agent is not installed or is not running on the EC2 instance.

The association is created at stack creation, but if the instance does not have the SSM Agent installed and running, the association will not apply. Option A is correct. Option B is wrong because the VPC endpoint is configured. Option C is wrong because the instance profile is not directly related to the association application. Option D is wrong because the Systems Manager automation document is not needed for state manager associations.

Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Answer analysis

Option-by-option breakdown

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

  • The SSM Agent is not installed or is not running on the EC2 instance.

    Why this is correct

    Systems Manager associations require the SSM Agent to be installed and running on the instance to process the association.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    CIDR notation defines the prefix length.

  • The VPC endpoint for Systems Manager is not in the same subnet as the instance.

    Why it's wrong here

    VPC endpoints are regional and accessible from any subnet in the VPC, but the instance must have a route to the endpoint.

  • The instance does not have an IAM instance profile that allows Systems Manager actions.

    Why it's wrong here

    While IAM permissions are required, the error is about the association not applying, which typically indicates the agent is not running. However, without proper permissions, the agent cannot communicate; but the most likely cause is the agent itself.

  • The association uses an Automation document that requires a different type of instance.

    Why it's wrong here

    State Manager associations typically use Command or Policy documents, not Automation documents.

Common exam traps

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Trap categories for this question

  • Command / output trap

    State Manager associations typically use Command or Policy documents, not Automation documents.

Detailed technical explanation

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Key takeaway

Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SOA-C02 subnetting questions on CIDR, address ranges, and subnet selection.

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?

Deployment, Provisioning, and Automation — This question tests Deployment, Provisioning, and Automation — CIDR notation defines the prefix length..

What is the correct answer to this question?

The correct answer is: The SSM Agent is not installed or is not running on the EC2 instance. — The association is created at stack creation, but if the instance does not have the SSM Agent installed and running, the association will not apply. Option A is correct. Option B is wrong because the VPC endpoint is configured. Option C is wrong because the instance profile is not directly related to the association application. Option D is wrong because the Systems Manager automation document is not needed for state manager associations.

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

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SOA-C02 subnetting questions on CIDR, address ranges, and subnet selection.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

CIDR notation defines the prefix length.

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

Keep practising

More SOA-C02 practice questions

Last reviewed: Jun 20, 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.