Courseiva
Continuous Improvement for Existing SolutionshardMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

Network Topology
$ aws ec2 describe-network-interfacesfilters Name=group-idRefer to the exhibit."NetworkInterfaces": ["NetworkInterfaceId": "eni-0a1b2c3d4e5f67890","Description": "Primary network interface","Groups": ["GroupId": "sg-12345678","GroupName": "web-sg"],"Attachment": {"InstanceId": "i-0a1b2c3d4e5f67890","DeviceIndex": 0},"PrivateIpAddresses": ["PrivateIpAddress": "10.0.1.10","Primary": true"NetworkInterfaceId": "eni-0a1b2c3d4e5f67891","Description": "","InstanceId": "i-0a1b2c3d4e5f67891","DeviceIndex": 1"PrivateIpAddress": "10.0.1.20",

A security engineer runs the above command to list network interfaces attached to security group sg-12345678. The engineer notices that instance i-0a1b2c3d4e5f67890 has two network interfaces but only one is shown in the output. What is the MOST likely reason?

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 second interface is associated with a different security group.

The command filters by security group ID, so only interfaces in that group are shown. The second interface may belong to a different security group. Option A is wrong because the filter is by group-id, not instance-id. Option B is wrong because the command does not filter by device index. Option C is wrong because the command can list all interfaces in the group regardless of attachment.

Answer analysis

Option-by-option breakdown

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

  • The second interface is not attached to the instance.

    Why it's wrong here

    Instance has two interfaces.

  • The second interface has a device index of 0.

    Why it's wrong here

    Doesn't affect output.

  • The command only returns interfaces that are attached.

    Why it's wrong here

    It returns all matching interfaces.

  • The second interface is associated with a different security group.

    Why this is correct

    Filter limits to sg-12345678.

About these practice questions

One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.