For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 3Question 23
    Easy1 markMultiple Choice
    Domain 1.2: Security ControlsSecurityVPCALB

    AWS SAP-C02 · Question 23 · Domain 1.2: Security Controls

    An architecture uses an Application Load Balancer (ALB) in front of an Auto Scaling group of EC2 instances. The security team requires that the EC2 instances only accept traffic from the ALB. How should the security groups be configured?

    Answer options:

    A.

    Configure the EC2 security group to allow inbound traffic from the ALB's IP addresses.

    B.

    Configure the EC2 security group to allow inbound traffic on the application port, specifying the ALB's security group ID as the source.

    C.

    Configure a Network ACL to block all traffic except from the ALB subnets.

    D.

    Place the EC2 instances in a private subnet and the ALB in a public subnet.

    How to approach this question

    Look for security group referencing.

    Full Answer

    B.Configure the EC2 security group to allow inbound traffic on the application port, specifying the ALB's security group ID as the source.✓ Correct
    Referencing the ALB's security group ID in the EC2 security group ensures only traffic routed through the ALB is accepted.

    Common mistakes

    Trying to use IP addresses for an ALB, which scales dynamically.
    Question 22All questionsQuestion 24

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 3

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
    View all 75 questions →