SAP-C02 Continuous Improvement for Existing Solutions Practice Question
Network Topology
A solutions architect runs the command shown in the exhibit. Which statement is true about the output?
⚠ Common exam trap
Many candidates assume the output includes all instances or tag information, but the JMESPath query explicitly filters for running instances and projects only the specified fields, so any inference about tags or stopped instances is unsupported by the output.
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
✓
The command displays the instance ID, instance type, and launch time of three running instances.
The command `aws ec2 describe-instances --query 'Reservations[].Instances[?State.Name==`running`].[InstanceId,InstanceType,LaunchTime]' --output table` filters for running instances and projects only the InstanceId, InstanceType, and LaunchTime fields. The output shows three rows, each representing a running instance with those three attributes. Therefore, option B is correct because it accurately describes the displayed data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
There are two instances with the Environment=production tag.
Why it's wrong here
There are three instances in the output.
- ✓
The command displays the instance ID, instance type, and launch time of three running instances.
Why this is correct
The output shows three instances with those attributes.
- ✗
One of the instances is stopped.
Why it's wrong here
The query filters for running instances only.
- ✗
The command lists all instances in the account regardless of tags.
Why it's wrong here
The command uses a filter for Environment=production.
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 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 SAP-C02 exam.