HELP! Which describes how the underlined pronoun is used in the sentence?

Does he know how to play guitar? ( the underlined pronoun is he)

a. subject

b. direct object

c. object of a preposition

d. predicate nominative

I think the answer may be a. subject, but I'm not 100% sure