For a deployment using AWS CodeDeploy, what is the run order of the hooks for in-place deployments?
A . Before Install -> Application Stop -> Application Start -> After Install
B . Application Stop -> Before Install -> After Install -> Application Start
C . Before Install -> Application Stop -> Validate Service -> Application Start
D . Application Stop -> Before Install -> Validate Service -> Application Start
Answer: B
Explanation:
Reference: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structurehooks.html