When faced with massive amounts of information, we docs-in-training learn to pick up on patterns pretty quickly. Unless you're some kind of savant, it's impossible to remember every detail about every disease and therapy. So you pick out little gems and regurgitate the answer before you even have time to think about it. It's a reflex. Like this question.
Any question, any time, any test, that has a question about an African American woman with some sort of funky lung issue ALWAYS has an answer related to sarcoid. Period. End of story. I've yet to see one come up where it's atypical pneumonia or something. Obviously, that's not going to be always be true in clinical practice and therein lies some of the difficulty in translating test taking knowledge with real world doc skills.