exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 31 discussion

A company has migrated its container-based applications to Amazon EKS and want to establish automated email notifications. The notifications sent to each email address are for specific activities related to EKS components. The solution will include Amazon SNS topics and an AWS Lambda function to evaluate incoming log events and publish messages to the correct SNS topic.
Which logging solution will support these requirements?

  • A. Enable Amazon CloudWatch Logs to log the EKS components. Create a CloudWatch subscription filter for each component with Lambda as the subscription feed destination.
  • B. Enable Amazon CloudWatch Logs to log the EKS components. Create CloudWatch Logs Insights queries linked to Amazon EventBridge events that invoke Lambda.
  • C. Enable Amazon S3 logging for the EKS components. Configure an Amazon CloudWatch subscription filter for each component with Lambda as the subscription feed destination.
  • D. Enable Amazon S3 logging for the EKS components. Configure S3 PUT Object event notifications with AWS Lambda as the destination.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
tartarus23
Highly Voted 1 year, 4 months ago
Selected Answer: A
Correct Answer is A. Explanation: 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.
upvoted 16 times
...
4555894
Most Recent 8 months, 1 week ago
Selected Answer: A
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#LambdaFunctionExample https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html
upvoted 3 times
...
zijo
8 months, 1 week ago
AWS EKS itself does not offer native S3 logging for container logs. CloudWatch Logs Insights queries cannot directly link to Amazon EventBridge events. So the answer here is A.
upvoted 1 times
...
dzn
8 months, 3 weeks ago
Selected Answer: A
CloudWatch Logs subscription filtering is a feature that allows capture log data in real time and forward it to other AWS services such as Kinesis Data Firehose, Kinesis Streams, and Lambda.
upvoted 1 times
...
thanhnv142
9 months, 2 weeks ago
A is correct: Use cloudwatch logs to collect logs from EKS. Use subcription filter to filter out logs and only send relevant logs to lambda to trigger it. B: CloudWatch Logs Insights is for data analysis. Additionally, using EventBridge events to trigger lambda incur costs C and D: Amazon S3 logging is used for monitoring actions on S3 itself, not EKS
upvoted 3 times
...
z_inderjot
10 months, 3 weeks ago
Selected Answer: A
A is right C, D are wrong , because there is not integration in EKS to send logs to s3. B is for log analysis , and aggreation
upvoted 4 times
...
zolthar_z
12 months ago
Selected Answer: B
I don't have a technical reason but others dumps shows B as the Answer
upvoted 1 times
zolthar_z
12 months ago
No, sorry, this was for the previous questions
upvoted 2 times
...
...
madperro
1 year, 5 months ago
Selected Answer: A
A, metric filter can call Lambda.
upvoted 1 times
...
rdoty
1 year, 5 months ago
Selected Answer: A
certainly cloudwatch logs metric filter A
upvoted 1 times
...
haazybanj
1 year, 6 months ago
Selected Answer: A
A. Enable Amazon CloudWatch Logs to log the EKS components. Create a CloudWatch subscription filter for each component with Lambda as the subscription feed destination. This solution involves enabling Amazon CloudWatch Logs to log the EKS components and creating a CloudWatch subscription filter for each component with AWS Lambda as the subscription feed destination. This approach will allow the Lambda function to evaluate incoming log events and publish messages to the correct Amazon SNS topic. Amazon SNS can then send email notifications to each email address based on the messages it receives from the corresponding SNS topic.
upvoted 1 times
...
ele
1 year, 7 months ago
Selected Answer: A
A, clear
upvoted 1 times
...
alce2020
1 year, 7 months ago
A is the correct answer
upvoted 1 times
...
jqso234
1 year, 7 months ago
Selected Answer: A
Amazon CloudWatch Logs can log the EKS components, and subscription filters can be created for each component with AWS Lambda as the subscription feed destination. The Lambda function can evaluate incoming log events and publish messages to the appropriate Amazon SNS topic, enabling automated email notifications to be sent. Therefore, option A is the correct solution. Option C is incorrect because Amazon S3 logging is not designed for logging EKS components.
upvoted 1 times
...
Dimidrol
1 year, 7 months ago
Selected Answer: A
A for sure
upvoted 3 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