AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 338

A company has a web application that is hosted on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The EKS cluster runs on AWS Fargate that is available through an internet-facing Application Load Balancer.

The application is experiencing stability issues that lead to longer response times. A DevOps engineer needs to configure observability in Amazon CloudWatch to troubleshoot the issue. The solution must provide only the minimum necessary permissions.

Which combination of steps will meet these requirements? (Choose three.)

Answer options

Correct answer: A, C, F

Explanation

Deploying the CloudWatch agent as a Kubernetes StatefulSet is required because AWS Fargate does not support DaemonSets, which rules out Option B. Associating the service account with the CloudWatchAgentServerPolicy provides the minimum necessary permissions to send metrics to CloudWatch, whereas CloudWatchAgentAdminPolicy grants unnecessary administrative privileges. Finally, enabling EKS control plane logging provides essential diagnostic information regarding cluster performance and API server interactions to help troubleshoot the stability issues.