Q) You have an application which consists of EC2 instances in an Auto Scaling group. Between a particular time frame every day, there is an increase In traffic to your website. Hence users are complaining of a poor response time on the application. You have configured your Auto Scaling group to deploy one new EC2 instance when Cpu utilization is greater than 60% for 2 consecutive periods of 5 minutes. What is the least cost-effective way to resolve this problem?
a) Decrease the consecutive number of collection periods
b) Increase the minimum number of instances in the Auto Scaling group
c) Decrease the collection period to ten minutes
d) Decrease the threshold cu utilization percentage at which to deploy a new Instance
Q) You have decided that you need to change the instance type of your production instances which are running as part of an Auto Scaling group. The entire architecture is deployed using CloudFormation Template. You currently have 4 instances in Production. You cannot have any interruption in service and need to ensure 2 instances are always running during the update? Which of the options below listed can be used for this?
a) Auto Scaling Rolling Update
b) Auto Scaling scheduled Action
c) Auto Scaling Replacing update
d) Auto Scaling integration Update
Q) You currently have the following setup in AWS 1)An Elastic Load Balancer 2) Auto scaling Group which launches EC Instances 3) AMIs with your code pre-installed You want to deploy the updates to your app to only a certain number of users. You want to have a cost-effective solution. You should also be able to revert back quickly. Which of the below solutions is the most feasible one?
a) Create a second ELB. Auto Scaling. Create the AMI with the new app.Use a new launch configuration.Use Route 53 Weighted Round Robin records to adjust the proportion of traffic hitting the two ELBs.
b) Create new AMIs with the new app. Then use the new EC2 instances in half proportion to the older instances.
c) Redeploy with AWS Elastic Beanstalk and Elastic Beanstalk versions. Use Route 53 Weighted Round Robin records to adjust the proportion of traffic hitting the two ELB5
d) Create a full second stack of instances, cut the DNS over to the new stack of instances, and change the ONS back if a rollback is needed.
Q) Your application is currently running on Amazon EC2 instances behind a load balancer. Your management has decided to use a Blue/Green deployment strategy. How should you Implement this for each deployment? Please select:
a) Set up Amazon Route 53 health checks to fail over from any Amazon EC2 instance that is currently being deployed to.
b) Using AWS Cloud Formation, create a test stack for validating the code, and then deploy the code to each production Amazon EC2 instance.
c) Create a new load balancer with new Amazon EC2 instances, carry out the deployment, and then switch DNS over to the new load balancer using Amazon Route 53 after testing.
d) Launch more Amazon EC2 instances to ensure high availability. de-register each Amazon EC2 instance from the load balancer, upgrade it and test it. and then register it again with the load balancer.
Q) You have an application running a specific process that is critical to the application's functionality, and have added the health check process to your Auto Scaling group. The instances are showing healthy but the application Itself is not working as it should. What could be the issue with the health check, since It is still showing the instances as healthy.
a) You do not have the time range in the health check property configured
b) It is not possible for a health check to monitor a process that involves the application
c) The health check is not configured properly
d) The health check is not checking the application process