
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 company is designing a solution to capture customer activity in different web applications to process analytics and make predictions. Customer activity in the web applications is unpredictable and can increase suddenly. The company requires a solution that integrates with other web applications. The solution must include an authorization step for security purposes.
Which solution will meet these requirements?
A
Configure a Gateway Load Balancer (GWLB) in front of an Amazon Elastic Container Service (Amazon ECS) container instance that stores the information that the company receives in an Amazon Elastic File System (Amazon EFS) file system. Authorization is resolved at the GWLB.
B
Configure an Amazon API Gateway endpoint in front of an Amazon Kinesis data stream that stores the information that the company receives in an Amazon S3 bucket. Use an AWS Lambda function to resolve authorization.
C
Configure an Amazon API Gateway endpoint in front of an Amazon Kinesis Data Firehose that stores the information that the company receives in an Amazon S3 bucket. Use an API Gateway Lambda authorizer to resolve authorization.
D
Configure a Gateway Load Balancer (GWLB) in front of an Amazon Elastic Container Service (Amazon ECS) container instance that stores the information that the company receives on an Amazon Elastic File System (Amazon EFS) file system. Use an AWS Lambda function to resolve authorization.
Explanation:
Option C is the correct answer because it best meets all the requirements:
Handles unpredictable, sudden traffic spikes: Amazon Kinesis Data Firehose is designed to handle large volumes of streaming data with automatic scaling, making it ideal for unpredictable customer activity.
Integrates with other web applications: Amazon API Gateway provides a RESTful API endpoint that can easily integrate with various web applications through HTTP/HTTPS calls.
Includes authorization step: API Gateway Lambda authorizer provides a flexible, serverless way to handle authorization before processing requests.
Analytics and predictions: Data stored in Amazon S3 can be processed for analytics and machine learning predictions using services like Amazon Athena, Amazon EMR, or Amazon SageMaker.
Why other options are incorrect:
Option A & D: Gateway Load Balancer (GWLB) is designed for deploying and managing third-party virtual appliances, not for capturing web application activity. ECS containers with EFS are not optimized for handling unpredictable streaming data.
Option B: While API Gateway and Kinesis data stream could work, using a Lambda function for authorization is less integrated than using API Gateway's built-in Lambda authorizer feature. Also, Kinesis Data Streams require more management than Kinesis Data Firehose for simple data ingestion to S3.
Key AWS Services Used: