The second derivative at a maximum is either negative or zero. Can you explain how it can be zero? There can't be a 'plateau' at the maximum or it would not be a point. I cannot imagine graphically how the second derivative at a maximum can be zero. Before the maximum, the gradient is positive. After the maximum it is negative. So the gradient is decreasing.