AWS Certified Solutions Architect - Professional

AWS Certified Solutions Architect - Professional

Get started today

Ultimate access to all questions.


A company is transitioning to a user-based licensing model and needs to track key performance indicators (KPIs) from their multi-tier, web-based application. They currently use the CloudWatch agent to log all application data, including login events, into Amazon CloudWatch. To support the new licensing strategy, the company must determine the number of unique users per client on a daily, weekly, and monthly basis. What is the most efficient solution that requires the least modification to the existing application setup?




Explanation:

Option A is the correct answer because it requires the least amount of change to the existing application. By configuring an Amazon CloudWatch Logs metric filter to save each successful login as a metric, and setting the user name and client name as dimensions for the metric, the company can achieve their goal without altering the application code. This approach leverages the existing logging mechanism and processes the data at the CloudWatch level, making it the most efficient solution.