Concept:In a geometric progression, the square of the middle term equals the product of the adjacent terms.Explanation:For the terms 2, (k+1), and 8 to be in GP, apply the condition: (k+1)2=2×8.This gives (k+1)2=16.Taking square roots, k+1=±4.If k+1=4, then k=3.If k+1=−4, then k=−5.Therefore, the possible values of k are 3 and −5.Answer:k=3 or k=−5, so the correct option is D.