A bicycle sharing company is building a multi-tier architecture to track bicycle locations during peak hours. The company wants to use these data points in its existing analytics platform. A solutions architect must determine the most viable multi-tier option. The data points must be accessible via a REST API. Which action meets the requirements for storing and retrieving location data?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Amazon API Gateway with AWS Lambda..
Why this is the answer
The correct option is to use Amazon API Gateway with AWS Lambda. API Gateway provides a fully managed REST API endpoint, which directly addresses the requirement for data to be accessible via a REST API. AWS Lambda can then process these requests, store the location data in a suitable database (like DynamoDB or Aurora, not specified but implied by "multi-tier architecture"), and retrieve data for analytics. This combination is highly scalable and cost-effective for handling varying loads during peak hours. Using Amazon Athena with Amazon S3 is incorrect because Athena is primarily for querying data in S3, not for directly providing a REST API for real-time data ingestion and retrieval. Amazon QuickSight with Amazon Redshift is incorrect as QuickSight is a business intelligence service for visualization, and Redshift is a data warehouse, neither of which directly provides a REST API for operational data access. Amazon API Gateway with Amazon Kinesis Data Analytics is incorrect because Kinesis Data Analytics is for real-time processing of streaming data, not for serving as the primary data store or for directly fulfilling REST API requests for stored data.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed