The correct option is
A Q+q1+q2 and it is non-uniformly distributed.
From the data given in the question,
Charges in the two cavities produce induced charges on their surfaces as the cavity is surrounded by the conducting medium.
Charge in Cavity-1 is situated at its centre and is symmetric so the charge will spread uniformly. Similarly, Charge in Cavity-2 is also present at the center so the charge distribution is uniform.
Total charge present on the outer surface is
q1+q2+Q. Distribution of this charge is non uniform as the radius of curvature at various points of conductor's surface is different.
The presence of
q1 and
q2 and their location has no effect on the distribution of charge on the outer surface but the presence of
q does change the distribution of charge on outer surface,still it remains non uniform.
Hence, option (a) is the correct answer.