
Answer-first summary for fast verification
Answer: Add an IPv6 CIDR block to the VPC and subnets for the ALB. Create a listener on port 443, and specify the dualstack IP address type on the ALB. Create a target group, and add the EC2 instances as targets. Associate the target group with the ALB.
Option D is the correct answer. To enable IPv6 connectivity, the DevOps engineer should add an IPv6 CIDR block to both the VPC and subnets that the ALB resides in. Additionally, the ALB should have a listener on port 443 and specify a dualstack IP address type, which supports both IPv4 and IPv6. Finally, a target group must be created with the EC2 instances added as targets, and this target group must be associated with the ALB. This configuration ensures that the ALB can accept IPv6 requests and route them to the EC2 instances.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A DevOps engineer is responsible for developing an AWS CloudFormation template to deploy a web service. This service is intended to operate on Amazon EC2 instances situated in a private subnet, with traffic managed by an Application Load Balancer (ALB). The engineer is required to ensure that the web service can receive and respond to requests from clients utilizing IPv6 addresses. What specific changes should the DevOps engineer make to the CloudFormation template to facilitate IPv6 connectivity for the web service?
A
Add an IPv6 CIDR block to the VPC and the private subnet for the EC2 instances. Create route table entries for the IPv6 network, use EC2 instance types that support IPv6, and assign IPv6 addresses to each EC2 instance.
B
Assign each EC2 instance an IPv6 Elastic IP address. Create a target group, and add the EC2 instances as targets. Create a listener on port 443 of the ALB, and associate the target group with the ALB.
C
Replace the ALB with a Network Load Balancer (NLB). Add an IPv6 CIDR block to the VPC and subnets for the NLB, and assign the NLB an IPv6 Elastic IP address.
D
Add an IPv6 CIDR block to the VPC and subnets for the ALB. Create a listener on port 443, and specify the dualstack IP address type on the ALB. Create a target group, and add the EC2 instances as targets. Associate the target group with the ALB.