List of questions
Related questions
Question 483 - SAP-C02 discussion
A company has an application that runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The application is in an AWS account that has AWS CloudTrail enabled. The company restricts access to the application by adding the IP addresses of end users to a security group that is associated with the ALB.
The company is developing an AWS Lambda function to determine if the allowed IP addresses have accessed the application recently. If an allowed IP address has not accessed the application in the last 90 days, the Lambda function will remove the IP address from the security group.
The company needs to implement the functionality for the Lambda function to check the IP addresses.
Which combination of steps will provide this functionality MOST cost-effectively? (Select TWO)
For the VPC that contains (he ALB, configure VPC flow logs to be sent to a log group in Amazon CloudWatch Logs.
Enable access logging on the ALB. Create an Amazon Athena table to query the ALB access logs.
Program the Lambda function to check when each allowed IP address from the security group last appeared in the VPC flow logs.
Program the Lambda function to check when each allowed IP address from the security group last appeared in the ALB access logs
Program the Lambda function to check when each allowed IP address from the security group last appeared in the CloudTrail logs.
0 comments
Leave a comment first