Can I start fasting based on the moon sighting of another country?
You must follow the moon sighting of the country you are in.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded. And Allah Almighty knows best.
When is a child instructed to fast?
A child is instructed to fast at the age of seven if they are capable of fasting and have reached the age of discernment, by analogy to prayer. They should be encouraged but not forced, so they can become accustomed to it. It is obligatory for their guardian, whether a father or another, to instruct them.