AWS Certified DevOps Engineer – Professional — Question 169

A DevOps engineer is creating an AWS CloudFormation template to deploy a web service. The web service will run on Amazon EC2 instances in a private subnet behind an Application Load Balancer (ALB). The DevOps engineer must ensure that the service can accept requests from clients that have IPv6 addresses.

What should the DevOps engineer do with the CloudFormation template so that IPv6 clients can access the web service?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows the ALB to handle both IPv4 and IPv6 traffic by specifying the dualstack IP address type. Options A and B do not configure the ALB properly for IPv6 access, and option C incorrectly suggests using an NLB, which is not necessary for this scenario.