AWS Certified Security – Specialty (SCS-C02) — Question 214
A company uses Amazon Elastic Kubernetes Service (Amazon EKS) clusters to run its Kubernetes-based applications. The company uses Amazon GuardDuty to protect the applications.
EKS Protection is enabled in GuardDuty. However, the corresponding GuardDuty feature is not monitoring the Kubernetes-based applications.
Which solution will cause GuardDuty to monitor the Kubernetes-based applications?
Answer options
- A. Enable VPC flow logs for the VPC that hosts the EKS clusters.
- B. Assign the CloudWatchEventsFullAccess AWS managed policy to the EKS clusters.
- C. Ensure that the AmazonGuardDutyFullAccess AWS managed policy is attached to the GuardDuty service role.
- D. Enable the control plane logs in Amazon EKS. Ensure that the logs are ingested into Amazon CloudWatch.
Correct answer: D
Explanation
Enabling control plane logs in Amazon EKS and ensuring they are ingested into Amazon CloudWatch allows GuardDuty to access the necessary data for monitoring Kubernetes applications. The other options, while useful for different purposes, do not directly enable GuardDuty to monitor EKS applications.