An organization wants to perform deep packet inspection on traffic directed to a backend application server in a private subnet. A SysOps Administrator configures an Amazon VPC Traffic Mirroring session. The mirror source is the primary Elastic Network Interface (ENI) of the application server, which is running on a EC2 instance. The mirror target is a security monitoring tool running on a EC2 instance in the same VPC.
The Security Group of the target instance is configured to allow inbound UDP traffic on port . The Security Group of the source instance permits all inbound traffic from the application's load balancer, but its outbound rules restrict traffic to on TCP ports and only. The Network ACLs associated with both subnets allow all traffic.
The administrator notices that no mirrored traffic is being received by the monitoring tool.
Which two modifications must the administrator make to resolve this issue and enable successful packet mirroring?
- Modify the outbound rules of the instance's Security Group to permit UDP port traffic to the monitoring tool.Answer
- Change the application server's instance type from to a Nitro-based instance type, such as .Answer
- CAdd an inbound rule to the private subnet's Network ACL to allow traffic from ephemeral ports -.
- DAttach an IAM role with the iam:PassRole permission to the VPC Traffic Mirroring target resource.
- EAdd a route targeting the Internet Gateway in the private subnet's route table to permit Traffic Mirroring packet routing.