Full AWS Practitioner Certification Question

How can a systems administrator specify a script to be run on an EC2 instance during launch?