The task begins with "Configure SW2 so ...". Then the SG configures SW2 and SW4 as well. With a wording like that, isn't it forbidden to configure other devices in order to solve the given task?
I have to agree with you; this task needs to be reworded, as to me we are prohibited from changing configs on SW4.
Good luck with your studies.