After defeating the like of Nightmare Moon, Discord, King Sombra, and having helped save Canterlot from the Changelings, there isn't much Twilight and her friends could not handle. But only after an old enemy returns do Twilight and her friends realize what true nightmares are made of.
NOTE: This story does not take into count season 3 and season 4 cannon.