What is AMI & how to build one?
AMI or Amazon Machine Image is a snapshot of the root filesystem. The bios present in the commodity hardware servers point the master boot record of the first block on a disk. To build a new AMI, first, spin up and instance from a trusted AMI. The packages and components can be added further.
This is a typical Amazon coding questions.