nerdexam
Amazon

SOA-C02 · Question #616

A company's security policy requires incoming SSH traffic to be restricted to a defined set of addresses. The company is using an AWS Config rule to check whether security groups allow unrestricted in

The correct answer is B. Configure an automatic remediation action on the AWS Config rule. Specify the AWS-. Automatic Remediation: AWS Config allows you to set up automatic remediation actions directly associated with specific rules. By configuring an automatic remediation action, you can ensure that any noncompliant resources are automatically corrected without manual intervention. Pr

Submitted by ngozi_ng· Mar 30, 2026Security and Compliance

Question

A company's security policy requires incoming SSH traffic to be restricted to a defined set of addresses. The company is using an AWS Config rule to check whether security groups allow unrestricted incoming SSH traffic. A SysOps administrator discovers a noncompliant resource and fixes the security group manually. The SysOps administrator wants to automate the remediation of other noncompliant resources. What is the MOST operationally efficient solution that meets these requirements?

Options

  • ACreate an Amazon CloudWatch alarm for the AWS Config rule's status metric. Create an AWS
  • BConfigure an automatic remediation action on the AWS Config rule. Specify the AWS-
  • CConfigure an Amazon EventBridge rule for AWS Config configuration item change events. Create
  • DCreate an AWS Lambda function that can analyze a security group's inbound rules to check for

How the community answered

(45 responses)
  • A
    18% (8)
  • B
    71% (32)
  • C
    4% (2)
  • D
    7% (3)

Explanation

Automatic Remediation: AWS Config allows you to set up automatic remediation actions directly associated with specific rules. By configuring an automatic remediation action, you can ensure that any noncompliant resources are automatically corrected without manual intervention. Predefined Remediation Actions: The AWS-DisableIncomingSSHOnPort22 action specifically addresses the issue of unrestricted incoming SSH traffic, making it a direct and effective solution for the security policy requirement.

Topics

#AWS Config rules#automatic remediation#security groups#SSH restriction

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice