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 6Question 08
    Medium1 markMultiple Choice
    Domain 1.2: Security ControlsSecurityWAFECS

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

    An architecture includes an Application Load Balancer (ALB) fronting an Amazon ECS cluster. The security team wants to block malicious IP addresses, prevent SQL injection attacks, and ensure that only traffic from the ALB can reach the ECS tasks. Which combination of services and configurations should be used?

    Answer options:

    A.

    Attach AWS Shield Advanced to the ECS cluster. Use Network ACLs to block IPs.

    B.

    Attach AWS WAF to the ALB. Configure ECS security groups to only allow ingress from the ALB security group.

    C.

    Deploy AWS Network Firewall in front of the ALB. Use ECS security groups to allow 0.0.0.0/0.

    D.

    Attach AWS WAF to the ECS cluster directly. Use ALB security groups to block IPs.

    How to approach this question

    Identify the service for Layer 7 protection (WAF) and the method for internal network isolation (Security Groups).

    Full Answer

    B.Attach AWS WAF to the ALB. Configure ECS security groups to only allow ingress from the ALB security group.✓ Correct
    Attach AWS WAF to the ALB. Configure ECS security groups to only allow ingress from the ALB security group.
    AWS WAF on the ALB protects against SQLi and blocks IPs. Security group referencing (allowing the ALB SG ID in the ECS SG) secures the internal traffic.

    Common mistakes

    Trying to attach WAF directly to ECS.
    Question 07All questionsQuestion 09

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise requires highly available hybrid connectivity between its on-premises data ce...HardQ02An organization has 50 VPCs across two AWS Regions connected via Transit Gateways (TGW). The TGWs...HardQ03A company uses AWS Organizations. The network team wants to share a central Transit Gateway (TGW)...MediumQ04An enterprise has on-premises data centers in the US and Europe. They want to use the AWS global ...HardQ05A company requires that all API calls to Amazon S3 from their VPC must not traverse the public in...Medium
    View all 75 questions →