Patrick Farves, 18, asked Davuluri to the annual end of the year dance and gave her a plastic flower when she was speaking to students at the school's auditorium.
The New York Daily News said at the end of a question and answer session, Farves rose and asked Davuluri, 24 if she would be his date at prom. Davuluri laughed and Farves ran up to the stage, handing her a plastic flower he had bought for her and asked her to take a selfie with him.
Davuluri replied "Maybe later" and Farves cheered as he walked back from the stage.
The school however did not take the prank lightly and suspended Farves for three days, saying the student had "deliberately" defied school administrators, who had requested him that he not ask Davuluri the question after they learnt of the planned stunt.
"It is not our practice to discipline a student for asking someone - even Miss America - to a school dance. However, it is our practice to set expectations for student behaviour, to communicate those expectations and rules to students and families and to ensure those rules are followed within our schools. This practice is not uncommon and happens every day, multiple times a day, in schools, businesses and homes across America," the school said in a statement.
Farves told the local York Dispatch that he was pretty much set "to ask Davuluri the question even though he had been asked by his school not to behave in such a manner".
"I was a little pressured. Everybody expected me to do it. I'm the kind of person who, if someone says I won't do something, I'll prove people wrong. I will."
Farves later apologised, writing a letter to the district's assistant superintendent that he was sorry for the commotion.
"I do understand why the administration was mad," he told the Dispatch. "I don't want to be the kind of person to try to justify myself ... I didn't intend to disrespect the administration. I can see how it was seen as a slap in the face."