The problem is the two questions convey the same meaning, but they are not the literal translations of each other.

As it-ogo noted, "Кем вы работаете" is literally translated as "As who do you...