A web application runs on an Amazon EKS cluster using Fargate behind an internet-facing Application Load Balancer. The application has stability problems and increased response times. You must configure observability in Amazon CloudWatch to troubleshoot, granting only the minimum required permissions. Which steps meet the requirement? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy the CloudWatch agent to the EKS cluster as a Kubernetes StatefulSet., Enable IAM Roles for Service Accounts (IRSA) by associating a Kubernetes service account with an IAM role and attach the CloudWatchAgentServerPolicy managed policy to that role., Enable EKS control plane logging for the cluster..
Why this is the answer
To collect detailed metrics and logs from applications running on EKS Fargate, the CloudWatch agent is needed. Deploying it as a Kubernetes StatefulSet ensures a stable identity and persistent storage if required, though a DaemonSet or Deployment could also work depending on specific needs. Enabling IAM Roles for Service Accounts (IRSA) with the CloudWatchAgentServerPolicy grants the necessary permissions for the agent to send data to CloudWatch while adhering to the principle of least privilege. The CloudWatchAgentAdminPolicy would grant excessive permissions. Configuring an IAM OIDC provider is a prerequisite for IRSA, but not a direct step for observability configuration. Enabling EKS control plane logging provides crucial insights into the cluster's health and operations, which is essential for troubleshooting stability issues. The AWS Distro for OpenTelemetry (ADOT) Collector is an alternative for collecting telemetry but isn't the direct CloudWatch agent.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed