Question : You have created a role called 'AcmeRole', while launching the ec instance you have provided this role as an input parameter. Now you have the access keys of this role. Now you want to make a call to s3 service from this instance then 1. You have to create another role to access the s3 service from this ec2 instance 2. Use the roles AWS access keys made available on the EC2 instance in your application when making requests to AWS Service s3 3. Access Mostly Uused Products by 50000+ Subscribers 4. None of the above
Explanation: To get started with IAM roles for EC2 instances you: Create a role in IAM. Launch your EC2 instances with the role as an input parameter. Use the roles AWS access keys made available on the EC2 instance in your application when making requests to AWS services.
IAM roles for EC2 instances simplifies management and deployment of AWS access keys to EC2 instances. Using this feature, you associate an AWS Identity and Access Management (IAM) role with an instance. Then your EC2 instance will provide the temporary security credentials to applications running on the instance, and the applications can use these credentials to securely make requests to the AWS service resources defined in the role.
Question : You have created a role called 'AcmeRole', while launching the ec instance you have provided this role as an input parameter. Once the ec2 instance is launched you have changed the permission of the role, so it can not access particular AWS service S3. Select the correct option in this scenerio
1. This permission change will be effective after instance restarted 2. This permission change will be effective almost immediately 3. Access Mostly Uused Products by 50000+ Subscribers 4. You have to drop this role first and create another one and launch the ec2 server again with the new role as input parameter
Explaination : you cannot change the IAM role on a running EC2 instance. You can change the permissions on the IAM role associated with a running instance and the updated permissions will take effect almost immediately.
Question : Which of the following statements about SQS is true? 1. Messages will be delivered exactly once and messages will be delivered in First in, First out order 2. Messages will be delivered exactly once and message delivery order is indeterminate 3. Access Mostly Uused Products by 50000+ Subscribers 4. Messages will be delivered one or more times and message delivery order is indeterminate
Explanation: Q: Does Amazon SQS provide first-in-first-out (FIFO) access to messages?
No, Amazon SQS does not guarantee FIFO access to messages in Amazon SQS queues, mainly because of the distributed nature of the Amazon SQS. If you require specific message ordering, you should design your application to handle it. Q: How many times will I receive each message?
Amazon SQS is engineered to provide "at least once" delivery of all messages in its queues. Although most of the time each message will be delivered to your application exactly once, you should design your system so that processing a message more than once does not create any errors or inconsistencies.