A company's production environment uses an AWS CodeDeploy blue/green deployment to deploy an application. The deployment incudes Amazon EC2 Auto Scaling groups that launch instances that run Amazon Linux 2.
A working appspec.yml file exists in the code repository and contains the following text:
A DevOps engineer needs to ensure that a script downloads and installs a license file onto the instances before the replacement instances start to handle request traffic. The DevOps engineer adds a hooks section to the appspec.yml file.
Which hook should the DevOps engineer use to run the script that downloads and installs the license file?
thanhnv142
Highly Voted 1 year agotom_cat
Highly Voted 1 year, 2 months agoET2025
Most Recent 1 month, 1 week agoDanShone
11 months, 1 week agotwogyt
1 year, 1 month agovandergun
1 year, 3 months ago