The lawyer has responsibilities to not represent clients whose interest are adverse to a former client. This duty is specifically discussed in Rule 1.9 wherein the details are specified.
BarPrepHero Premium offers the most complete collection of real bar exam questions licensed directly from NCBE (the organization that writes the exam).