the answer is sure to be was elected..since the task of electing is done by someone..then it must be used as passive..and..she can just be elected but can not elect..
I would go with 2nd one : She was elected .. here it's passive voice ( i don't know much about grammer ) means she was elected by group of people .. but we can also say : She elected Obama last year ..