Correct option is B
In this question following logic is followed-
(2nd)3 × 3 = 1st Number
1029 : 7 :: 2187 : 9 :: 24 : ?
1029 : 7 → 73 × 3 = 343 × 3 = 1029
2187 : 9 → 93 × 3 = 729 × 3 = 2187
Similarly,
24 : ? → ?3 × 3 = 24
?3 = 24 ÷ 3
?3 = 8
? = 2
Thus, the correct answer is (b).