Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 219 discussion

A company has set up its entire infrastructure on AWS. The company uses Amazon EC2 instances to host its ecommerce website and uses Amazon S3 to store static data. Three engineers at the company handle the cloud administration and development through one AWS account. Occasionally, an engineer alters an EC2 security group configuration of another engineer and causes noncompliance issues in the environment.

A solutions architect must set up a system that tracks changes that the engineers make. The system must send alerts when the engineers make noncompliant changes to the security settings for the EC2 instances.

What is the FASTEST way for the solutions architect to meet these requirements?

  • A. Set up AWS Organizations for the company. Apply SCPs to govern and track noncompliant security group changes that are made to the AWS account.
  • B. Enable AWS CloudTrail to capture the changes to EC2 security groups. Enable Amazon CloudWatch rules to provide alerts when noncompliant security settings are detected.
  • C. Enable SCPs on the AWS account to provide alerts when noncompliant security group changes are made to the environment.
  • D. Enable AWS Config on the EC2 security groups to track any noncompliant changes. Send the changes as alerts through an Amazon Simple Notification Service (Amazon SNS) topic.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Soweetadad
Highly Voted 1 year, 2 months ago
Selected Answer: D
Both B and D work, except B has no notification set. https://aws.amazon.com/blogs/security/how-to-monitor-aws-account-configuration-changes-and-api-calls-to-amazon-ec2-security-groups/
upvoted 8 times
...
bhanus
Highly Voted 1 year, 4 months ago
Selected Answer: D
I vote D. aws config changes can be sent to SNS topic https://docs.aws.amazon.com/config/latest/developerguide/notifications-for-AWS-Config.html
upvoted 6 times
...
ry1999
Most Recent 2 months ago
Selected Answer: B
B is faster
upvoted 1 times
...
kgpoj
3 months ago
Selected Answer: D
Both B and D works. But the question is asking for FASTEST. For cloudTrail, you need: CloudTrail → CloudWatch Logs → CloudWatch Metric Filter → CloudWatch Alarm → SNS Notification For aws Config, it natively support integration with SNS. Hence we should choose D
upvoted 1 times
...
skipbaylessfor3
3 months, 1 week ago
I'm leaning towards D, but looks what it says in this blog: https://aws.amazon.com/blogs/security/how-to-monitor-aws-account-configuration-changes-and-api-calls-to-amazon-ec2-security-groups/ For the Config option, it says: "The use of AWS Config in Method 1 allows for the configuration of a security group to be tracked along with other AWS resources. Changes to the security group’s configuration are reported during the next Config compliance evaluation, typically within 10 minutes" and for the CloudTrail option it says: "The use of CloudTrail and CloudWatch Events in Method 2 allows for the near real-time detection of API calls that could change the configuration of a VPC security group" So it seems clear cut to me that the answer is B, although if I hadn't seen this blog I would've picked D probably
upvoted 1 times
...
red_panda
6 months, 1 week ago
Selected Answer: B
For me the answer is B. Here we are talking about "tracking al changes" and "notify for non-compliant". It's certainly a very ambiguous question that the folks at AWS could have spared us, but for me (and for chat-gpt) B is the answer :)
upvoted 2 times
...
9esh
8 months, 1 week ago
D: AWS Config provides rules to detect non-complaint config B: Can track all event however doesn't provide native support for rules to detect non-complaint changes
upvoted 1 times
...
dankositzke
9 months ago
Selected Answer: B
In my opinion, the question asks for (1) a “system that tracks CHANGES” and (2) asks to “send alerts when the engineers make NONCOMPLIANT CHANGES,” I would choose B since B satisfies the first condition and D does not. B: implies that CloudTrail tracks all changes. D: states that Config will only track noncompliant changes, but question is asking for all changes. But overall this is just another poorly constructed and ambiguous question and answer, which seems to be the norm with these lol
upvoted 1 times
helloworldabc
2 months, 2 weeks ago
just D
upvoted 1 times
...
fartosh
5 months, 2 weeks ago
Actually, AWS Config cannot track *only* non-compliant changes, it always tracks all changes against monitored resources - that's by design. You set rules in AWS Config that indicate whether the change is compliant, but all the changes must be recorded. https://docs.aws.amazon.com/config/latest/developerguide/how-does-config-work.html#resource-tracking
upvoted 1 times
...
...
duriselvan
11 months ago
B is ans https://aws.amazon.com/blogs/security/how-to-monitor-aws-account-configuration-changes-and-api-calls-to-amazon-ec2-security-groups/ Speed: Implementing CloudTrail and CloudWatch is faster than setting up AWS Organizations or using SCPs. You can do it in minutes without modifying the entire account structure or deploying additional resources. Granularity: CloudTrail and CloudWatch offer fine-grained control over monitoring and alerting, allowing you to define specific rules for noncompliant security settings. Flexibility: You can easily adapt the CloudWatch rules to different types of noncompliance and adjust the alerts to suit your notification needs. Existing infrastructure: If the company already uses CloudTrail for logging, setting up CloudWatch rules is a natural extension without requiring significant changes.
upvoted 2 times
...
shaaam80
11 months, 2 weeks ago
Selected Answer: D
Answer D. AWS Config is perfect to track config changes. SNS for notification.
upvoted 4 times
...
career360guru
11 months, 3 weeks ago
Selected Answer: B
B is better option than D. D only sends an SNS alert when there are non-compliant changes. It does not allow you to actually track each and every changes engineers make.
upvoted 2 times
Jay_2pt0_1
11 months, 3 weeks ago
I thought so too, initially, but as others have said, B does not actually send the alert.
upvoted 2 times
...
...
ghadxx
1 year, 2 months ago
It's D https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html
upvoted 2 times
...
ggrodskiy
1 year, 3 months ago
Correct D.
upvoted 1 times
...
NikkyDicky
1 year, 4 months ago
Selected Answer: D
D works and faster B would work with adding a CW alert, but D still better
upvoted 4 times
...
javitech83
1 year, 4 months ago
Selected Answer: D
correct is D
upvoted 2 times
...
SkyZeroZx
1 year, 4 months ago
Selected Answer: D
D reference link https://aws.amazon.com/es/blogs/industries/how-to-monitor-alert-and-remediate-non-compliant-hipaa-findings-on-aws/
upvoted 5 times
...
SmileyCloud
1 year, 4 months ago
Selected Answer: D
It's D. Check this link, something similar: https://aws.amazon.com/blogs/industries/how-to-monitor-alert-and-remediate-non-compliant-hipaa-findings-on-aws/
upvoted 4 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 ...