AWS Certified Developer – Associate (DVA-C02) — Question 3

For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?

Answer options

Correct answer: B

Explanation

The correct answer is B because this sequence accurately reflects the process where the application is first stopped before any installation takes place, followed by the installation and then starting the application. The other options misplace the order of these critical steps, leading to potential deployment issues.