Question 791 of 1,546
Networking and Content DeliveryhardMultiple ChoiceObjective-mapped

EC2 Not Receiving Traffic from ALB: Security Group Misconfiguration

This SOA-C02 practice question tests your understanding of networking and content delivery. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

Output of `aws ec2 describe-network-interfaces`:
```json
{
    "NetworkInterfaces": [
        {
            "NetworkInterfaceId": "eni-0a1b2c3d4e5f67890",
            "Description": "ELB app/alb-1234567890abcdef/1a2b3c4d5e6f7g8h",
            "VpcId": "vpc-12345678",
            "SubnetId": "subnet-12345678",
            "Groups": [
                {
                    "GroupId": "sg-12345678",
                    "GroupName": "default"
                }
            ],
            "SourceDestCheck": true,
            "Attachment": {
                "InstanceId": "i-0a1b2c3d4e5f67890"
            }
        }
    ]
}
```

A SysOps administrator notices that an EC2 instance is not receiving traffic from an Application Load Balancer (ALB). The ALB is healthy and the target group shows the instance as healthy. The exhibit shows the network interface attached to the instance. What is the likely cause of the issue?

Exhibit

Refer to the exhibit.

Output of `aws ec2 describe-network-interfaces`:
```json
{
    "NetworkInterfaces": [
        {
            "NetworkInterfaceId": "eni-0a1b2c3d4e5f67890",
            "Description": "ELB app/alb-1234567890abcdef/1a2b3c4d5e6f7g8h",
            "VpcId": "vpc-12345678",
            "SubnetId": "subnet-12345678",
            "Groups": [
                {
                    "GroupId": "sg-12345678",
                    "GroupName": "default"
                }
            ],
            "SourceDestCheck": true,
            "Attachment": {
                "InstanceId": "i-0a1b2c3d4e5f67890"
            }
        }
    ]
}
```

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 instance's security group does not allow inbound traffic from the ALB

The instance's security group must allow inbound traffic from the ALB. The exhibit shows the network interface attached to the instance, and the security group (sg-12345678) is likely the default security group, which typically does not allow HTTP/HTTPS traffic. Option C is correct because the security group acts as a virtual firewall for the instance. Options A, B, and D are incorrect: A) source/destination check is irrelevant for ALB traffic destined to the instance; B) the subnet type does not directly prevent ALB traffic as long as routing is correct; D) network ACLs are stateless and if inbound traffic is denied, outbound return traffic would also be affected, but the instance is not receiving traffic at all, indicating a security group issue.

Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

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 source/destination check is enabled on the network interface

    Why it's wrong here

    Source/destination check is typically enabled and does not affect ALB traffic to the instance.

  • The network interface is in a private subnet

    Why it's wrong here

    ALB ENIs can be in private subnets; this doesn't block traffic.

  • The instance's security group does not allow inbound traffic from the ALB

    Why this is correct

    If the instance's security group blocks traffic from the ALB, the ALB will receive 503 errors.

    Related concept

    CIDR notation defines the prefix length.

  • The network ACL of the subnet denies inbound traffic

    Why it's wrong here

    Network ACLs are stateless; if inbound is denied, but the ALB ENI is in a different subnet, it's possible but less likely.

Common exam traps

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Detailed technical explanation

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Key takeaway

Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Real-world example

How this comes up in practice

A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

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)

What to study next

Got this wrong? Here's your next step.

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SOA-C02 subnetting questions on CIDR, address ranges, and subnet selection.

Related practice questions

Related SOA-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SOA-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SOA-C02 question test?

Networking and Content Delivery — This question tests Networking and Content Delivery — CIDR notation defines the prefix length..

What is the correct answer to this question?

The correct answer is: The instance's security group does not allow inbound traffic from the ALB — The instance's security group must allow inbound traffic from the ALB. The exhibit shows the network interface attached to the instance, and the security group (sg-12345678) is likely the default security group, which typically does not allow HTTP/HTTPS traffic. Option C is correct because the security group acts as a virtual firewall for the instance. Options A, B, and D are incorrect: A) source/destination check is irrelevant for ALB traffic destined to the instance; B) the subnet type does not directly prevent ALB traffic as long as routing is correct; D) network ACLs are stateless and if inbound traffic is denied, outbound return traffic would also be affected, but the instance is not receiving traffic at all, indicating a security group issue.

What should I do if I get this SOA-C02 question wrong?

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SOA-C02 subnetting questions on CIDR, address ranges, and subnet selection.

What is the key concept behind this question?

CIDR notation defines the prefix length.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on SOA-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Refer to the exhibit. A SysOps administrator runs the describe-target-health command and sees that an EC2 instance in the target group is unhealthy with a timeout error. What is the most likely cause?

easy
  • A.The target group is configured with an incorrect port
  • B.The instance's security group does not allow traffic from the ALB on the health check port
  • C.The instance is in a private subnet without a NAT gateway
  • D.The instance does not have a route to the internet

Why B: Option B is correct because the health check is timing out, which indicates that the instance is not responding to health check requests on port 80. The security group must allow inbound traffic from the ALB on the health check port. Option A is wrong because the target group is configured with port 80, which matches. Option C is wrong because the route table is less likely to cause a timeout; it would cause unreachability. Option D is wrong because the instance is in a public subnet? Not necessarily; but the health check timeout is most often a security group issue.

Keep practising

More SOA-C02 practice questions

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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