I don't know what happens if they do fail a module.
Not a UEA parent (yet - DS2 hopes to.go in 2021), but tried googling UEA failing second year module and it took me to the UEA portal:
portal.uea.ac.uk/learning-and-teaching/students/results-regulations/compensation
BACHELORS AND INTEGRATED MASTERSBACHELORS AND INTEGRATED MASTERS
Not all courses require you to pass every module. Where compensation in a failed module is available, you can progress on your course or graduate even though you have not passed the module; the failing module is ‘compensated’ for by your other marks.
If you have achieved good marks in all your modules except for one or two, you may have achieved the requirements of your degree without undertaking reassessment. Compensation is only available in some courses; courses where all modules need to be passed (eg professional degrees) are not eligible.
Any non-core module, is eligible for compensation up to a total of 40 credits. Information on core modules, which are not eligible for compensation because they must be passed to meet the learning outcomes of the course, is available on your Course Profile.
Undergraduate and Integrated Masters’ students are eligible for compensation where:
You have failed (or have not completed the assessment for) up to 40 credits, andThe failed/not completed module is eligible for compensation (not core) andYou have an average mark for the year of at least the pass mark (40% for Bachelors degrees; 50% for integrated masters degrees at level 7). All modules including the failed module contribute to this calculation.
To note:
Compensation is not allowed in any module designated as core (those that must be passed to meet the learning outcomes of the course).
And the page specific to continuing students:
portal.uea.ac.uk/learning-and-teaching/students/results-regulations/compensation/continuing-students