SCS-C03 practice question 11 of 15
A company is operating an open-source software platform that is internet facing. The legacy software platform no longer receives security updates…
Full set: 227 questionsThe most effective and rapid solution is to place an Application Load Balancer (ALB) in front of the EC2 instances and protect it with AWS WAF. AWS WAF can be configured with managed rule sets, such as the AWSManagedRulesSQLiRuleSet, to block common SQL injection attacks at the application layer. This approach acts as a virtual patch, requires no changes to the legacy application code, and can be implemented quickly. Redirecting traffic via Route 53 after testing ensures a smooth transition with no downtime, meeting all the requirements.
B. While AWS WAF can be used with CloudFront, an ALB is a more direct and suitable replacement for the existing Route 53 weighted load balancing between EC2 instances.
C. Patching the legacy source code is the ideal long-term fix but is unlikely to be completed within 24 hours with the least effort, especially for an unsupported platform.
D. AWS WAF cannot be applied directly to EC2 instances. It must be associated with an ALB, CloudFront distribution, API Gateway, or AppSync. Blocking the SQL port does not prevent SQL injection attacks.
1. AWS Documentation. (2024). How AWS WAF works. AWS WAF Developer Guide. Retrieved from https://docs.aws.amazon.com/waf/latest/developerguide/how-aws-waf-works.html (Section: "AWS resources that you can protect with AWS WAF")
2. AWS Documentation. (2024). AWS Managed Rules rule groups list. AWS WAF Developer Guide. Retrieved from https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html (Table entry for "SQL database")
3. AWS Documentation. (2024). What is an Application Load Balancer? Elastic Load Balancing User Guide. Retrieved from https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html
Keep practicing
Take the free SCS-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCS-C03 practice questions
- Question 1A security engineer has designed a VPC to segment private traffic from public traffic. Th…
- Question 2A company uses AWS Organizations to manage an organization that consists of three workloa…
- Question 3A company uses AWS IAM Identity Center with SAML 2.0 federation. The company decides to c…
- Question 4A company runs a public web application on Amazon EKS behind Amazon CloudFront and an App…
- Question 5A consultant agency needs to perform a security audit for a company's production AWS acco…
- Question 6A company’s data scientists use Amazon SageMaker with datasets stored in Amazon S3. Data …
