Topic 1 Question 47
2 つ選択An application uses an Amazon EC2 Auto Scaling group. A developer notices that EC2 instances are taking a long time to become available during scale-out events. The UserData script is taking a long time to run. The developer must implement a solution to decrease the time that elapses before an EC2 instance becomes available. The solution must make the most recent version of the application available at all times and must apply all available security updates. The solution also must minimize the number of images that are created. The images must be validated. Which combination of steps should the developer take to meet these requirements?
Use EC2 Image Builder to create an Amazon Machine Image (AMI). Install all the patches and agents that are needed to manage and run the application. Update the Auto Scaling group launch configuration to use the AMI.
Use EC2 Image Builder to create an Amazon Machine Image (AMI). Install the latest version of the application and all the patches and agents that are needed to manage and run the application. Update the Auto Scaling group launch configuration to use the AMI.
Set up AWS CodeDeploy to deploy the most recent version of the application at runtime.
Set up AWS CodePipeline to deploy the most recent version of the application at runtime.
Remove any commands that perform operating system patching from the UserData script.
ユーザの投票
コメント(11)
- 正解だと思う選択肢: AE
Why choose A over B? Problem is that B will tie an AMI with a specific version, so if there is a new version, we need to create a new AMI, and that contradicts with "minimize the number of images that are created".
Then E over C, D? E is obviously complementary to A, where removing commands from User Data will make the instance booting process much faster (and of course with A you don't need that anymore).
C and D also works but 1/not complementary with any other options; 2/CodeDeploy takes time to execute.
Hope this helps somebody struggling with this question.
👍 4imvb882023/05/24 - 正解だと思う選択肢: AE
how could A,B both be right? eliminate UserData problem to deal the first deadly blow
👍 3clarksu2023/03/24 - 正解だと思う選択肢: AC👍 3Watascript2023/03/25
シャッフルモード