I was recently asked to calculate the maximum likelihood estimate of a single Bernoulli trial. Since the MLE of a binomial distribution is just the mean of the observed number of successes, I reasoned that the MLE of a single Bernoulli trial is either $0$ or $1$, depending on whether the trial resulted in a success or not.
Is my reasoning/answer correct?