Row reduction. R2←R2−2R1 and R3←R3−R1:
10010−120−1.
Swapping R2 and R3:
1001−102−10.
The rank is 2.
Solving Ax=0. The second row gives −y−z=0, i.e. y=−z. The first row gives x=−y−2z=z−2z=−z. Hence
(x,y,z)=(−z,−z,z)=z(−1,−1,1).
Check. A(−1,−1,1)T=(−1−1+2, −2−2+4, −1+0+1)T=(0,0,0)T.
Conclusion. kerf=span((−1,−1,1)); a basis is ((−1,−1,1)) and dimkerf=1.