Course can't be finished even though units are not assessable or required

If a course has answer or upload modules that are not assessable or required you cannot get the certificate because this is getting into the grade but if not answered there's nothing to grade.