Pergunta de entrevista da empresa Yandex

1. Which loss function is used in the logistic regression algorithm. 2. Can gradient descent get stuck at a local minimum during optimization of logistic regression weights?