AWS Certified Solutions Architect – Professional — Question 368

An organization is setting up a web application with the JEE stack. The application uses the JBoss app server and MySQL DB. The application has a logging module which logs all the activities whenever a business function of the JEE application is called. The logging activity takes some time due to the large size of the log file.
If the application wants to setup a scalable infrastructure which of the below mentioned options will help achieve this setup?

Answer options

Correct answer: D

Explanation

Decoupling the logging module using Amazon SQS allows the application to handle logging requests asynchronously, preventing the slow write operations from blocking the main application's performance and enabling independent scaling. While options like Provisioned IOPS (A) can improve disk performance, they do not resolve the synchronous architectural bottleneck. Options B and C fail to provide a scalable, decoupled architecture suitable for handling high-volume traffic.