
Answer-first summary for fast verification
Answer: Implement a dynamic resource allocation strategy that adjusts based on the current workload, utilizing auto-scaling policies and checkpointing for fault tolerance, alongside comprehensive monitoring to ensure both cost and latency SLAs are met.
Option B is the correct choice because it effectively balances the need for cost control with the requirement to meet latency SLAs. By dynamically adjusting resources based on workload, the system can scale up during peak times to maintain performance and scale down during off-peak times to save costs. Implementing auto-scaling policies and checkpointing ensures fault tolerance, while comprehensive monitoring allows for real-time adjustments to meet SLAs. The other options either neglect cost considerations, fail to adapt to changing workloads, or sacrifice performance for cost savings, making them less suitable for a production environment with strict SLAs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with designing a production streaming job system on Microsoft Azure that must adhere to strict cost and latency Service Level Agreements (SLAs). The system should efficiently manage resource allocation, ensure fault tolerance, and include robust monitoring mechanisms. Considering the need to balance cost-effectiveness with performance, which of the following strategies would BEST meet these requirements? Choose one option.
A
Allocate the maximum possible resources to the streaming job to minimize latency, without any consideration for cost optimization.
B
Implement a dynamic resource allocation strategy that adjusts based on the current workload, utilizing auto-scaling policies and checkpointing for fault tolerance, alongside comprehensive monitoring to ensure both cost and latency SLAs are met.
C
Use a fixed amount of resources for the streaming job and monitor only latency metrics, ignoring the potential for cost savings through dynamic scaling.
D
Prioritize cost reduction by consistently under-provisioning resources, accepting that this may lead to higher latency and potential SLA violations.
No comments yet.