Infosys interview question

explain BGP attributes (local pref,MED etc)