Q7 — AWS SAA-C03 Ch.13
Question 7 of 100 | ← Chapter 13
Q907. An ecommerce company wants to collect user clickstream data from the company's website for real-time analysis. The website experiences fluctuating traffic patterns throughout the day. The company needs a scalable solution that can adapt to varying levels of traffic.Which solution will meet these requirements?
- A. Use a data stream in Amazon Kinesis Data Streams in on-demand mode to capture the clickstream data. Use AWS Lambda to process the data in real time. ✓
- B. Use Amazon Kinesis Data Firehose to capture the clickstream data. Use AWS Glue to process the data in real time.
- C. Use Amazon Kinesis Video Streams to capture the clickstream data. Use AWS Glue to process the data in real time.
- D. Use Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data Analytics) to capture the clickstream data. Use AWS Lambda to process the data in real time.
Correct Answer: A. Use a data stream in Amazon Kinesis Data Streams in on-demand mode to capture the clickstream data. Use AWS Lambda to process the data in real time.
Explanation
To collect user clickstream data from the company's website for real-time analysis, while also having a scalable solution that can adapt to varying levels of traffic, the following solution will meet the requirements:A. Use a data stream in Amazon Kinesis Data Streams in on-demand mode to capture the clickstream data. Use AWS Lambda to process the data in real time.Amazon Kinesis Data Streams is a service designed for ingesting and processing streaming data at scale. By using a data stream in Amazon Kinesis Data Streams, the ecommerce company can capture the clickstream data in real time. The on-demand mode allows the stream to automatically scale based on the incoming traffic patterns, ensuring scalability to handle varying levels of traffic on the website.AWS Lambda can be used to process the clickstream data in real time. Lambda functions can be triggered by the incoming data stream, enabling real-time analysis and processing of the clickstream data.Option B suggests using Amazon Kinesis Data Firehose to capture the clickstream data. While Data Firehose is suitable for delivering data to other services such as data lakes or data warehouses, it does not provide the real-time processing capability required for immediate analysis of the clickstream data.Option C suggests using Amazon Kinesis Video Streams, which is specifically designed for video streaming, and may not be the most suitable choice for capturing and analyzing clickstream data.Option D suggests using Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data Analytics) to capture the clickstream data. While Kinesis Data Analytics offers advanced analytics capabilities, it may introduce unnecessary complexity for this scenario where real-time processing using Lambda is sufficient.In summary, option A using Amazon Kinesis Data Streams in on-demand mode to capture the clickstream data and AWS Lambda for real-time processing provides a scalable solution that can adapt to varying levels of traffic, allowing the ecommerce company to collect and analyze the clickstream data in real time.