Bitdefender Interview Question

How can you exploit the memory of a program?