An n-tier application requires a table in an Amazon RDS MySQL DB instance to be dropped and repopulated at each deployment. This process can take several minutes and the web tier cannot come online until the process is complete. Currently, the web tier is configured in an Amazon EC2 Auto Scaling group, with instances being terminated and replaced at each deployment. The MySQL table is populated by running a SQL query through an AWS CodeBuild job. What should be done to ensure that the web tier does not come online before the database is completely configured?
A) Use Amazon Aurora as a drop-in replacement for RDS MySQL. Use snapshots to populate the table with the correct data.
B) Modify the launch configuration of the Auto Scaling group to pause user data execution for 600 seconds, allowing the table to be populated.
C) Use AWS Step Functions to monitor and maintain the state of data population. Mark the database in service before continuing with the deployment.
D) Use an EC2 Auto Scaling lifecycle hook to pause the configuration of the web tier until the table is populated.
Correct Answer:
Verified
Q82: A DevOps Engineer is researching the least-expensive
Q83: A company has established tagging and configuration
Q84: A DevOps Engineer manages a web application
Q85: A company is using an AWS CodeBuild
Q86: A web application with multiple services runs
Q88: A DevOps Engineer is working on a
Q89: A DevOps Engineer has several legacy applications
Q90: A DevOps Engineer is implementing a mechanism
Q91: An application is running on Amazon EC2.
Q92: A security review has identified that an
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents