nerdexam
Amazon

SOA-C02 · Question #518

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…

The correct answer is A. Launch a script that downloads and installs the application using Amazon EC2 user data. 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…

Submitted by javi_es· Mar 30, 2026Deployment, Provisioning, and Automation

Question

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?

Options

  • ALaunch a script that downloads and installs the application using Amazon EC2 user data.
  • BCreate a custom API using Amazon API Gateway to call an installation executable from an AWS
  • CUse AWS Systems Manager to inject the application into an AMI.
  • DConfigure AWS CodePipeline to deploy code changes and updates.

How the community answered

(33 responses)
  • A
    76% (25)
  • B
    3% (1)
  • C
    6% (2)
  • D
    15% (5)

Explanation

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.

Topics

#EC2 user data#instance bootstrap#application deployment#automation

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice