طَلَعَتِ الشَّمْسُ — The sun rose. The form طَلَعَ الشَّمْسُ is also allowed.
طَلَعَتْ / طَلَعَ is a past verb. الشَّمْسُ is the nominative subject, marked by ḍamma. Since «الشمس» is treated as non-real/grammatical feminine here, either agreement form is permitted.