Question 1 of 25
A technology startup is using complex deep neural networks and GPU compute to recommend the company's products to its existing customers based upon each customer's habits and interactions. The solution currently pulls each dataset from an Amazon S3 bucket before loading the data into a TensorFlow model pulled from the company's Git repository that runs locally. This job then runs for several hours while continually outputting its progress to the same S3 bucket. The job can be paused, restarted, and continued at any time in the event of a failure, and is run from a central queue. Senior managers are concerned about the complexity of the solution's resource management and the costs involved in repeating the process regularly. They ask for the workload to be automated so it runs once a week, starting Monday and completing by the close of business Friday. Which architecture should be used to scale the solution at the lowest cost?
Show answer
How others answered
- A72%
- B17%
Only 72% agreed on this answer — treat it as contested rather than settled.
Explanation
D is not correct. ECS is responsible for managing the lifecycle and placement of tasks. However, ECS does not run or execute your container. ECS only provides the control plane to manage tasks. A is correct. "You can set up compute environments that use a particular type of EC2 instance, a particular model such as c5.2xlarge or m5.10xlarge, or simply specify that you want to use the newest instance types. You can also specify the minimum, desired, and maximum number of vCPUs for the environment, along with the amount you are willing to pay for a Spot Instance as a percentage of the On-Demand Instance price and a target set of VPC subnets. AWS Batch will efficiently launch, manage, and terminate compute types as needed. You can also manage your own compute environments. In this case you are responsible for setting up and scaling the instances in an Amazon ECS cluster that AWS Batch creates for you. " https://docs.aws.amazon.com/batch/latest/userguide/what-is-batch.html
Adapted from community discussion by SophieSu · 2021-10-21 · 16 community upvotes. Third-party contribution; reviewed by our quality filter, not independently verified.