Is trimming the beard permissible for my safety, given I must go to India for exams/work despite rampant islamophobia where Muslims have been attacked and killed? I might become their target as I have a long beard and I have no other option or alternative but to go there for my further education.

Ustadh AbdulAziz al-Haqqan
Excuse me from answering this question and be safe may Allah protect us and you. Reach out to a mufti and ask him.