Let $A$ to be a commutative ring with an identity $1$. $M$ is a f.g. $A$--module, Does
$$M/IM=0 \text{ for all maximal } I \Longleftrightarrow M=0$$
hold? It seems like that using localization could solve this (not sure). Is there any other way to get the goal?
For a general $A$--module $M$, a counterexample is $A=\mathbb{Z},\ M=\mathbb{Q}.$
One might get $M = IM$ for all maximal $I$ $\implies$ $M=\mathfrak{R}M$ $\implies$ $M=0$ by Nakayama's lemma. However, the first arrow is incorrect (when $M$ does not need to be a f.g. $A$--module) or not evident.