Exam DOP-C02 All QuestionsBrowse all questions from this exam
Question 268

A company recently migrated its application to an Amazon Elastic Kubernetes Service (Amazon EKS) cluster that uses Amazon EC2 instances. The company configured the application to automatically scale based on CPU utilization.

The application produces memory errors when it experiences heavy loads. The application also does not scale out enough to handle the increased load. The company needs to collect and analyze memory metrics for the application over time.

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

    Correct Answer: A, C, E

    To meet the requirements of collecting and analyzing memory metrics for the application over time, the following steps are necessary: Attach the CloudWatchAgentServerPolicy managed IAM policy to the IAM instance profile that the cluster uses, ensuring the Amazon CloudWatch agent has the necessary permissions to collect and publish metrics from the EC2 instances. Collect performance metrics by deploying the unified Amazon CloudWatch agent to the existing EC2 instances in the cluster and including it in the AMI for new EC2 instances to consistently capture memory metrics across the cluster. Analyze the pod_memory_utilization Amazon CloudWatch metric in the ContainerInsights namespace using the Service dimension to gain detailed insights into memory usage at the pod level, which helps to understand the memory utilization of the application within the Kubernetes environment.

Discussion
trungtdOptions: ACE

A. This policy grants the necessary permissions for the Amazon CloudWatch agent to collect and publish metrics from the EC2 instances. C. The unified Amazon CloudWatch agent can collect both CPU and memory utilization metrics. Deploying it ensures you capture memory metrics across all EC2 instances in the EKS cluster. E. pod_memory_utilization metric provides detailed insights into memory usage at the pod level B. service account role is more relevant for applications running within Kubernetes pods needing AWS permissions. D irrelevant F Node-level metrics do not provide the granularity needed to diagnose pod-level memory issues effectively

noisonnoitonOptions: BCE

B - control permission with service account C - cloudwatch agent on k8s worker nodes E - monitoring with k8s service (pods)

TEC1Options: BCE

I will go with B C E

TEC1

B- Necessary permissions C- Cloud watch agent installed E - understanding performance and scaling of the application within Kubernetes Enviro

komorebiOptions: CEF

Answer : C E F