Intrusion Prevention System (IPS) is a development of Intrusion Detection System where a system (hardware, software, or a combination of hardware and software) that has the ability to monitor the network and take precautions from suspicious activity in the network. Bayesian Network is one of the machine learning that utilizes the probability relationship between a variable and another variable.…