The modulus of $ z $ is:
$$ |z| = 2 \sqrt{ 5 }$$To find modulus of a complex number $ z = a + bi $ we use formula:
$$ |z| = \sqrt{a^2 + b^2} $$In this example we have $ a = 2 $ and $ b = -4 $ so:
$$ \begin{aligned}|z| &= \sqrt{ 2^2 + (-4)^2 } \\[1 em]|z| &= \sqrt{ 4 + 16 } \\[1 em]|z| &= \sqrt{ 20 } \\[1 em]|z| &= 2 \sqrt{ 5 } \\[1 em] \end{aligned} $$