DOP-C02 practice question 20 of 35
A company hired a penetration tester to simulate an internal security breach The tester performed port scans on the company's Amazon EC2 instances…
Full set: 449 questionsEnsure that Amazon GuardDuty is Enabled: Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior. It can detect port scans and generate findings for these events. Create an Amazon CloudWatch Alarm for Detected EC2 and Port Scan Findings: Configure GuardDuty to monitor for port scans and other threats. Create a CloudWatch alarm that triggers when GuardDuty detects port scan activities. Connect the Alarm to the SNS Topic: The CloudWatch alarm should be configured to send notifications to the SNS topic subscribed by the security team. This setup ensures that the security team receives near-real-time notifications when a port scan is detected on the EC2 instances. Example configuration steps: Enable GuardDuty and ensure it is monitoring the relevant AWS accounts. Create a CloudWatch alarm:
{
"AlarmName": "GuardDutyPortScanAlarm", "MetricName": "ThreatIntelIndicator", "Namespace": "AWS/GuardDuty", "Statistic": "Sum", "Dimensions": [
{
"Name": "FindingType", "Value": "Recon:EC2/Portscan"
}
], "Period": 300, "EvaluationPeriods": 1, "Threshold": 1, "ComparisonOperator": "GreaterThanOrEqualToThreshold", "AlarmActions": ["arn:aws:sns:region:account-id:SecurityAlerts"]
}
Reference: Amazon GuardDuty Creating CloudWatch Alarms for GuardDuty Findings
Keep practicing
Take the free DOP-C02 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DOP-C02 practice questions
- Question 1A company has enabled all features for its organization in AWS Organizations. The organiz…
- Question 2A company is developing a web application's infrastructure using AWS CloudFormation The d…
- Question 3A company uses Amazon Redshift as its data warehouse solution. The company wants to creat…
- Question 4A company recently deployed its web application on AWS. The company is preparing for a la…
- Question 5A company is migrating from its on-premises data center to AWS. The company currently use…
- Question 6A security team is concerned that a developer can unintentionally attach an Elastic IP ad…
