How to Prevent a DDoS Attack A Distributed Denial of Service (DDoS) attack is a…