Ultimate access to all questions.
A developer is tasked with configuring an Amazon EC2 Auto Scaling Group that must launch both Spot and On-Demand instances depending on the specific needs of the application. It is also essential that the CodeDeploy agent is automatically installed on these EC2 instances upon launch. All instances will be running the Amazon Linux operating system.
What method would provide the most operational efficiency in meeting this configuration requirement?