This paper addresses the problem of determinizing probabilistic data to enable its use in legacy systems that only accept deterministic data. It proposes a query-aware approach that selects deterministic representations of probabilistic data to optimize the quality of answers to queries over that data. A key contribution is a branch-and-bound algorithm that finds an approximate near-optimal solution to the NP-hard problem of minimizing the expected cost of query answers. Empirical results demonstrate the algorithm is efficient and achieves high quality results close to the optimal.