Aviva interview question

what is difference between ips/ids, WAF and ips etc