You are contagious after receiving a live virus vaccine. MMR is a live virus vaccine. So is chickenpox. And the shingles vax as well. IIRC some flu shots are live virus vaccines as well. The nasal spray version is one version.
You’re also contagious if you contract the disease