Leinster scored three tries in the last 13 minutes to see off Cardiff Blues and reach the maximum 10 points after their first two games in the new Pro14.
The hosts had inside centre Isa Nacewa sent to the sin-bin for 10 minutes for a high challenge on Cardiff winger Alex Cuthbert.