Question 426:
Elastic Beanstalk environment has been used for your team recently for a feature development based on Java. When the team firstly created the environment, they were using a single instance as they did not consider the capacity. However, after a while you find that the application needs to consume more memory and CPU than being expected sometimes during traffic spike. As a result, the application has some performance issues. Your AWS solution architect suggests you use multiple instances rather than one. What should you do?
Answer options:
A.Change your environment type to a high available environment by editing your environment`s configuration. In the Elastic Beanstalk console, select the environment, add multiple instances with autoscaling based on MemoryUtilization. B.Destroy the environment. Create a new environment type that has multiple instances as your old environment cannot be modified to a multiple instances environment. C.Modify the environment`s capacity settings to a load balanced environment type with autoscaling. Select all availability zones. Also add a scaling trigger if average CPUUtilization is over 85% for a 5 minutes period. D.Edit your environment`s capacity configuration to a load balanced environment type. Make sure that all availability zones are selected. Add a scaling event when median CPUUtilization is over 85% for a period of 1 minute. E.Modify the instance type to t2.large to meet the need of high CPU and memory.