Mega Quiz Flashcards

1
Q

What is the default region for all SDKs?

EU-CENTRAL-1

US-EAST-1

US-WEST-1

EU-WEST-1

A

US-EAST-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A

You should disable source/destination checks on the NAT instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

http://169.254.169.254

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

After successfully uploading a file to S3, what HTTP response code should you expect to see?

HTTP 300

HTTP 500

HTTP 400

HTTP 200

A

HTTP 200

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When you create new subnets within a custom VPC, by default they can communicate with each other, across availability zones.

True or False?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

Add an elastic IP address to the new instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Amazon S3 buckets do not provide eventual consistency for overwrite PUTS and DELETES.

True or False?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You can have 1 subnet stretched across multiple availability zones.

True or False?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

There is a hard limit on how much data you can store on S3.

True or False?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You can have multiple SSL certificates (for multiple domain names) on a single Elastic Load Balancer.

True or False?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

You haven’t enabled Cross Origin Resource Sharing (CORS) on the bucket where the assets are stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

It is possible to transfer a reserved instance from one Availability Zone to another.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Amazon S3 buckets offer read-after-write consistency for PUTS of new objects.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

http://acloudguru.s3-website-ap-southeast-2.amazonaws.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How many internet gateways can I attach to my custom VPC?

1

5

3

2

A

1

17
Q

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

A

10

18
Q

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)

A

Unlimited Storage

19
Q

If you make an AMI public, this AMI is immediately available across all regions, by default.

A

False

20
Q

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.

A

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.

21
Q

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

A

Configure encryption when creating the EBS volume

22
Q

You can select a specific Availability Zone in which to place your DynamoDB Table.

True or False?

A

False

23
Q

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/.

A

Get the instance’s META data by visiting http://169.254.169.254/latest/meta-data/.

24
Q

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?

A

True

25
Q

Which of these AWS services do not use key value pairs?

SWF

SNS

Route53

DynamoDB

A

Route53

26
Q

Which of the following languages is NOT supported by the AWS SDK?

PHP

Java

Python

Perl

A

Perl

27
Q

What is the default encryption used on S3?

Data Encryption Standard (DES) 256

Camellia

Advanced Encryption Standard (AES) 128

Advanced Encryption Standard (AES) 256

A

Advanced Encryption Standard (AES) 256