Which AWS service will meet these requirements?
AWS Network Firewall
Amazon RDS for SQL Server
Amazon GuardDuty
AWS WAF
Explanations:
AWS Network Firewall is primarily used for controlling traffic at the network layer, but it does not specifically address SQL injection attacks or provide detailed logging for ecommerce applications.
Amazon RDS for SQL Server is a managed database service, but it does not inherently protect against SQL injection attacks or provide detailed logging specific to application access; it focuses on database management.
Amazon GuardDuty is a threat detection service that monitors AWS accounts and workloads for malicious activity, but it does not specifically protect web applications from SQL injection or provide detailed access logging for those applications.
AWS WAF (Web Application Firewall) is designed to protect web applications from common web exploits, including SQL injection attacks. It also provides detailed logging of web requests, making it suitable for monitoring access to ecommerce applications.