In the case of strong rip currents it is safe to say that be best option if you are on the water is the do not fight against the current and try to float and swim parallel to the shore, if you are in the beach you must avoid going into the water (b). The other options can be also applyed if as alternativies, however the one that can safely secure that you can stay in the beach and don't be affected by the current is the alternative b.