ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 424 - SOA-C02 discussion

Report
Export

The company wants to ensure that SSH access to EC2 instances is not publicly accessible, and if it becomes open, it needs to close the port immediately.

A.

Add an Amazon CloudWatch alarm to detect the security groups that allow SSH.

Answers
A.

Add an Amazon CloudWatch alarm to detect the security groups that allow SSH.

B.

Add an AWS Config rule to detect the security groups that allow SSH.

Answers
B.

Add an AWS Config rule to detect the security groups that allow SSH.

C.

Add an assessment template to Amazon Inspector to detect the security groups that allow SSH.

Answers
C.

Add an assessment template to Amazon Inspector to detect the security groups that allow SSH.

D.

Call an AWS Systems Manager Automation runbook to close the port.

Answers
D.

Call an AWS Systems Manager Automation runbook to close the port.

E.

Call AWS Systems Manager Run Command to close the port.

Answers
E.

Call AWS Systems Manager Run Command to close the port.

Suggested answer: B, D

Explanation:

To monitor and remediate open SSH ports, AWS Config and Systems Manager Automation are ideal:

AWS Config Rule: Use AWS Config to monitor security groups and detect when SSH (port 22) is open to the public. Config rules can be set up to trigger remediation actions automatically.

Systems Manager Automation Runbook: Create or use a predefined automation runbook that can remove the open SSH rule from security groups, thus closing port 22 to the public.

CloudWatch alarms are not ideal for monitoring security group configurations. Amazon Inspector focuses on vulnerability assessment rather than continuous monitoring for specific port access.

asked 06/11/2024
ANNA RIBALTA
26 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first