For frosting, combine sugar, milk, butter and egg yolks in a heavy saucepan. Cook and stir over medium-low heat until thickened and a thermometer reads 200. Remove from the heat. Stir in vanilla; fold in coconut and pecans. Cool until frosting reaches spreading consistency. Frost cooled cake. Refrigerate leftovers.