Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 381 discussion

A custom application must be installed on all Amazon EC2 instances. The application is small, updated frequently, and can be installed automatically.

How can the application be deployed on new EC2 instances?

  • A. Launch a script that downloads and installs the application using Amazon EC2 user data.
  • B. Create a custom API using Amazon API Gateway to call an installation executable from an AWS CloudFormation template.
  • C. Use AWS Systems Manager to inject the application into an AMI.
  • D. Configure AWS CodePipeline to deploy code changes and updates.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SysOps4
4 months, 2 weeks ago
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).
upvoted 3 times
...
Student013657
5 months, 1 week ago
Selected Answer: A
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.
upvoted 1 times
...
ovladan
5 months, 3 weeks ago
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"
upvoted 1 times
...
mestule
6 months, 2 weeks ago
Selected Answer: A
deployed on NEW ec2 instances
upvoted 2 times
...
vivanchyk
8 months, 1 week ago
Selected Answer: D
voted D. is it a good practice to install app using instance user data at all? sounds really weird to me.
upvoted 3 times
Yowie351
7 months, 3 weeks ago
New EC2 instances means it should be on a user data script. Hence A
upvoted 5 times
...
...
Kipalom
10 months, 2 weeks ago
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?
upvoted 3 times
Aamee
3 weeks, 3 days ago
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.
upvoted 1 times
...
...
nharaz
10 months, 2 weeks ago
Selected Answer: A
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
upvoted 4 times
Aamee
1 week, 3 days ago
but u're missing the point of 'frequently updated' requirement in the question. How would you fulfil that through option A??..
upvoted 1 times
...
...
WinAndWin
10 months, 2 weeks ago
Selected Answer: A
As What I search from examtopic.com. A is correct one.
upvoted 3 times
...
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.

SaveCancel
Loading ...