Amazon interview question

Write the loss function for the logistic regression. Prove that it has a global minimum.