A company runs multiple applications on Amazon EC2 instances in a VPC. Application A runs in a private subnet that has a custom route table and network ACL. Application B runs in a second private subnet in the same VPC. The company needs to prevent Application A from sending traffic to Application B. Which solution will meet this requirement?
Yeah, D makes sense because NACLs can explicitly block outbound traffic from Application A's subnet to B. Security groups don't support deny rules for outgoing traffic, just allow. I think this fits the ask but let me know if you see it differently.
Is there a reason everyone’s skipping A? I know security groups can’t do an explicit deny, but just want to double check I’m not missing a trick. NACLs look right here but AWS changes stuff sometimes.
This looks like D, since you want to prevent Application A from sending anything to B, and NACLs handle outbound subnet traffic with explicit denies. Security groups can’t block outbound that way. I think that covers the requirement but not totally sure if there’s a catch with how traffic could route inside the VPC. Anyone disagree?