🔥 3-day streak
AWS Certified DevOps Engineer - Professional84 / 204
Question 84 of 204
A company deploys a Java application to an in-place EC2 deployment group using AWS CodeDeploy. The team needs to stop the running application before new files are copied, and then run a database schema migration and health check only after the new application files are installed but before traffic is routed back through the load balancer. Where in the appspec.yml lifecycle should the schema migration and health-check scripts be defined to run reliably in this order?
Reviewed for accuracy · Report an issueNext question