Is it the following statement correct?

I obtained the exam be sent before August.

or the correct way is:

I obtained the exam were sent before August.

Thanks

kiostroIs it the following statement correct?
I obtained the exam be sent before August.

No, that is not grammatical English.

kiostroor the correct way is:
I obtained the exam were sent before August.

That is not grammatical English. What are you trying to say?

"obtain the exam" makes no sense.

Did you sit for the exam? (British English) Or take the exam? (American English)