The answer is B. This is he.
Think of how you might introduce a person (This is Brandon) and how Brandon would typically be replaced in a sentence. It sounds a bit off but it's the proper way to say it.
Another hint is that This is him and It is her are both options and they can't both be right.