The correct option is B Subject: He; Predicate: has a good memory
The pronoun he is being talked about here. He is the topic of discussion and is, therefore, the subject. The rest of the sentence consists of what is being said about the subject, i.e., the predicate, starting with the verb has. Thus, option B is the correct answer.