Answer: Option (A) & (D) are correct.
Layer 2 switch is commonly referred to as a type of network or device switch that tends to work on data link layer and use MAC addresses in order to determine the route through which the frames are forwarded.
An IDS known as intrusion detection system is commonly referred to as a device or application that controls a network for malevolent activity and its policy violations.