Discover interview question

How is xgboost determine the attributes importance