Courseiva
Network Security, Compliance and GovernanceeasyMultiple ChoiceObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

Network Topology
aws ec2 describe-security-groupsgroup-ids sg-12345678Refer to the exhibit.```"SecurityGroups": ["GroupName": "web-sg","GroupId": "sg-12345678","VpcId": "vpc-1a2b3c4d","IpPermissions": ["FromPort": 80,"ToPort": 80,"IpProtocol": "tcp","IpRanges": ["CidrIp": "0.0.0.0/0"},"FromPort": 22,"ToPort": 22,"CidrIp": "10.0.0.0/8"],"IpPermissionsEgress": ["IpProtocol": "-1",

A security engineer reviews the above security group configuration for a web server. What is a security concern with this configuration?

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 outbound rule allows all traffic, which could be used for data exfiltration if the server is compromised.

The security concern is that the outbound rule allows all traffic to any destination, which could be used for data exfiltration if the server is compromised. This is option A. Option D is not a concern because allowing HTTP from anywhere is typical for a web server. Option B is incorrect because SSH from 10.0.0.0/8 is internal and acceptable. Option C is incorrect because the outbound rule is overly permissive, not necessary.

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 outbound rule allows all traffic, which could be used for data exfiltration if the server is compromised.

    Why this is correct

    A restrictive egress rule is a best practice to limit the impact of a breach.

  • The inbound rule for SSH allows traffic from a large CIDR block (10.0.0.0/8), which could include unauthorized internal hosts.

    Why it's wrong here

    While it could be more restrictive, it is a private IP range and typical for internal management.

  • The outbound rule allows all traffic, which is necessary for the server to function.

    Why it's wrong here

    It is not necessary to allow all outbound traffic; it should be restricted to required destinations.

  • The inbound rule for HTTP is too permissive because it allows traffic from all IP addresses.

    Why it's wrong here

    HTTP must be open to the internet for a public web server; this is expected.

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 →

How Courseiva writes practice questions · Editorial policy

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.