Courseiva
MigrationmediumMultiple ChoiceObjective-mapped

PAS-C01 Migration Practice Question

Network Topology
$ aws ec2 describe-instancesquery 'Reservations[*].Instances[*].[InstanceIdoutput textRefer to the exhibit.i-0a1b2c3d4e5f6g7h runningi-1a2b3c4d5e6f7g8h stoppedi-2a3b4c5d6e7f8g9h running

A company is migrating on-premises servers to AWS. After migrating, the administrator runs the AWS CLI command shown in the exhibit. The company wants to ensure that all EC2 instances are in the 'running' state. Which action should the administrator take?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Run aws ec2 start-instances --instance-ids i-1a2b3c4d5e6f7g8h

The instance with ID i-1a2b3c4d5e6f7g8h is in a stopped state. To transition it to the 'running' state, the administrator should use the start-instances command. Option A is correct because it starts the stopped instance. Option B (stop-instances) would stop running instances, which is not the desired action. Option C (reboot-instances) would reboot a running instance, but this instance is stopped. Option D (terminate-instances) would permanently delete the instance, which is not the goal.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Run aws ec2 start-instances --instance-ids i-1a2b3c4d5e6f7g8h

    Why this is correct

    Starts the stopped instance.

  • Run aws ec2 stop-instances --instance-ids i-0a1b2c3d4e5f6g7h

    Why it's wrong here

    Would stop a running instance.

  • Run aws ec2 reboot-instances --instance-ids i-2a3b4c5d6e7f8g9h

    Why it's wrong here

    Would reboot a running instance.

  • Run aws ec2 terminate-instances --instance-ids i-2a3b4c5d6e7f8g9h

    Why it's wrong here

    Would terminate a running instance.

About these practice questions

This PAS-C01 question is part of Courseiva's 1,616-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PAS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PAS-C01 exam.