If I have a function $f(n)$ such that $f(n) \geq 0$ for all positive integers $n$ and that $\lim\limits_{n\to \infty} f(n) = 0$, then can I conclude that $f(n) = O\left( \dfrac{1}{n^k}\right)$ for some real $k > 0$?
The converse of what I want to know is clearly true, but how do I prove/disprove my claim?
Yes, that is true.
Indeed, $f(n) = O(n^k)$ means that there exist constants $n_0$ and $C$, such that $f(n) \leq Cn^k$ for all $n\geq n_0$.
Since $n^k\rightarrow\infty$ as $n\rightarrow\infty$ no matter the value of $k>0$, and since $f(n)\rightarrow 0$, you certainly have that $f(n)\leq n^k$ from some point and onwards.