All vaccines (except tetanus) contain the pathogen for which you are taking it
Of course. The risk of dying from a vaccine is far less than the risk of dying without a vaccine.