mediummultiple choiceObjective-mapped

A security architect is designing the network security for a web application hosted in a public cloud environment such as AWS. The application uses an Application Load Balancer (ALB) that distributes traffic to a fleet of web servers. The web servers must only accept traffic from the ALB, and all other inbound traffic must be blocked. The ALB itself needs to accept HTTP/HTTPS traffic from anywhere on the internet. Which of the following cloud security controls should the architect configure on the web servers' network interface to best meet this requirement, assuming the cloud provider offers both stateful and stateless network filtering options?

Question 1mediummultiple choice
Full question →

A security architect is designing the network security for a web application hosted in a public cloud environment such as AWS. The application uses an Application Load Balancer (ALB) that distributes traffic to a fleet of web servers. The web servers must only accept traffic from the ALB, and all other inbound traffic must be blocked. The ALB itself needs to accept HTTP/HTTPS traffic from anywhere on the internet. Which of the following cloud security controls should the architect configure on the web servers' network interface to best meet this requirement, assuming the cloud provider offers both stateful and stateless network filtering options?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

A stateless network ACL that allows inbound traffic from the ALB's subnet only.

Stateless network ACLs require explicit rules for both inbound and outbound traffic. This adds administrative complexity and is more prone to misconfiguration than a stateful security group. While it could work, it is not the best practice for this requirement because security groups offer a simpler, stateful solution that can reference the ALB's security group directly.

B

Best answer

A stateful security group that allows inbound traffic from the ALB's security group only.

Correct. Security groups are stateful and can use another security group as a source. This configuration cleanly allows only traffic originating from the ALB, automatically handles return traffic, and is the recommended cloud-native approach for controlling instance-level access.

C

Distractor review

A web application firewall (WAF) that inspects all traffic for SQL injection.

A WAF inspects HTTP/HTTPS traffic at the application layer to detect and block attacks like SQL injection or cross-site scripting. It does not control network-level access or filter traffic based on source IP/security group; it is a complementary security control, not a replacement for network-layer filtering.

D

Distractor review

A host-based firewall on each web server that allows traffic from the ALB's private IP address.

A host-based firewall can be used, but it requires manual configuration on each server and does not leverage the cloud provider's built-in security group functionality. It is also harder to manage at scale compared to security groups, making it a less optimal choice for this scenario.

Common exam trap

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.

Technical deep dive

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.

Related practice questions

Related SY0-701 practice-question pages

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

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SY0-701 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: A stateful security group that allows inbound traffic from the ALB's security group only. — A security group is a stateful virtual firewall that controls inbound and outbound traffic at the instance level. By configuring the web server's security group to allow inbound traffic only from the ALB's security group, the architect ensures that only the ALB can initiate connections to the web servers. Security groups automatically allow return traffic, so no additional rules are needed. This is the most efficient and secure approach. Network ACLs are stateless and require separate inbound and outbound rules, making them more complex to manage for this scenario. A WAF operates at the application layer and is not a network-level access control. A host-based firewall is an additional measure but does not leverage the cloud's native security group features for simplified management.

What should I do if I get this SY0-701 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.