How do I set default product attribute?
According to Ryan, it's based on the weight of the terms you reference.

As far as the default product that is selected, it should be the first product referenced in the field. If you're wanting to set that dynamically, you can look at Commerce Product URLs which provides that functionality.