Let {ξ1, ξ2, . . .} be a sequence of independent random variables, and η be a counting random variable independent of this sequence. In addition, let S0 := 0 and Sn := ξ1 + ξ2 + · · · + ξn for n 1. We consider conditions for random variables {ξ1, ξ2, . . .} and η under which the distribution functions of the random maximum ξ (η) := max{0, ξ1, ξ2, . . . , ξη} and of the random maximum of sums S (η) := max{S0, S1, S2, . . . , Sη} belong to the class of consistently varying distributions. In our consideration the random variables {ξ1, ξ2, . . .} are not necessarily identically distributed.