The correct option is D -2
Δ=∣∣
∣∣k111k111k∣∣
∣∣
⇒Δ=(k−1)2(k+2)
Taking Δ=0
⇒(k−1)2(k+2)=0
⇒k=1,k=−2
At these values of k, system can have either no solution or infinitely many solution.
For k=1, equations takes the form x+y+z=1
Hence, infinitely many solution for k=1.
For k=-2,
D1=∣∣
∣∣111−2−2141−2∣∣
∣∣
D1=9≠0
So, D=0, at least one D1≠0
Hence, system has no solution for k=-2