Mega Quiz Flashcards
What is the default region for all SDKs?
EU-CENTRAL-1
US-EAST-1
US-WEST-1
EU-WEST-1
US-EAST-1
You have added a NAT EC2 instance to your VPC, but your EC2 instances in the private subnet still cannot access the internet. What should you do with the NAT?
You should move the NAT to another Subnet.
You should disable source/destination checks on the NAT instance.
You should enable source/destination checks on the NAT instance.
You should provision a second NAT and enable failover between the two.
You should disable source/destination checks on the NAT instance.
To retrieve instance metadata or userdata, you will need to use the following IP Address: ________.
http: //169.254.169.254
http: //192.168.0.254
http: //10.0.0.1
http: //127.0.0.1
http://169.254.169.254
After successfully uploading a file to S3, what HTTP response code should you expect to see?
HTTP 300
HTTP 500
HTTP 400
HTTP 200
HTTP 200
When you create new subnets within a custom VPC, by default they can communicate with each other, across availability zones.
True or False?
True
You have 2 EC2 instances which sit in a custom VPC in a public subnet. These instances are able to receive internet traffic. You add a 3rd instance to the subnet, but it cannot access the internet. What should you do?
Move the EC2 instance in to another subnet.
Add an elastic IP address to the new instance.
Enable port 80 on the security group.
Check your ACL permissions.
Add an elastic IP address to the new instance.
In Identity Access Management, you can use SAML (Security Assertion Markup Language 2.0) to give your federated users single sign-on (SSO) access to the AWS Management Console.
True or False?
True
Amazon S3 buckets do not provide eventual consistency for overwrite PUTS and DELETES.
True or False?
False
You can have 1 subnet stretched across multiple availability zones.
True or False?
False
There is a hard limit on how much data you can store on S3.
True or False?
False
You can have multiple SSL certificates (for multiple domain names) on a single Elastic Load Balancer.
True or False?
False
You are hosting a static website in an S3 bucket which uses Java script to reference assets in another S3 bucket. For some reason, these assets are not displaying when users browse to the site. What could the problem be?
Amazon S3 does not support Javascript.
You haven’t enabled Cross Origin Resource Sharing (CORS) on the bucket where the assets are stored.
You cannot use one S3 bucket to reference another S3 bucket.
You need to open port 80 on the appropriate security group in which the S3 bucket is located.
You haven’t enabled Cross Origin Resource Sharing (CORS) on the bucket where the assets are stored.
It is possible to transfer a reserved instance from one Availability Zone to another.
True
Amazon S3 buckets offer read-after-write consistency for PUTS of new objects.
True
You create a static hosting website in a bucket called “acloudguru” in Sydney using S3. What would the new URL endpoint be?
http: //acloudguru.s3-website-ap-eu-central-1.amazonaws.com
http: //acloudguru.s3-website-ap-southeast-2.amazonaws.com
https: //s3-ap-southeast-2.amazonaws.com/acloudguru/
http: //www.acloudguru.s3-website-ap-southeast-2.amazonaws.com
http://acloudguru.s3-website-ap-southeast-2.amazonaws.com
How many internet gateways can I attach to my custom VPC?
1
5
3
2
1
You have a motion sensor that reads 300 items of data every 30 seconds. Each item consists of 5kb. Your application uses eventually consistent reads. In order for your application to keep up, what should you set the read throughput to?
5
10
30
20
10
Amazon S3 provides ________.
Unlimited Storage
Unlimited File Size for Objects
A great place from which to run a No SQL database
The ability to act as a web server for dynamic content (i.e. can query a database)
Unlimited Storage
If you make an AMI public, this AMI is immediately available across all regions, by default.
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?
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.
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.
In order to enable encryption at rest using EC2 and Elastic Block Store, you need to ________.
Configure encryption using X.509 certificates
Configure encryption using the appropriate Operating Systems file system
Configure encryption when creating the EBS volume
Mount the EBS volume in to S3 and then encrypt the bucket using a bucket policy
Configure encryption when creating the EBS volume
You can select a specific Availability Zone in which to place your DynamoDB Table.
True or False?
False
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/.
Get the application to run IPCONFIG to get the public IP address.
Get the application to run IFCONFIG to get the public IP address.
Get the instance’s USER data by visiting http://169.254.169.254/latest/user-data/.
Get the instance’s META data by visiting http://169.254.169.254/latest/meta-data/.
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 or False?
True
Which of these AWS services do not use key value pairs?
SWF
SNS
Route53
DynamoDB
Route53
Which of the following languages is NOT supported by the AWS SDK?
PHP
Java
Python
Perl
Perl
What is the default encryption used on S3?
Data Encryption Standard (DES) 256
Camellia
Advanced Encryption Standard (AES) 128
Advanced Encryption Standard (AES) 256
Advanced Encryption Standard (AES) 256