The inverse of a diagonal matrix is obtained by taking the reciprocal of the diagonal elements. For
\[ A = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 5 \end{bmatrix}, \]the diagonal elements are 2, 3, and 5. Thus:
\[ A^{-1} = \begin{bmatrix} \frac{1}{2} & 0 & 0 \\ 0 & \frac{1}{3} & 0 \\ 0 & 0 & \frac{1}{5} \end{bmatrix}. \]This matches option (A).
Final Answer: \[ \boxed{(A)} \]Let $ A = \begin{bmatrix} 2 & 2 + p & 2 + p + q \\4 & 6 + 2p & 8 + 3p + 2q \\6 & 12 + 3p & 20 + 6p + 3q \end{bmatrix} $ If $ \text{det}(\text{adj}(\text{adj}(3A))) = 2^m \cdot 3^n, \, m, n \in \mathbb{N}, $ then $ m + n $ is equal to: