What should the DevOps engineer do next to meet the requirements?
Create an IAM role that has a policy that allows EventBridge to use Systems Manager to run commands in the EKS cluster’s control plane nodes. Create a Systems Manager State Manager association that uses the control plane nodes’ tags to prefetch corresponding container images.
Create an IAM role that has a policy that allows EventBridge to use Systems Manager to run commands in the EKS cluster’s nodes. Create a Systems Manager State Manager association that uses the nodes’ machine size to prefetch corresponding container images.
Create an IAM role that has a policy that allows EventBridge to use Systems Manager to run commands in the EKS cluster’s nodes. Create a Systems Manager State Manager association that uses the nodes’ tags to prefetch corresponding container images.
Create an IAM role that has a policy that allows EventBridge to use Systems Manager to run commands in the EKS cluster’s control plane nodes. Create a Systems Manager State Manager association that uses the nodes’ tags to prefetch corresponding container images.
Explanations:
The control plane nodes in EKS do not host containers; they manage the cluster. Prefetching container images on the control plane nodes is not relevant for the task of reducing pod startup time on worker nodes.
Using machine size to prefetch container images is not a suitable criteria for identifying which images to prefetch. Tags related to the nodes would be more appropriate for managing specific configurations like the pod’s image.
Prefetching images on worker nodes based on their tags is the correct approach. The worker nodes are where the pods run, and using tags to identify and prefetch the necessary images ensures that the startup time is minimized.
Similar to Option A, the control plane nodes are not relevant for prefetching container images, as they do not run the containers. The task involves optimizing the worker nodes, not the control plane.