Is the Aufbau principle violated in the diagram (b)?
Since the question specifically asks about the violation of Aufbau principle, your reasoning is correct.  

Had it been based on the violation of Hund's rule then option (a) would be the answer.