Which statement correctly describes the difference between managed node groups and self-managed node groups in Amazon EKS?
Think about who is responsible for updating and maintaining the nodes in each group.
Managed node groups are maintained by AWS, including updates and health monitoring. Self-managed node groups require the user to handle updates and maintenance.
You want to run a Kubernetes workload on EKS with minimal maintenance overhead and automatic scaling. Which node group type should you choose?
Consider which option removes the need to manage servers entirely.
Fargate runs containers without requiring you to manage servers or nodes, providing automatic scaling and minimal maintenance.
You want to configure an EKS cluster to run both long-running services and batch jobs. You decide to use managed node groups for services and Fargate for batch jobs. Which configuration is correct to achieve this?
eksctl create cluster --name my-cluster --region us-west-2 # Add Fargate profile for batch jobs aws eks create-fargate-profile --cluster-name my-cluster --fargate-profile-name batch-jobs --pod-execution-role-arn arn:aws:iam::123456789012:role/AmazonEKSFargatePodExecutionRole --subnets subnet-abc123 subnet-def456 --selectors namespace=batch
Think about how Fargate profiles select pods by namespace or labels.
Managed node groups handle the default namespace workloads, while Fargate profiles can be configured to run pods in specific namespaces like 'batch' for batch jobs.
Which IAM role is required for running pods on Fargate in an EKS cluster?
Consider what role allows Fargate to pull container images and run pods securely.
Fargate requires a pod execution role with the AmazonEKSFargatePodExecutionRolePolicy to allow pulling images and running pods securely.
In an EKS cluster with both managed node groups and Fargate profiles, what happens when the cluster scales up to handle increased pod demand?
Think about how each node group type handles scaling differently.
Managed node groups use EC2 autoscaling groups to add or remove instances automatically. Fargate runs pods on demand without managing servers, scaling pods automatically.