exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 107 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 107
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company's security policy requires that VPC Flow Logs are enabled on all VPCs. A Security Engineer is looking to automate the process of auditing the VPC resources for compliance.
What combination of actions should the Engineer take? (Choose two.)

  • A. Create an AWS Lambda function that determines whether Flow Logs are enabled for a given VPC.
  • B. Create an AWS Config configuration item for each VPC in the company AWS account.
  • C. Create an AWS Config managed rule with a resource type of AWS:: Lambda:: Function.
  • D. Create an Amazon CloudWatch Event rule that triggers on events emitted by AWS Config.
  • E. Create an AWS Config custom rule, and associate it with an AWS Lambda function that contains the evaluating logic.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
Aws2222
Highly Voted 3 years, 6 months ago
D & E; three steps are necessary (https://aws.amazon.com/blogs/security/how-to-audit-your-aws-resources-for-security-compliance-by-using-custom-aws-config-rules/) 1. Create a Lambda function containing the logic to determine if a resource is compliant or noncompliant. 2. Create a custom Config rule that uses the Lambda function created in Step 1 as the source. 3. Create a Lambda function that polls Config to detect noncompliant resources on a daily basis and send notifications via Amazon SNS. A -> 1 D -> 3 E -> 2 & 1 since E "associate it with an AWS Lambda function that contains the evaluating logic" covers A, ans is D&E
upvoted 24 times
Aws2222
3 years, 6 months ago
Correction: Ans A&E A-> 3 E -> 2 & 1
upvoted 6 times
Aws2222
3 years, 6 months ago
Grrr my bad. There should be two Lambda function in the process. therefore it seems A&E in first look. However my first answer is right. Both A and Lambda function in E refer to Step 1. There is a mechanism to read config rule poll as input and create notifications accordingly. There is no such lambda functions in the answers. But D can work for this. Final decision: D&E
upvoted 5 times
...
...
...
josellama2000
Highly Voted 3 years, 7 months ago
A & C are correct for sure. The link shows an exact situation. 1) Create a Lambda function containing the logic to determine if VPC is enable or disable (Answer A) 2) create a custom Config rule and use the Lambda function (ARN) as the source (Answer C) 3) Create a Lambda function that polls Config to detect noncompliant resources on a daily basis and send notifications via Amazon SNS https://medium.com/mudita-misra/how-to-audit-your-aws-resources-for-security-compliance-by-using-custom-aws-config-rules-2e53b09006de
upvoted 8 times
exams
3 years, 7 months ago
I think... Custom config rule - E alert - D
upvoted 3 times
...
Smartphone
3 years, 7 months ago
A and C are correct. Well explained on the above link.
upvoted 1 times
...
chaudh
3 years, 7 months ago
custom rule is E, C is managed rule.
upvoted 1 times
...
s3an
3 years, 7 months ago
I think some answers were switched ....with this link and your comment, answer should be AE now
upvoted 8 times
...
...
Raphaello
Most Recent 1 year, 2 months ago
Selected Answer: AE
Correct answers are AE
upvoted 1 times
Raphaello
1 year, 2 months ago
It is worth to mention that there's a managed rule for AWS Config called "vpc-flow-logs-enabled" (Resource Types: AWS::EC2::VPC), and in real life you do not need to create your own logic function to check on this configuration. But in this question, it was not mentioned and the best options out of the provided 5 are A and E.
upvoted 1 times
...
...
Shinytopology
1 year, 10 months ago
Seems question is outdated. AWS Config had a managed rule checking if all VPC flow log has been enabled. https://docs.aws.amazon.com/config/latest/developerguide/vpc-flow-logs-enabled.html
upvoted 7 times
yorkicurke
1 year, 4 months ago
yeah and that rule is vpc-flow-logs-enabled.
upvoted 1 times
...
...
Dmosh
2 years ago
We have a managed config rule for this: https://docs.aws.amazon.com/config/latest/developerguide/vpc-flow-logs-enabled.html
upvoted 3 times
...
Nikhil0222
2 years ago
AE Option A is correct because the Security Engineer can create an AWS Lambda function that uses the AWS SDK to determine whether Flow Logs are enabled for a given VPC by checking the status of the Flow Logs on the VPC. The function can be triggered on a schedule using a CloudWatch Event rule. Option E is correct because the Security Engineer can create an AWS Config custom rule that uses the same AWS Lambda function created in Option A. The custom rule can evaluate each VPC in the account and check the status of the Flow Logs on the VPC. If the Flow Logs are not enabled, the rule can return a noncompliant result. The Security Engineer can then use AWS Config to aggregate and view the compliance status of all VPCs in the account
upvoted 1 times
...
ITGURU51
2 years ago
This is a two step solution. First we need to create the Lambda function with the logic to evaluate the VPC flow logs. Next we need to create a Custom Config rule and associate it with the Lambda function. Therefore the answer is A and E.
upvoted 1 times
...
Balki
2 years, 4 months ago
Selected Answer: AE
https://aws.amazon.com/blogs/mt/how-to-enable-vpc-flow-logs-automatically-using-aws-config-rules/ talks about solution without Lambda. So, Lambda can also be used instead of System manager
upvoted 2 times
...
cloud_collector
2 years, 7 months ago
Selected Answer: AE
1.Create a Lambda function containing the logic to determine if a resource is compliant or noncompliant. 2.Create a custom Config rule that uses the Lambda function created in Step 1 as the source. 3.Create a Lambda function that polls Config to detect noncompliant resources on a daily basis and send notifications via Amazon SNS. https://aws.amazon.com/blogs/security/how-to-audit-your-aws-resources-for-security-compliance-by-using-custom-aws-config-rules/
upvoted 1 times
...
dcasabona
2 years, 9 months ago
Selected Answer: DE
I go with D and E
upvoted 1 times
...
gofavad926
2 years, 10 months ago
Selected Answer: AE
A & E, you need a custom rule in AWS config and a lambda function to check it
upvoted 3 times
...
jackfei
2 years, 10 months ago
my answer is D,E
upvoted 1 times
...
TigerInTheCloud
3 years ago
Selected Answer: DE
Surely E which includes the action in A with D is a kind of remediation. However, there is a better answer to this quest now. There is a managed rule "vpc-flow-log-enabled" and an AWS managed document "AWS-EnableVPCFlowLogs"
upvoted 2 times
...
ceros399
3 years, 1 month ago
Selected Answer: AE
A,E - c0rect
upvoted 2 times
...
MoreOps
3 years, 2 months ago
Selected Answer: AE
I was confused at the highest voted one, but from what others say in the comments ,it seems like since they answered the answered were mixed up and switched places, AE is the right for me
upvoted 2 times
...
lotfi50
3 years, 3 months ago
Selected Answer: AE
The answer is A & E
upvoted 3 times
...
sam_live
3 years, 3 months ago
First of all the question doesn't mention about alerting but only auditing. So option D CloudWatch doesn't come into picture. A & E should be the answers if we follow this blog. https://aws.amazon.com/blogs/security/how-to-audit-your-aws-resources-for-security-compliance-by-using-custom-aws-config-rules/
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago