This certification preparation material would help you in getting the jobs in the AWS Fields

AWS Developer Certification : Associate Level AWS Sysops Administrator Certification : Assciate Level AWS Solution Architect Certification : Associate Level AWS Soltion Architect : Professional Level AWS Certified Security Specialty (SCS-C01) AWS Professional certification Exam AWS Certified Big Data – Specialty (BDS-C00) AWS Certified Machine Learning MLS C01 Certification Prepration Materal AWS Solution Architect : Training Associate AWS Advanced Networking Certifications AWS Exam Prepare : Kinesis Data Stream Book : AWS Solution Architect Associate : Little Guide AWS Security Specialization Certification: Little Guide SCS-C01 AWS Package Deal


While applying to the Job you need to mention referred by : admin@hadoopexam.com | or Website : http://www.HadoopExam.com


 

Question 7: You are working in a news provider company, which has their online newspaper called AcmeNews.com. This website is currently running on 4 EC2 instances which are part of auto-scaling group and running behind the ELB. However, you have seen this instances does not have enough RAM and you want to change , instance type with the larger instance type which can provide more RAM, bandwidth and even you want to use EBS optimized instances. What you can do to replace the already running instances in auto-scaling group?

  1. You will modify the CloudFormation template and launch new instances using that CloudFormation.
  2. You will be configuring Elastic Beanstalk to launch new instance.
  3. You simply set the auto-scaling group size to 4 and launch new 5th instance in auto scaling group as per your need. And auto-scaling will terminate oldest instance.
  4. You will change the launch configuration of Auto-scaling group. And launch new instance using newer launch configuration and terminate the older instance.

Correct Answer  :D

Detailed Explaination: In summary question wanted to know that how will you replace an instance which is already running as part of Auto-scaling group.

Whenever auto-scaling launch new instance, it will be using launch configuration and using that launch configuration new instance will be launched. Hence, if you want to launch a bigger instance in a auto-scaling group then you have to attach a new launch configuration with the Auto-scaling group by replacing the older one. Once this change is made, launch new instance using newer launch configuration and terminate older instance. Hence, option-4 is the correct answer.

  1. Launch configuration has detail about AMI, instance type, key pair, security groups and block device mapping.
  2. So while launching new instance in Auto-scaling can use this configuration.
  3. Once launch configuration is created it cannot be modified.
  4. You can use same launch configuration for multiple auto-scaling group. But an auto-scaling group can have only one launch configuration.
  5. While creating launch configuration you have to provide either launch configuration, launch template or EC2 instance.