Question 70: You are having a server farm of EC2 instances on which Apache Web Server is installed and an e-commerce application is running on that. All the logs generated are regularly submitted an S3 bucket. You

fraud detection team want that they should be able to run some searches on that huge log files. Which of the following are the correct solution steps for the given requirement?

A. You can create a Lambda function which can be triggered whenever a new log files added in S3 bucket and ingest this data at the defined location.

B. You can use QuickSight AWS service to query data stored in S3 bucket.

C. You will be storing this data from S3 bucket to AWS Elastic Search.

D. You will be creating an SQS queue which will read log files from S3 bucket and send it to AWS Elastic Search.

E. You will be creating an SNS topic which will read log files from S3 bucket and send it to AWS Redshift Cluster table.

1. A,B

2. A,C

3. C,D

4. D,E

5. A,E

Correct Answer : 2 Exp : As your fraud detection team should be able to search the log data, then logs data should be indexed. And one of the best solution for using Elastic Search.

Amazon Elasticsearch Service (Amazon ES) is a managed service that makes it easy to deploy, operate, and scale Elasticsearch clusters in the AWS Cloud. Elasticsearch is a popular open-source search and analytics

engine for use cases such as log analytics, real-time application monitoring, and clickstream analysis. With Amazon ES, you get direct access to the Elasticsearch APIs; existing code and applications work seamlessly

with the service.

Amazon ES provisions all the resources for your Elasticsearch cluster and launches it. It also automatically detects and replaces failed Elasticsearch nodes, reducing the overhead associated with self-managed

infrastructures. You can scale your cluster with a single API call or a few clicks in the console.

Now the question is how to regularly inserts the data in ElasticSearch. AWS Lambda is a compute service that lets you run code without provisioning or managing servers. You can use Lambda to send data to your Amazon

ES domain from Amazon S3. New data that arrives in an S3 bucket triggers an event notification to Lambda, which then runs your custom code to perform the indexing. Based on that we can say, combination of option A and

C required.

2