volume_mute

Choose the right compute service

publish date2024/08/01 01:11:29.730864 UTC

volume_mute

You are a developer who is tasked with creating a new feature for a web application that's hosted on Amazon EC2.  The web application is an online store and all the items being sold in the store are loaded into a database manually behind the scenes.

This process takes a long time, isn't very scalable, and is prone to error.  You are tasked with automating the process of getting the new items information loaded into the inventory database.  The goal is to have a person upload an inventory spreadsheet into Amazon S3, the object storage service, and then have a process automatically load the data into the inventory database.

Which compute service would you use to host the processing logic to load the items from the file into the database.

EC2 instance
A container
A Lambda function

Correct Answer

A Lambda function

Explanation

An EC2 instance may cost you a lot of money, so it is not the wise choice.

AWS Lambda is the most reasonable choice in terms of cost.

Reference

AWS Skills Builder, go-math-science.com


Quizzes you can take where this question appears