AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 5

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 ensures that the ALB can handle both IPv4 and IPv6 traffic by specifying the dualstack IP address type, which allows it to accept requests from IPv6 clients. Options A and B do not configure the ALB to support IPv6 traffic, while option C replaces the ALB with an NLB, which is unnecessary for this requirement.