Answer: D
The two steps of imine formation need opposite conditions. Addition needs free amine, which is lost by protonation in strong acid. Loss of water from the carbinolamine needs acid catalysis, which is lacking in base. The rate therefore peaks at weakly acidic pH.