Amazon

DVA-C02 practice question 17

AWS Certified Developer - Associate (DVA-C02) · free question 17 of 20

Question

For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?
  • A. BeforeInstall -> ApplicationStop -> ApplicationStart -> AfterInstall
  • B. ApplicationStop -> BeforeInstall -> AfterInstall -> ApplicationStart Correct
  • C. BeforeInstall -> ApplicationStop -> ValidateService -> ApplicationStart
  • D. ApplicationStop -> BeforeInstall -> ValidateService -> ApplicationStart

Explanation

According to AWS documentation, for in-place deployments using AWS CodeDeploy, the correct run order of deployment hooks is ApplicationStop -> BeforeInstall -> AfterInstall -> ApplicationStart.

Need the theory? Learn it free in the DVA-C02 course on Godlike Academy

Practice the whole free set

Answer all 20 free DVA-C02 questions with instant feedback, or unlock all 557 questions with Learn and Exam modes.