MYOB Interview Question

What is a factory design pattern? What design pattern did you use last?