A trunk carries multiple VLANs over one link. The allowed list selects which VLANs can cross it, while the native VLAN controls untagged traffic. Replacing an allowed list can remove a previously required VLAN.
Read the request before entering commands.
The topology is fictional, and each task opens an isolated configuration. You can inspect a device without changing it, then make the smallest change that meets the request. Check both the saved settings and the resulting evidence. An accepted command doesn't prove that the address, interface or direction is correct. The first task includes guidance. Later tasks change the addresses and remove those steps so you have to decide which values belong in the command.
Inspect the topology and current configuration.