Configuration Selection and Prioritization using QAOA