NTT DATA interview question

Ansible or Shell script? which is besst