ANS-C01 Question 91
Select 3You are managing a Kubernetes cluster on Amazon EKS and want to expose a service to the internet using an Application Load Balancer (ALB). To achieve this, you plan to use the AWS Load Balancer Controller. Which of the following steps are required to ensure the AWS Load Balancer Controller is properly set up and functional?
- A
Deploy the AWS Load Balancer Controller using a Helm chart.
- B
Attach an IAM role to the Kubernetes service account used by the controller.
- C
Manually configure the Application Load Balancer in the AWS Management Console after deploying the controller.
- D
Ensure the Kubernetes Ingress resource is properly configured to use the ALB-specific annotations.
- E
Enable Cross-Zone Load Balancing in the AWS Load Balancer Controller’s configuration.
Show answer and explanation
Correct answers: A, B, D
Explanation
The AWS Load Balancer Controller enables the provisioning and management of Application Load Balancers and Network Load Balancers for Kubernetes services running on Amazon EKS. Proper installation involves deploying the controller using a Helm chart, attaching an IAM role to the Kubernetes service account for resource management permissions, and configuring Kubernetes Ingress resources with the required annotations. The controller handles the automatic creation and configuration of ALBs, so manual setup in the AWS Management Console is unnecessary.
- A. Correct.
Correct: Deploying the AWS Load Balancer Controller via a Helm chart is a recommended approach for installation and setup.
- B. Correct.
Correct: The AWS Load Balancer Controller requires permissions to interact with AWS resources. Attaching an IAM role to the Kubernetes service account is essential for granting these permissions.
- C. Incorrect.
Incorrect: The AWS Load Balancer Controller automatically manages the creation and configuration of Application Load Balancers. Manual configuration in the AWS Management Console is not required.
- D. Correct.
Correct: The Kubernetes Ingress resource must include specific annotations so the AWS Load Balancer Controller can configure the ALB appropriately.
- E. Incorrect.
Incorrect: Cross-Zone Load Balancing is configured on the ALB itself and does not require enabling within the AWS Load Balancer Controller configuration.