I have previously addressed the Problem of Evil in a another post but I'm not sure I really addressed the Christian apologetic of divine command theory. In its most simplified form, Yahweh can never be evil or immoral because he's the god. This god quality automatically makes everything he says or does automatically moral because of who he is. Because we do not have this god quality we have no right to pass moral judgment on anything he says or does. No matter how evil or immoral any action (or inaction!) he takes it is automatically made moral by dint of his authority as the god. If we do the same evil, immoral thing citing Yahweh's action as precedent we are still evil and immoral because we do not possess the god quality. The Profit of the Church of the Fridge wrote an incredible essay comparing the morals of Superman against the morals of Yahweh and I highly recommend it.
The Christian answer to the Problem of Evil is that there's no problem at all. Just ignore it until the problem goes away. I think that sounds perfectly reasonable when you don't think about it.