An Dandy-Walker malformation occurs when there is enlargement of the posterior fossa with absent or rudimentary formation of the cerebellum, which is replaced instead by a large midline cystic region representing the expanded fourth ventricle.