Correct option is B
We use Elementary Row Operations to find the Echelon Form.
Now apply
The rank of A is the number of non-zero rows in this echelon form.
Rank is 2 if there are exactly two non-zero rows. This requires:
Thus, the rank is
The rank is 2 if a = 1.