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

A company uses an Amazon Elastic Kubernetes Service (Amazon EKS) cluster to host its machine learning (ML) application. As the ML model and the container image size grow, the time that new pods take to start up has increased to several minutes.

A DevOps engineer needs to reduce the startup time to seconds. The solution must also reduce the startup time to seconds when the pod runs on nodes that were recently added to the cluster.

The DevOps engineer creates an Amazon EventBridge rule that invokes an automation in AWS Systems Manager. The automation prefetches the container images from an Amazon Elastic Container Registry (Amazon ECR) repository when new images are pushed to the repository. The DevOps engineer also configures tags to be applied to the cluster and the node groups.

What should the DevOps engineer do next to meet the requirements?

    Correct Answer: C

    To reduce the startup time of the pods in an Amazon EKS cluster, you need to prefetch the container images on the EKS nodes, not the control plane. The control plane manages the Kubernetes cluster but does not run the application containers. Using instance tags to manage which images to prefetch is practical and scalable since tags can be dynamically assigned to different nodes based on the application needs. Therefore, the DevOps engineer should create an IAM role that allows EventBridge to use Systems Manager to run commands on the EKS cluster's nodes and configure a Systems Manager State Manager association using the nodes' tags to prefetch the container images.

Discussion
tgvOption: C

---> C

trungtdOption: C

The control plane manages the Kubernetes cluster but does not run the application containers => A & D wrong Machine size is not a practical or flexible approach to determining where images should be prefetched. Should be Tag =>B Wrong

getadroit

C https://aws.amazon.com/blogs/containers/start-pods-faster-by-prefetching-images/