Infosys interview question

DBA related task question