The correct option is D 30
Let's find out the prime factorisation for each of these numbers to determine which of them is a product of three distinct primes.
18 = 2 x 3 x 3
12 = 2 x 2 x 3
27 = 3 x 3 x 3
30 = 2 x 3 x 5
So, we conclude that 30 is a product of three distinct primes, i.e., 2, 3, and 5.