AWS-SysOps Practice Test

AWS-SysOps Practice Test practice questions, page 37 of 38, with answer review and explanations.

Question 181

A user has launched two EBS backed EC2 instances in the US-East-1a region. The user wants to change the zone of one of the instances. How can the user change it?

  1. The zone can only be modified using the AWS CLI
  2. Create an AMI of the running instance and launch the instance in a separate AZ
  3. Stop one of the instances and change the availability zone
  4. From the AWS EC2 console, select the Actions - > Change zones and specify the new zone

Question 182

An organization (account ID 123412341234) has configured the IAM policy to allow the user to modify his credentials. What will the below mentioned statement allow the user to perform?

  1. The IAM policy will throw an error due to an invalid resource name
  2. The IAM policy will allow the user to subscribe to any IAM group
  3. Allow the IAM user to update the membership of the group called TestingGroup
  4. Allow the IAM user to delete the TestingGroup

Question 183

A user has configured ELB with two EBS backed instances. The user has stopped the instances for 1 week to save costs. The user restarts the instances after 1 week. Which of the below mentioned statements will help the user to understand the ELB and instance registration better?

  1. There is no way to register the stopped instances with ELB
  2. The user cannot stop the instances if they are registered with ELB
  3. If the instances have the same Elastic IP assigned after reboot they will be registered with ELB
  4. The instances will automatically get registered with ELB

Question 184

A user is trying to connect to a running EC2 instance using SSH. However, the user gets a Host key not found error. Which of the below mentioned options is a possible reason for rejection?

  1. The user has provided the wrong user name for the OS login
  2. The instance CPU is heavily loaded
  3. The security group is not configured properly
  4. The access key to connect to the instance is wrong

Question 185

A user has hosted an application on EC2 instances. The EC2 instances are configured with ELB and Auto Scaling. The application server session time out is 2 hours. The user wants to configure connection draining to ensure that all in-flight requests are supported by ELB even though the instance is being deregistered. What time out period should the user specify for connection draining?

  1. 5 minutes
  2. 1 hour
  3. 30 minutes
  4. 2 hours