SOA-C03 practice question 2 of 10

A company's developers manually install software modules on Amazon EC2 instances to deploy new versions of a service. A security audit finds that…

Choose your answer, then check it against the explanation and the full breakdown below.

Domain Deployment, Provisioning, and Automation

A company's developers manually install software modules on Amazon EC2 instances to deploy new versions of a service. A security audit finds that instances contain inconsistent and unapproved modules. A CloudOps engineer must create a new instance image that contains only approved software. Which solution will meet these requirements?
Answer options
Question 2 of 10

Question breakdown

Tests
Build standardized golden AMIs for consistent EC2 deployments
Difficulty
Easy

Key idea: EC2 Image Builder automates building, testing, and distributing hardened AMIs, so deployments start from an approved, consistent image.

How to reach the answer

  1. The requirement is to create a new instance image, which means an AMI.
  2. The image must contain only approved software, so the build should be repeatable and testable.
  3. Detective and GuardDuty investigate and detect security issues; neither builds images.
  4. Run Command patches existing instances but produces no reusable image.
  5. Image Builder pipelines with components and tests meet the requirement directly.

Each option

  • AIncorrect. Amazon Detective investigates security findings and cannot uninstall software or build images.
  • BIncorrect. GuardDuty detects threats and has no AMI creation or deployment capability.
  • CIncorrect. An in-place update with Run Command leaves drift on running instances and creates no new image.
  • DCorrect. Image Builder produces a tested AMI that contains only approved components, and pointing deployments at that AMI enforces consistency.

Common trap: Run Command looks attractive because it can install the approved modules fleet-wide, but it fixes running instances instead of producing the required image.

In practice: Platform teams run Image Builder pipelines on a schedule to produce patched golden AMIs, then reference them in launch templates for Auto Scaling groups.

Remember: When a question asks for a new image with approved software, think EC2 Image Builder plus launch templates.

Drafted with AI assistance and checked against the answer key.

Keep practicing

Take the free SOA-C03 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other SOA-C03 practice questions

Scroll to Top