Pergunta de entrevista da empresa Avanade

Name a common design pattern and a situation in which it would be used.