Option A - key word "NEW EC2 instances" . We are interested only this app to be present in newly created EC2, question is not how to maintain app version in long-term...
For me "update frequently" is to guide that this app should not be part of the AMI - (thus not option C).
This is the most appropriate solution for your use case. Amazon EC2 user data is a feature that allows you to pass a script or a set of commands to the instance at launch time. This script can be used to download and install the custom application automatically when a new EC2 instance is launched. This is a simple and effective way to deploy the application, especially since it is small, updated frequently, and can be installed automatically.
Key words: new instance -> user data scripts run only during the first boot cycle when an EC2 instance is launched.
Selected Answer: D
Not A => By default, user data scripts run only during the first boot cycle when an EC2 instance is launched. "A" does not solve "update frequently"
deployed on NEW EC2 instances. So it really seems to be about the user data. But for every update, we need to create a new instance. So alternative answer would be D. What do you think guys?
Yea I agree to ur point on this cuz it's never a good idea to spin up a new EC2 everytime the app. needs a frequent update... For that, CodeDeploy sounds much robust and long term solution IMO.
User data allows you to run scripts or execute commands on an EC2 instance during launch. You can include the script that downloads and installs the application in the user data section when launching an EC2 instance. This allows the application to be automatically deployed when the instance is launched
As What I search from examtopic.com. A is correct one.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SysOps4
4 months, 2 weeks agoStudent013657
5 months, 1 week agoovladan
5 months, 3 weeks agomestule
6 months, 2 weeks agovivanchyk
8 months, 1 week agoYowie351
7 months, 3 weeks agoKipalom
10 months, 2 weeks agoAamee
3 weeks, 3 days agonharaz
10 months, 2 weeks agoAamee
1 week, 3 days agoWinAndWin
10 months, 2 weeks ago