Kesuvos 42: Rav Yosef Becoming Rosh Yeshiva

Why was he able to answer the question only then?