Question 274:
A company has developed a book reading application deployed in AWS. As the number of users grows, there is an increasing need to add a search feature for the application. The team needs to create this feature as soon as possible under an independent pipeline in AWS CodePipeline. In the new pipeline, the source stage is a CodeCommit repository which contains the JSON format data used for the search service. The build stage has used AWS CodeBuild to configure the data. What is the best way to implement the search feature in AWS?
Answer options:
A.Use AWS CloudSearch to implement this search function. The build stage builds a CloudFormation template. Add another deploy stage to deploy the CloudFormation stack for the CloudSearch search domain. B.Use AWS EC2 to provision and manage a cluster of servers running SOLR applications for the search feature. The build stage is responsible for baking an AMI. C.Use AWS CloudSearch to implement this feature. The build stage uses AWS CLI to configure the data in the search domain of CloudSearch. D.Use AWS Lambda to manage an EC2 Elasticsearch application for the search feature. The build stage is responsible for building the Lambda function.