XYB Interview Question

Do you know microservices ,? how do you decide if you need state management library