Examtopics

AWS Certified DevOps Engineer - Professional
  • Topic 1 Question 143

    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?

    • AfterBlockTraffic

    • BeforeBlockTraffic

    • BeforeInstall

    • DownloadBundle


    シャッフルモード