if you just got your shrimp, and it has molted successfully, i think that means the shrimp will live long term.
any time i buy a new shrimp, i wait till it molts to know if it will survive. if its going to die, it usually dies during its first molt because its not healthy enough to finish the process.