nerdexam
AmazonAmazon

DOP-C02 · Question #266

DOP-C02 Question #266: Real Exam Question with Answer & Explanation

The correct answer is A: Create an association in Systems Manager State Manager. Target all the managed nodes.. By creating an association, you can ensure that all instances have the antivirus software installed and kept up-to-date.

Submitted by zhang_li· Mar 6, 2026Configuration Management and Infrastructure as Code

Question

A DevOps engineer needs to implement a solution to install antivirus software on all the Amazon EC2 instances in an AWS account. The EC2 instances run the most recent version of Amazon Linux. The solution must detect all instances and must use an AWS Systems Manager document to install the software if the software is not present. Which solution will meet these requirements?

Options

  • ACreate an association in Systems Manager State Manager. Target all the managed nodes.
  • BSet up AWS Config to record all the resources in the account. Create an AWS Config custom rule
  • CActivate Amazon EC2 scanning on Amazon Inspector to determine if the software is installed on
  • DCreate an Amazon EventBridge rule that uses AWS CloudTrail to detect the Runinstances API

Explanation

By creating an association, you can ensure that all instances have the antivirus software installed and kept up-to-date.

Topics

#Systems Manager State Manager#EC2 automation#Software installation#Configuration compliance

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions