Response of a vertical natural convection boundary layer to random and single-mode perturbations