Pergunta de entrevista da empresa Infosys

Write script to duplicate a test database from its prod?