The answers to the sub-questions are:
- (a) The exponential form is \(2^5 = 32\).
- (b) The logarithmic form is \(\log_{7} \left(\frac{1}{49}\right) = -2\).
Thus, the final answers are:
\[
\boxed{2^5 = 32}
\]
\[
\boxed{\log_{7} \left(\frac{1}{49}\right) = -2}
\]