
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A bicycle sharing company is developing a multi-tier architecture to track the location of its bicycles during peak operating 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 to support this architecture. The data points must be accessible from the REST API.
Which action meets these requirements for storing and retrieving location data?
A
Use Amazon Athena with Amazon S3.
B
Use Amazon API Gateway with AWS Lambda.
C
Use Amazon QuickSight with Amazon Redshift.
D
Use Amazon API Gateway with Amazon Kinesis Data Analytics.
Explanation:
Correct Answer: B - Use Amazon API Gateway with AWS Lambda
Why this is correct:
Real-time data processing: The scenario describes tracking bicycle locations during peak operating hours, which implies real-time or near-real-time data processing requirements.
REST API accessibility: The requirement explicitly states that "data points must be accessible from the REST API." Amazon API Gateway is specifically designed to create, publish, maintain, monitor, and secure REST APIs.
Serverless architecture: AWS Lambda provides serverless compute that can process incoming location data, transform it, and store it in a suitable data store for analytics.
Multi-tier architecture: API Gateway + Lambda creates a clean separation between the API layer (Gateway) and the business logic layer (Lambda), which aligns with multi-tier architecture principles.
Integration with analytics platform: Lambda can write processed location data to various analytics-friendly storage solutions like Amazon S3, Amazon DynamoDB, or Amazon Kinesis Data Streams for further analysis.
Why other options are incorrect:
A. Use Amazon Athena with Amazon S3:
C. Use Amazon QuickSight with Amazon Redshift:
D. Use Amazon API Gateway with Amazon Kinesis Data Analytics:
Architecture Flow:
This solution provides scalability during peak hours, cost-effectiveness through serverless pricing, and clean separation of concerns in a multi-tier architecture.