Can binary margins correlate perfectly?

Binary variables A and B have success probabilities 0.2 and 0.8. What is the largest possible value of P(A=1,B=1)P(A=1,B=1)? Use it to find their maximum possible covariance and correlation. Explain why a proposed correlation of 0.6 cannot describe a true joint Bernoulli law with these margins.

The joint success probability cannot exceed min(0.2,0.8)=0.2. The maximum covariance is 0.2-(0.2)(0.8)=0.04. Both variances equal 0.16, so their standard-deviation product is 0.16 and the maximum correlation is 0.04/0.16=0.25. A correlation of 0.6 exceeds that bound and cannot arise from these margins.