Discover Interview Question

How is xgboost determine the attributes importance