Question 80
During a regulated workload modernization proposal, the decisive constraint is: A service must scale gradually when sustained queue depth increases rather than only on average CPU. What should the architect implement?
Explanation
Correct Answer
Scale consumer capacity from queue metrics using target tracking or step scaling. Queue-driven scaling aligns processing workers with pending demand.
Incorrect Answers
Store sessions in a resilient shared service and spread stateless application hosts across AZs would address a different requirement: A private application must survive one AZ becoming unavailable without moving stateful sessions to a dead node. Externalizing session state permits healthy hosts to serve requests after AZ loss.
This alternative, Enable the cache engine's supported multi-AZ replica and automatic failover features, is appropriate when A cache cluster loses its primary node and needs fast automatic recovery. Replicas and failover promote healthy capacity when the primary fails.
Use an Auto Scaling group spanning AZs behind an Application Load Balancer solves the related scenario A web application needs to replace failed EC2 hosts while serving traffic through two or more AZs; aSG health replacement and ALB target routing reduce single-instance failures.