Let’s make a table and see how many of the 36 outcomes is divisible by 4
4, 8, and 12 are all divisible by 4
$ \Pr((D_1+D_2)\bmod 4 = 0) $
$ = \Pr(D_1+D_2=4) + \Pr(D_1+D_2=8) + \Pr(D_1+D_2=12) $
$ = \frac{3}{36} + \frac{5}{36} + \frac{1}{36} $
$ = \frac{9}{36} $
$ = \frac{1}{4} $