
Ultimate access to all questions.
A business-critical mobile application that manages confidential information about the company's sales forecasts and product launches utilizes Amazon Cognito user pools with multi-factor authentication (MFA) enabled for all its users. Given the high sensitivity of the application, the company aims to monitor every user login activity by sending a notification email to the security team.
Which of the following solutions would you recommend as the MOST optimal method to implement this requirement in a short timeframe?
A
Create an AWS Lambda function that uses Amazon Simple Email Service to send an email notification to the concerned security team. Configure this function as Amazon Cognito pre-authentication Lambda trigger
B
Configure an AWS Lambda function as a trigger to Amazon Cognito identity pools authenticated API operations. Create the Lambda function to utilize the Amazon Simple Email Service to send an email notification to the concerned security team
C
Configure Amazon Cognito user pools authenticated API operations and MFA API operations to send all login data to Amazon Kinesis Data Streams. Configure an AWS Lambda function to analyze these streams and trigger an SNS notification to the security team based on user access
D
Create an AWS Lambda function that uses Amazon Simple Email Service to send an email notification to the concerned security team. Configure this function as Amazon Cognito post-authentication Lambda trigger