nerdexam
Amazon

SCS-C03 · Question #38

A company is operating an open-source software platform that is internet facing. The legacy software platform no longer receives security updates. The software platform operates using Amazon Route…

The correct answer is A. Create an Application Load Balancer with the existing EC2 instances as a target group. Create an. AWS WAF provides managed and custom rules that can immediately mitigate common web exploits such as SQL injection without modifying application code. According to AWS Certified Security - Specialty documentation, placing AWS WAF in front of an Application Load Balancer is a…

Submitted by fatima_kr· Mar 6, 2026Infrastructure Security

Question

A company is operating an open-source software platform that is internet facing. The legacy software platform no longer receives security updates. The software platform operates using Amazon Route 53 weighted load balancing to send traffic to two Amazon EC2 instances that connect to an Amazon RDS cluster. A recent report suggests this software platform is vulnerable to SQL injection attacks, with samples of attacks provided. The company's security engineer must secure this system against SQL injection attacks within 24 hours. The solution must involve the least amount of effort and maintain normal operations during implementation. What should the security engineer do to meet these requirements?

Options

  • ACreate an Application Load Balancer with the existing EC2 instances as a target group. Create an
  • BCreate an Amazon CloudFront distribution specifying one EC2 instance as an origin. Create an
  • CObtain the latest source code for the platform and make the necessary updates. Test the updated
  • DUpdate the security group that is attached to the EC2 instances, removing access from the

How the community answered

(23 responses)
  • A
    78% (18)
  • B
    13% (3)
  • C
    4% (1)
  • D
    4% (1)

Explanation

AWS WAF provides managed and custom rules that can immediately mitigate common web exploits such as SQL injection without modifying application code. According to AWS Certified Security - Specialty documentation, placing AWS WAF in front of an Application Load Balancer is a recommended rapid-response control for legacy applications with known vulnerabilities. Creating an ALB in front of the existing EC2 instances allows seamless traffic migration. AWS WAF SQL injection rules can be deployed and tested without downtime. Updating Route 53 to point to the ALB preserves normal operations. Restricting EC2 security groups afterward prevents bypassing the WAF. Option B introduces CloudFront changes and single-origin testing, increasing complexity. Option C cannot be completed within 24 hours and risks downtime. Option D is invalid because AWS WAF cannot be attached directly to EC2 instances.

Topics

#AWS WAF#SQL injection protection#Application Load Balancer#web application firewall

Community Discussion

No community discussion yet for this question.

Full SCS-C03 Practice