Pregunta de entrevista de Infosys

Write script to duplicate a test database from its prod?