Since this job is for people, that's why it has some risks included and for that government provides security guards for IAS officer and their families. Also they get a personal car for official works, a personal residence with maids, servants, security guards and gardener, travel allowance, etc.