The correct answer is D. Preposition. You can observe the sentence as if it said "over the mountain" instead of beyond. The meaning would not change. It isn't a conjunction, nor is it an interjection. Many would confuse it for an adverb but it is not because it does not describe the activity more precisely.