AWS EC2 Instance IPv6 Communication Issue Solution | Exam ANS-C01

Resolve EC2 Instance IPv6 Communication Issue | Exam ANS-C01

Prev Question Next Question

Question

An EC2 Instance has been set up in AWS.

A software was successfully downloaded and installed on the EC2 Instance.

This software uses IPv6 for communication.

After the software was installed, and you were trying to access the software via IPv6 on port 80, you could not do so.

What needs to be done to alleviate this issue?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - A.

Since the application works on IPv6, you need to ensure that the port is open for all Ipv6 addresses as ::/0

Options B and C are incorrect since the instance can already download updates that mean there is a connection to the internet and the rules for IPv4 are in place.

Option D is invalid since there is no restriction mentioned in the question for IPv6.

For more information on security groups, one can visit the below URL.

https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html

The correct answer is A. Add an inbound rule to your security group that allows inbound traffic on port 80 for ::/0.

Explanation: When a software application is installed on an EC2 instance, it may require network communication with other systems using IPv4 or IPv6 addresses. In this case, the software is using IPv6 for communication, and port 80 is used for the communication protocol.

To access the software via IPv6 on port 80, the EC2 instance needs to have an inbound rule added to the associated security group that allows traffic on port 80 for the IPv6 address range ::/0.

Option B is incorrect because an internet gateway is used for communication between a VPC and the internet, and does not directly affect communication between EC2 instances.

Option C is also incorrect because allowing inbound traffic on port 80 for the IPv4 address range 0.0.0.0/0 will not help with the communication issue over IPv6.

Option D is also incorrect because egress-only internet gateway is used for outbound communication from a VPC to the internet over IPv6, and does not help with inbound communication to an EC2 instance.