MLS-C01 · Question #206
A company has an ecommerce website with a product recommendation engine built in TensorFlow. The recommendation engine endpoint is hosted by Amazon SageMaker. Three compute-optimized instances…
The correct answer is A. Configure the endpoint to use Amazon Elastic Inference (EI) accelerators. C. Configure the endpoint to automatically scale with the InvocationsPerInstance metric. Two independent problems must be solved: handling variable load cost-effectively. Option C (auto scaling with the InvocationsPerInstance metric) directly addresses the beginning-of-month traffic spikes and the 8 AM–6 PM weekday peaks by automatically adding and removing…
Question
A company has an ecommerce website with a product recommendation engine built in TensorFlow. The recommendation engine endpoint is hosted by Amazon SageMaker. Three compute-optimized instances support the expected peak load of the website. Response times on the product recommendation page are increasing at the beginning of each month. Some users are encountering errors. The website receives the majority of its traffic between 8 AM and 6 PM on weekdays in a single time zone. Which of the following options are the MOST effective in solving the issue while keeping costs to a minimum? (Choose two.)
Options
- AConfigure the endpoint to use Amazon Elastic Inference (EI) accelerators.
- BCreate a new endpoint configuration with two production variants.
- CConfigure the endpoint to automatically scale with the InvocationsPerInstance metric.
- DDeploy a second instance pool to support a blue/green deployment of models.
- EReconfigure the endpoint to use burstable instances.
How the community answered
(36 responses)- A69% (25)
- B8% (3)
- D6% (2)
- E17% (6)
Explanation
Two independent problems must be solved: handling variable load cost-effectively. Option C (auto scaling with the InvocationsPerInstance metric) directly addresses the beginning-of-month traffic spikes and the 8 AM–6 PM weekday peaks by automatically adding and removing instances based on actual inference request volume. This is more cost-effective than always running enough instances for peak load. Option A (Amazon Elastic Inference accelerators) attaches fractional GPU acceleration to the endpoint instances, reducing the CPU bottleneck for TensorFlow inference at a fraction of the cost of full GPU instances. Together, A and C allow the endpoint to handle variable load with the right amount of compute at each moment. Option B (two production variants) is used for A/B testing, not load management. Option D (blue/green deployment) is a deployment strategy for zero-downtime updates, not a scaling solution. Option E (burstable instances like T-types) are unsuitable for consistent ML inference workloads as they throttle CPU after sustained use, worsening response times rather than improving them.
Topics
Community Discussion
No community discussion yet for this question.