How do they select your assignment in The Giver?

The community's Elders observe the Elevens at play, at school, and in their volunteer hours, and through this observation determine the children's aptitudes and natural inclination, as well as what they are more inclined to enjoy doing for the rest of their lives. These factors determine what their Assignment will be at the Ceremony of Twelve.