Second degree burglary is a "wobbler" which means it can be charged as a misdemeanor or a felony. The maximum punishment for a misdemeanor is a year in jail, and a felony has a potential prison sentence up to three years.
She could also get probation, with up to a year in jail.
First degree (residential) burglary is even uglier, with a maximum of six years in prison. It is also a strike under the Three Strike law, which can increase the punishment for any future felony conviction. If the burglary was a housing project, she may already getting a break with the plea to second degree burglary.
Without knowing all the facts of the case, nobody can give a meaningful opinion about her chances.