AWS Certified Developer – Associate (DVA-C02) — Question 220

A developer needs to launch a new Amazon EC2 instance by using the AWS CLI.

Which AWS CLI command should the developer use to meet this requirement?

Answer options

Correct answer: D

Explanation

The correct command to launch a new EC2 instance is 'aws ec2 run-instances', as it specifically creates a new instance based on the provided parameters. The other options either pertain to different functionalities, such as starting already running instances or managing bundles and product confirmations, which do not fulfill the requirement to launch a new instance.