Question 135:
A team is developing a feature that needs to recognize Celebrities. By using the App, clients can upload photos and search celebrities among the photos by clicking a button. Or they can upload a bunch of photos and search the times that a given celebrity has appeared. The team wants to run the App in AWS at a lower cost. Which option is the most efficient one to implement while still ensuring availability and stability?
Answer options:
A.Create the frontend and backend in a T2 medium EC2 instance to use its burstable capability. Call Rekognition API “RecognizeCelebrities” to fetch the information in a JSON format. Process the JSON result in the backend service and return the result to the frontend UI. B.Develop the App in a serverless lambda to use Rekognition API “SearchFaces” to search a Celebrity. The input image can be base64-encoded bytes or an S3 object. After the API has been returned, present the result to clients. C.Use the AWS Rekognition service. Implement the App in a lambda to call Rekognition API “RecognizeCelebrities” to fetch the information required in a JSON format. Process the information in Lambda and return the result to end-users. Use S3 for clients to upload photos. D.Implement the App in an M4 large EC2 instance with Autoscaling and Elastic Load Balancer. Build the application via a Cloudformation template. Use the App to call Rekognition API “SearchFaces” to get the information. Process the JSON result in the backend service and return the result to the frontend with a Cloudfront CDN.