
Answer-first summary for fast verification
Answer: Upload files from the mobile software directly to Amazon S3 Use S3 event notifications to create a message in an Amazon Simple Queue Service(Amazon SQS)standard queue.
1. Explanation for Answer B: The most cost-effective solution for the company's requirements is to store the data in Amazon S3 and use the AWS Glue Data Catalog along with Amazon Athena to query the data. This approach has several advantages: - Amazon S3 is a highly scalable and durable object storage service that can handle large amounts of data at a lower cost compared to maintaining a persistent Amazon EMR cluster. - The AWS Glue Data Catalog is a central repository that makes it easy to manage metadata and catalog information for data stored in various data sources, including Amazon S3. This simplifies metadata management and improves query performance. - Amazon Athena is a serverless interactive query service that allows you to analyze data directly in Amazon S3 using standard SQL. It is cost-effective for querying large amounts of data, especially when the queries are not complex or do not require high concurrency. By using this combination of services, the company can reduce costs while still enabling SQL data queries during the specified time window. 2. Explanation for Answer B (Image Processing Scenario): For the image processing scenario, the recommended solution is to: - Upload files from the mobile software directly to Amazon S3, which is a scalable and cost-effective storage solution for storing image data. - Use S3 event notifications to create a message in an Amazon Simple Queue Service (SQS) standard queue. This decouples the data ingestion from the processing and ensures that the image processing can scale to handle the load during peak usage times. - Invoke an AWS Lambda function to perform image processing when a message is available in the queue. Lambda is a serverless compute service that can automatically scale to handle the processing workload. - Send a push notification to the mobile app using Amazon Simple Notification Service (SNS) when the image processing is complete. SNS is a flexible and scalable messaging service that can deliver notifications to various endpoints, including mobile devices. This approach ensures that the image processing system can scale to handle the load during peak usage times while providing real-time updates to the users when the processing is complete.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is collecting a large amount of data from a fleet of loT devices.Data is stored as Optimized ROW Columnar (ORC)files in the Hadoop Distributed File System(HDFS)on a persistent Amazon EMR cluster.The company's data analytics tean queries the data by using SQL.in APache Presto deployed on the same EMR cluster.Queries scan large amounts of data ,always run for less than 15 minutes ,and run only between 5 PM and 10 PM.The company is concerned about the high cost associated with the current solution.A solution architect must propose the most cost- effective solution that will allow SQL data queries.Which solution will meet these requirements ? B.Store data in Amazon S3.Use the AWS Glue Data Catalog and Amazon Athena to query data. C.Store data in EMR File System(EMRFS).Use Presto in Amazon EMR to query data D.Store data in Amazon Redshift.Use Amazon Redshift to query data. Answer B Analyze: You need Redshift cluster to run Redshift spectrum which is expensive.Cost per query is same in Redshift spectrum vs Athena though Athena is not for complex or parallel queries with large data set Q184. A company needs to store and process image data that will be uploaded from mobile devices using a custom mobile app.Usage peaks between 8 AM and 5 PM on weekdays ,with thousands of uploads per minute.The app is rarely used at any other time A user is notified when image processing is complete When combination of actions should a solutions architect take to ensure image processing can scale to handle the load ?
A
Upload files from the mobile software directly to Amazon S3.Use S3 event notifications to create a message in an Amazon MQ queue.
B
Upload files from the mobile software directly to Amazon S3 Use S3 event notifications to create a message in an Amazon Simple Queue Service(Amazon SQS)standard queue.
C
Invoke an AWS Lambda function to perform mage processing when a message is available in the queue
D
Invoke an S3 Batch Operations job to perform image processing when a message is available in the queue
E
Send a push notification to the mobile app by using Amazon Simple Notification Service (Amazon SNS)when processing is complete F.Send a push notification to the mobile app by using Amazon Simple Email Service(Amazon SES )when processing is complete.