ANS-C01 Network Management and Operations Practice Question
A company has a VPC with public and private subnets. The security team wants to detect and alert on any SSH traffic (port 22) that originates from the internet to any EC2 instance in the VPC. Which solution achieves this with minimal operational overhead?
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
✓
Enable VPC Flow Logs, publish to CloudWatch Logs, and create a metric filter for SSH traffic.
VPC Flow Logs can be published to CloudWatch Logs, and a CloudWatch Logs filter metric can detect SSH traffic. Security Groups can deny traffic but not alert. AWS Config can track configuration changes. GuardDuty detects threats but not specifically SSH traffic alerts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable VPC Flow Logs, publish to CloudWatch Logs, and create a metric filter for SSH traffic.
Why this is correct
This approach logs traffic and alerts on SSH without manual inspection.
- ✗
Configure a security group rule to deny inbound SSH and enable security group logging.
Why it's wrong here
Security groups deny traffic but do not provide configurable alerts.
- ✗
Use AWS Config to detect security group rules that allow SSH from 0.0.0.0/0.
Why it's wrong here
AWS Config evaluates configuration, not real-time traffic.
- ✗
Enable Amazon GuardDuty and rely on its threat detection.
Why it's wrong here
GuardDuty detects threats but does not provide a specific alert for any SSH traffic.
Visual reference
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-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 ANS-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 ANS-C01 exam.