In logistic regression the predicted probability is compared with a threshold (commonly 0.5) to decide the class, so the threshold defines the decision boundary between classes.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.