Concept of the question-
“Every solution is a scalar multiple of $[2 \ 5\ 4\ 3\ 1]^T$”
It means, $[2 \ 5\ 4\ 3\ 1]^T$” is the only linearly independent solution.
There is a difference between Linearly Independent Solution and Linearly Independent Column.
# of LI Solution = # free variables = Nullity = 1 (here)
While, #LI Columns = # pivot elements = Rank
Hence, Rank = $n – \ nullity = 5-1 = 4$ (Ans).