Answer: The volume of ammonia gas produced will be 3 Liters.
Step-by-step explanation:
At STP:
1 mole of a gas occupies 22.4 L of volume.
The chemical reaction for the formation of ammonia follows the equation:

It is given that nitrogen gas is present in excess. Thus, hydrogen gas is considered as limiting reagent.
By Stoichiometry of the reaction:
of hydrogen produces
of ammonia gas.
So, 4.5 L of hydrogen gas will produce =
of ammonia gas.
Hence, the volume of ammonia gas produced will be 3 Liters.