<span>it's D: All astronauts had master’s or doctorate degrees, but only two were jet pilots; consequently, the astronauts with no flight experience had to complete one year of flight training.
The answer to your question would be that the sentence that correctly shows where a semicolon is needed in the sentence is the following one: All astronauts had master's or doctorate degrees, but only two were jet pilots; consequently, the astronauts with no flight experience had to complete one year of flight training.
Explanation:
The sentence above contains the conjunctive adverb <em>consequently.</em> You should always use a period or semicolon before the conjunctive adverb when separating two independent clauses. That is why the last sentence is the one that is correctly punctuated.