A: Certain brands (i.e. Kingston) have a lifetime warranty. You basically can't go wrong.
B:Kingston they inspect all machine welds by hand, fix the messed up welds by hand, test each stick in an actual computer... You really can't go wrong. I'm sure other companies have just as good quality control, but I've seen the Kingston factory in action.