YES. All courses that you will take at Canberra will count towards the ANU graduation requirements. Hence, failing course(s) will affect your ANU degree. Should you contact and communicate with the ANU CAP Student Centre (firstname.lastname@example.org) regarding ANU courses and ANU graduation requirements.
*Remind that each university is only responsible for answering on their university.