Amazon Interview Question

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