GKMIT interview question

NodeJs architecture and how to choose architecture based on project complexity,functional programming ,microservices etc...