Infosys interview question

Python and aws related question.