NSE6_WCS-7-0 practice question 9 of 10

An organization has created a VPC with two subnets and deployed a FortiGate-VM (VM04/c4.xlarge) in AWS. The EC2 instance is initially configured with…

Full set: 35 questions
An organization has created a VPC with two subnets and deployed a FortiGate-VM (VM04/c4.xlarge) in AWS. The EC2 instance is initially configured with two Elastic Network Interfaces (ENIs). The primary ENI is configured on the public subnet, and the secondary ENI is configured on the private subnet. To provide internet access for the FortiGate-VM, they now want to associate an EIP to its primary ENI, but the assignment is failing. Which action would allow the EIP assignment to be successful?
Answer options
A: Create and associate a public subnet with the primary ENI of the FortiGate VM, and then assign the EIP to the primary ENI.
B: Shut down the FortiGate VM, if it is running, assign the EIP to the primary ENI, and then power it on.
C: Create and attach an internet gateway to the VPC, and then assign the EIP to the primary ENI of the FortiGate VM. Correct answer
D: Create and attach a public routing table to the public subnet, associate the public subnet with the primary ENI of the FortiGate VM, and then assign the EIP to the primary ENI.
Correct Answer:
C. Create and attach an internet gateway to the VPC, and then assign the EIP to the primary ENI of the FortiGate VM.
Explanation

Internet Gateway Requirement: For an Elastic IP (EIP) to be assigned to an instance's primary ENI, the VPC must have an Internet Gateway (IGW) attached. The IGW enables the VPC to communicate with the internet, allowing the EIP to function properly (Option C). Process of Assigning EIP: Once the Internet Gateway is attached to the VPC, the EIP can be successfully assigned to the primary ENI of the FortiGate VM, providing it with internet access. Other Options Analysis:
Option A is incorrect because the primary ENI is already in a public subnet.
Option B is not necessary and may not solve the issue without an attached Internet Gateway.
Option D is partially correct about the routing table but does not address the primary issue of needing an Internet Gateway.
Reference: AWS Elastic IP Documentation: Elastic IP AWS Internet Gateway: Internet Gateway

Scroll to Top