MSCI interview question

Bernoullis Theorem and Bayes Rule