Question : A user is using the AWS SQS to decouple the services. Which of the below mentioned operations is not supported by SQS? 1. SendMessageBatch 2. DeleteMessageBatch 3. Access Mostly Uused Products by 50000+ Subscribers 4. DeleteMessageQueue
Amazon Simple Queue Service SQS. is a fast, reliable, scalable, and fully managed message queuing service. SQS provides a simple and cost-effective way to decouple the components of an application. The user can perform the following set of operations using the Amazon SQS: CreateQueue, ListQueues, DeleteQueue, SendMessage, SendMessageBatch, ReceiveMessage, DeleteMessage, DeleteMessageBatch, ChangeMessageVisibility, ChangeMessageVisibilityBatch, SetQueueAttributes, GetQueueAttributes, GetQueueUrl, AddPermission and RemovePermission. Operations can be performed only by the AWS account owner or an AWS account that the account owner has delegated to.
Question : A user has configured Auto Scaling with instances. The user had created a new AMI after updating one of the instance. If the user wants to terminate two specific instances to ensure that Auto Scaling launches an instances with the new launch configuration, which command should he run? 1. as-delete-instance-in-auto-scaling-group (Instance ID) --no-decrement-desired-capacity 2. as-terminate-instance-in-auto-scaling-group (Instance ID) --update-desired-capacity 3. Access Mostly Uused Products by 50000+ Subscribers 4. as-terminate-instance-in-auto-scaling-group (Instance ID) --no-decrement-desired-capacity
The Auto Scaling command as-terminate-instance-in-auto-scaling-group (Instance ID) will terminate the specific instance ID. The user is required to specify the parameter as -no-decrement-desired- capacity to ensure that it launches a new instance from the launch config after terminating the instance. If the user specifies the parameter --decrement-desired-capacity then Auto Scaling will terminate the instance and decrease the desired capacity by 1.
Question : A user has launched an EC instance from an instance store backed AMI. If the user restarts the instance, what will happen to the ephermal storage data?
Explanation: A user can reboot an EC2 instance using the AWS console, the Amazon EC2 CLI or the Amazon EC2 API. Rebooting an instance is equivalent to rebooting an operating system. However, it is recommended that the user use Amazon EC2 to reboot the instance instead of running the operating system reboot command from the instance. When an instance launched from an instance store backed AMI is rebooted all the ephermal storage data is still preserved.