We need to avoid a diamond loser.
But there is no need to ruff it – we can discard it on an established club. We should keep the ♦K as an entry.
So, win the first trick in hand, draw trumps, and set up the clubs. Even if opponents hold up the ♣A until the third round, we still have the ♦K as an entry to dummy's club winner.
It would be a mistake to take ♦K and ♦A and ruff the diamond loser. The ♥AQ could followed, but we would have no way back to hand to draw the last trump. Defenders might gain a ruff.