Not all courses are mandatory. Some courses/tests can be compulsory if the project requires them. But apart from that, it is up to you to upskill and learn.