nerdexam
Amazon

DOP-C02 · Question #321

A company has deployed an Amazon Elastic Kubernetes Service (Amazon EKS) cluster with Amazon EC2 node groups. The company's DevOps team uses the Kubernetes Horizontal Pod Autoscaler and recently insta

The correct answer is A. Deploy the CloudWatch agent and Fluent Bit to the cluster. Ensure that the EKS cluster has C. Create CloudWatch alarms to monitor the CPU, memory, and node failure metrics of the cluster. F. Create a CloudWatch alarm to monitor a metric log filter of the Autoscaler deployments for errors.. CloudWatch agent collects metrics (like CPU, memory, and disk) from the nodes, while Fluent Bit is a lightweight log forwarder for collecting logs from Pods and nodes. Both agents ensure that the necessary metrics and logs from the EKS cluster are sent to Amazon CloudWatch. Fluen

Submitted by thandi_sa· Mar 6, 2026Monitoring and Logging

Question

A company has deployed an Amazon Elastic Kubernetes Service (Amazon EKS) cluster with Amazon EC2 node groups. The company's DevOps team uses the Kubernetes Horizontal Pod Autoscaler and recently installed a supported EKS cluster Autoscaler. The DevOps team needs to implement a solution to collect metrics and logs of the EKS cluster to establish a baseline for performance. The DevOps team will create an initial set of thresholds for specific metrics and will update the thresholds over time as the cluster is used. The DevOps team must receive an Amazon Simple Notification Service (Amazon SNS) email notification if the initial set of thresholds is exceeded or if the EKS cluster Autoscaler is not functioning properly. The solution must collect cluster, node, and pod metrics. The solution also must capture logs in Amazon CloudWatch. Which combination of steps should the DevOps team take to meet these requirements? (Choose three.)

Options

  • ADeploy the CloudWatch agent and Fluent Bit to the cluster. Ensure that the EKS cluster has
  • BDeploy AWS Distro for OpenTelemetry to the cluster. Ensure that the EKS cluster has appropriate
  • CCreate CloudWatch alarms to monitor the CPU, memory, and node failure metrics of the cluster.
  • DCreate a CloudWatch composite alarm to monitor a metric log filter of the CPU, memory, and
  • ECreate a CloudWatch alarm to monitor the logs of the Autoscaler deployments for errors.
  • FCreate a CloudWatch alarm to monitor a metric log filter of the Autoscaler deployments for errors.

How the community answered

(49 responses)
  • A
    55% (27)
  • B
    10% (5)
  • D
    29% (14)
  • E
    6% (3)

Explanation

CloudWatch agent collects metrics (like CPU, memory, and disk) from the nodes, while Fluent Bit is a lightweight log forwarder for collecting logs from Pods and nodes. Both agents ensure that the necessary metrics and logs from the EKS cluster are sent to Amazon CloudWatch. Fluent Bit is commonly used to capture Kubernetes logs, and CloudWatch agent provides detailed metrics from EC2 nodes. You also need to ensure that the EKS cluster has the appropriate IAM permissions to send this data to CloudWatch. CloudWatch alarms allow the DevOps team to set thresholds for key metrics like CPU and memory utilization, as well as node failures. If the set thresholds are exceeded, CloudWatch will send an SNS email notification, which helps to monitor the baseline performance and detect any potential issues in real time. The "Create a CloudWatch alarm to monitor a metric log filter for Autoscaler errors" ensures that the Autoscaler's logs are monitored for any error conditions or failures. By creating a metric log filter for the Autoscaler logs and setting up a CloudWatch alarm, the team will receive notifications if there are issues with the Autoscaler, ensuring that it is functioning properly. The alarm will trigger an SNS email notification when Autoscaler issues are detected. By deploying CloudWatch agent, Fluent Bit, and setting up CloudWatch alarms with log filters, the DevOps team can effectively monitor EKS performance and receive timely notifications if thresholds are exceeded or the Autoscaler encounters issues.

Topics

#EKS monitoring#CloudWatch#Fluent Bit#CloudWatch Agent

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice