A. Extremely poor
Conjunctions like although, however, but, though, in spite of, despite etc. create contrast between two parts of a sentence.
Here, the person has an $\underbrace{\text{excellent knowledge}}_{\text{positive}}$ of subject but his performance was $\underbrace{\text{extremely poor}}_{\text{negative}}.$