Excitation with quantum light. II. Exciting a two-level system