AWS DevOps Engineer Professional DOP-C01 – Question339

You have an ASP.NET web application running in Amazon Elastic Beanstalk. Your next version of the application requires a third-party Windows Installer package to be installed on the instance on first boot and before the application launches.
Which options are possible? (Choose two.)

A.
In the application's Global.asax file, run msiexec.exe to install the package using Process.Start() in the Application Start event handler.
B. In the source bundle's .ebextensions folder, create a file with a .config extension. In the file, under the "packages" section and "msi" package manager, include the package's URL.
C. Launch a new Amazon EC2 instance from the AMI used by the environment. Log into the instance, install the package and run sysprep. Create a new AMI. Configure the environment to use the new AMI.
D. In the environment's configuration, edit the instances configuration and add the package's URL to the "Packages" section.
E. In the source bundle's .ebextensions folder, create a "Packages" folder. Place the package in the folder.

Correct Answer: BD