exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 339 discussion

A security team must record the configuration of AWS resources, detect issues, and send notifications for findings. The main workload in the AWS account consists of an Amazon EC2 Auto Scaling group that scales in and out several times during the day.

The team wants to be notified within 2 days if any Amazon EC2 security group allows traffic on port 22 for 0.0.0.0/0. The team also needs a snapshot of the configuration of the AWS resources to be taken routinely.

The security team has already created and subscribed to an Amazon Simple Notification Service (Amazon SNS) topic.

Which solution meets these requirements?

  • A. Configure AWS Config to use periodic recording for the AWS account. Deploy the vpc-sg-port-restriction-check AWS Config managed rule. Configure AWS Config to use the SNS topic as the target for notifications.
  • B. Configure AWS Config to use configuration change recording for the AWS account. Deploy the vpc-sg-open-only-to-authorized-ports AWS Config managed rule. Configure AWS Config to use the SNS topic as the target for notifications.
  • C. Configure AWS Config to use configuration change recording for the AWS account. Deploy the ssh-restricted AWS Config managed rule. Configure AWS Config to use the SNS topic as the target for notifications.
  • D. Create an AWS Lambda function to evaluate security groups and publish a message to the SNS topic. Use an Amazon EventBridge rule to schedule the Lambda function to run once a day.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jojewi8143
4 days, 8 hours ago
Selected Answer: C
ssh-restricted
upvoted 1 times
...
matt200
1 month, 1 week ago
Selected Answer: B
Why not B? https://docs.aws.amazon.com/config/latest/developerguide/vpc-sg-open-only-to-authorized-ports.html
upvoted 1 times
matt200
1 month ago
change my mind to C
upvoted 1 times
...
...
CHRIS12722222
1 month, 1 week ago
Selected Answer: A
i think we need to use periodic or daily recording instead of continuous one
upvoted 1 times
...
spring21
1 month, 2 weeks ago
Selected Answer: C
For monitoring if any EC2 security group allows traffic on port 22 (SSH) from 0.0.0.0/0: Use the managed AWS Config rule: restricted-ssh This rule checks that security groups do not allow unrestricted incoming SSH traffic (port 22) from 0.0.0.0/0.
upvoted 3 times
...
eugene2owl
1 month, 3 weeks ago
Selected Answer: A
"A" because "vpc-sg-port-restriction-check" fits requested check well, and the condition says "... to be taken routinely", which means "periodically", "regularly". "B" and "C" propose running "on-change" instead, which does not fit condition "routinely"
upvoted 2 times
...
f4b18ba
2 months, 2 weeks ago
Selected Answer: C
Configuration Change Recording: By configuring AWS Config to use configuration change recording, the system will continuously monitor and record configurations of your AWS resources whenever there are changes. This ensures real-time compliance monitoring and reduces the delay in detection. Appropriate Managed Rule: The ssh-restricted AWS Config managed rule specifically checks for security groups that allow unrestricted SSH (port 22) access. This rule directly addresses the requirement to be notified if any EC2 security group allows traffic on port 22 for 0.0.0.0/0. Notification Setup: Configuring AWS Config to use the SNS topic ensures that the security team will be notified within the specified time frame if the rule is violated. AWS Config can send notifications to the SNS topic as soon as a non-compliant resource is detected.
upvoted 3 times
...
uncledana
2 months, 2 weeks ago
Selected Answer: C
The correct answer is C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago