A person's response to questions like, "What are you most interested in professionally?" and, "How do you see yourself developing career wise?" becomes a blueprint for what to do organizationally to retain them.
Sometimes the simplest approach is the best: Ask, "What do we need to do to retain you?" and then do that thing!