Globant interview question

'How would you implement a chatbot knowing some typical Questions and Answers'