Deloitte Interview Question

How does an EDR agent detect SQL injection attack on windows endpoint.