Which action will meet these requirements?
Modify the ALB security group to deny incoming traffic from blocked countries.
Modify the security group for EC2 instances to deny incoming traffic from blocked countries.
Use Amazon CloudFront to serve the application and deny access to blocked countries.
Use ALB listener rules to return access denied responses to incoming traffic from blocked countries.
Explanations:
Security groups do not support filtering traffic by geographic location or country.
Security groups cannot block traffic based on country; they only work with IP addresses and ports.
Amazon CloudFront supports geo-restriction features to block access from specific countries.
ALB listener rules do not have built-in functionality to filter traffic based on geographic location.