@Meep<3 I don't think we need to know "how they know", but the cell mediated response will be initiated if the pathogen is intracellular, and has invaded a cell ie a virus. the humoral response will be initiated if the pathogen is an extracellular pathogen. both a t helper cell and a naive t or b cell need to be selected by the same antigen for the response to happen. i think.