Courseiva
Infrastructure Security →mediumMultiple Choice

SCS-C02 Infrastructure Security Practice Question

A company has a requirement to log all network traffic flowing through a VPC, including traffic between EC2 instances within the same subnet. Which AWS service should be used?

⚠ Common exam trap

SCS-C02 often tests the confusion between VPC Flow Logs (network traffic metadata), CloudTrail (API activity), and GuardDuty (threat detection), tricking candidates into selecting CloudTrail for network-level logging.

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

✓

VPC Flow Logs

VPC Flow Logs capture IP traffic information for network interfaces in a VPC, including traffic between EC2 instances within the same subnet, and can be published to CloudWatch Logs or S3. It is the only AWS service listed that provides packet-level metadata for all traffic flowing through VPC network interfaces.

Answer analysis

Option-by-option breakdown

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

  • ✓

    VPC Flow Logs

    Why this is correct

    VPC Flow Logs is the only option that captures network traffic itself. It records flow metadata for every accepted and rejected connection at the VPC, subnet, or elastic network interface (ENI) level, including intra-subnet traffic between instances. The logs contain source/destination addresses, source/destination ports, protocol, packets, bytes, and the connection action, and can be published to CloudWatch Logs or Amazon S3 for analysis. While it captures flow metadata rather than packet payloads, it fully meets a requirement to log all network traffic for audit and troubleshooting.

  • ✗

    Amazon GuardDuty

    Why it's wrong here

    Amazon GuardDuty is a threat-detection service that analyzes ingested data sources, including VPC Flow Logs, AWS DNS logs, and CloudTrail events, to identify suspicious activity. It consumes VPC Flow Logs as an input, but it does not generate, store, or export raw flow logs on its own. Enabling GuardDuty alone would not satisfy the logging requirement; VPC Flow Logs must be enabled separately before GuardDuty can analyze them.

  • ✗

    AWS Config

    Why it's wrong here

    AWS Config is a configuration management and compliance service, not a traffic-logging service. It tracks resource configuration snapshots and changes, such as an added security-group rule on an EC2 instance, and evaluates those configurations against AWS-managed or custom rules. Although a configuration change can affect whether traffic is allowed, AWS Config never observes or stores actual IP flows or packets, so it cannot fulfill a network-traffic logging requirement.

  • ✗

    AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail records control-plane API activity: every API call made by users, roles, or AWS services through the Management Console, CLI, or SDK. It captures events such as RunInstances or ModifySecurityGroup, but it does not observe the resulting data-plane network flows between resources. Because the company needs to log network traffic—connections, packets, and transfers between instances—CloudTrail is focused on who made which API calls, not on IP traffic, making it the wrong service.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

This SCS-C02 question is part of Courseiva's 1,205-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This SCS-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 SCS-C02 exam.