Difficulty: 8/10load balancing, autoscaling, monitoringCloud-based architecture with load balancers, autoscaling groups, and a monitoring system, ensuring 99.99% uptime and efficient resource utilizationScenario Questions0-2 years experience1We have a simple Node.js app running on a single EC2 instance. How would you add a load balancer to distribute traffic?2If the load balancer you set up starts returning 502 errors, what could be causing that?3What health check would you configure so that only healthy instances receive traffic?2-5 years experience1Follow-up QuestionsWhat metrics would you monitor to detect scaling problems?How would you test your design under failure conditions?Can you discuss the cost implications of your choices?Suggest Improvement