fardh-e-kifaaayah

Study medicine and engineering

Q: What are the rewards of doing a fardh kifaya act? For example if there is no Muslim physician, engineer, physiotherapist, etc. in a Muslim community (in a region where majority are Muslims compared to kafirs) only kafirs and a single Muslim decides to pursue one of those professions, what is his reward?