Answer:
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.
Step-by-step explanation:
The sentence above contains the conjunctive adverb consequently. 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.