Alarms that are set to go off in profile 1 will still go off even if you're in profile 2, and there's no way to stop them unless you enter profile 1 and stop the alarm.
Is there a way to prevent alarms from going off in different profiles? And enabling DND in the profile in which you are currently in should not be necessary.