At age 15, Moneta participated in the "Five Days of Milan" (1848 uprising against Austrian rule). He later attended the military academy in Ivrea. In 1859 he joined Garibaldi's Expedition of the Thousand, and also fought in the ranks of the Italian army against the Austrians in 1866.