To validate your AMP pages, ‘amphtml-validator’ is used during the development. Warnings and fatal errors will be displayed in the terminal where the Next JS is started. AMP pages also get validated during ‘next export’ and issues will be printed in the terminal, and the ‘next export’ will fail due to the absence of proper AMP validation.

BY Best Interview Question ON 07 Jun 2019