
Answer-first summary for fast verification
Answer: Enable Amazon CloudWatch Logs for EKS components and set up a CloudWatch subscription filter for each component, directing the filtered logs to a Lambda function.
Amazon EKS integrates with CloudWatch Logs to provide detailed logs of the state and execution of the services in the cluster. CloudWatch subscription filters can be used to route specific log events from a CloudWatch Logs group to a Lambda function. The Lambda function can then process the events and publish notifications to the appropriate Amazon SNS topic. Therefore, the correct answer is A.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company has transitioned its container-based applications to Amazon EKS and seeks to implement a system for automated email notifications regarding specific activities within EKS components. The proposed solution involves using Amazon SNS topics and an AWS Lambda function to analyze incoming log events and dispatch messages to the appropriate SNS topic. Which logging solution is best suited to meet these notification requirements?
A
Enable Amazon CloudWatch Logs for EKS components and set up a CloudWatch subscription filter for each component, directing the filtered logs to a Lambda function.
B
Enable Amazon CloudWatch Logs for EKS components and configure CloudWatch Logs Insights queries to trigger Amazon EventBridge events, which in turn invoke a Lambda function.
C
Enable Amazon S3 logging for EKS components and establish an Amazon CloudWatch subscription filter for each component, with the filtered logs being sent to a Lambda function.
D
Enable Amazon S3 logging for EKS components and set up S3 PUT Object event notifications to trigger a Lambda function.
No comments yet.