Mixed Bag Flashcards
True or False: It is possible to transfer a reserved instance from one AZ to another.
True.
True or False: You can have 1 subnet stretched across multiple AZs.
False.
When you create new subnets within a custom VPC, by default they can communicate with each other, across AZs.
True.
What is the default encryption used on S3?
AES 256.
Amazon S3 provides __________.
- The ability to act as a web server for dynamic content (i.e. can query a database)
- Unlimited storage
- A great place from whichto run a NoSQL database
- Unlimited file size for objects
Unlimited storage.
You create a static hosting website in a bucket called ‘acloudguru’ in Sydney using S3. What would the new URL endpoint be?
- https://s3-ap-southeast-2.amazonaws.com/acloudguru/
- http://acloudguru.s3-website-ap-eu-central-1.amazonaws.com
- http://acloudguru.s3-website-ap-southeast-2.amazonaws.com
- http://www.acloudguru.s3-website-ap-southeast-2.amazonaws.com
http://acloudguru.s3-website-ap-southeast-2.amazonaws.com
True or False: If you make an AMI public, this AMI is immediately available across all regions, by default.
False.
To retrieve instance metadata or userdata, you will need to use what IP address?
196.254.169.254
After successfully uploading a file to S3, what HTTP response code should you expect to see?
200.
True or False: S3 buckets offer read-after-write consistency for PUTs of new objects.
True.
True or False: You can have one subnet stretched across multiple AZs.
False.
Which of the following languages is NOT supported by the AWS SDK?
- Java
- Perl
- Python
- PHP
Perl.
True or False: There is a hard limit on how much data you can store in S3.
False.
True or False: S3 buckets do not provide eventual consistency for overwrite PUTs and DELETEs.
False.
You run a video-hosting website with two types of members: premium, fee-paying members; and free members. Each video that is uploaded is processed by a fleet of EC2 instances, which poll an SQS queue as videos are uploaded. However, you need to ensure that the videos uploaded by your premium, fee-paying members have a higher priority than those of your free members. How might you work with SQS to endure priority treatment of the premium members’ videos?
- SQS would not be suitable for this scenario. It would be much better to use SNS to encode the videos.
- Create two SQS queues — one for premium members, and one for free members. Program your EC2 fleet to poll the premium queue first and, if empty, to then poll your free members SQS queue.
- SQS allows you to set priorities on individual items within the queue, so simply set the fee-paying members at a higher priority than your free members.
Create two SQS queues — one for premium members, and one for free members. Program your EC2 fleet to poll the premium queue first and, if empty, to then poll your free members SQS queue.
True or False: With EC2, you can have 2 types of storage: EBS or Instance Store. EBS is persistent, and if an EC2 instance is stopped with an EBS volume attached, there will be no data lost. Instance Store is ephemeral and if the EC2 instance is stopped, all data will be lost.
True.
You are designing an application which needs to locate the public IP address of the EC2 instance on which it is stored. What do you do?
Get the instance’s META data by visiting http://169.254.169.254/latest/meta-data/
True or False: When you create new subnets within a custom VPC, by default they can communicate with each other, across AZs.
True.
How many Internet gateways can I attach to my custom VPC?
1