It is known that for $C^{\infty}$ determining sets Markov's property is equivalent to Bernstein's property. The purpose of this paper is to prove an analogous result in the case of compact subsets of algebraic varieties.