AWS CDA Flashcards

1
Q

Which EC2 option allows you to pay a fixed rate by the hour (or by the second) with no commitment?

A

On Demand

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

Which EC2 option provides you with a capacity reservation, and offers a significant discount on the hourly charge for an instance?

A

Reserved

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

Which EC2 option enables you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times?

A

Spot

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

Which EC2 option is a physical EC2 server dedicated for your use that can help you reduce costs by allowing you to use your existing server-bound software licenses?

A

Dedicated hosts

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

What nature of EC2 allows developers to instantly scale to meet spikes in traffic or demand?

A

The “Elastic” nature

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

What must you do if you wish to run more than 20 On-Demand EC2 instances?

A

Complete the Amazon EC2 instance request form

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

What API call will be run if Amazon EC2 is able to fulfill your request to run instances in the EC2 environment?

A

RunInstances

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

What API call will allow you to check the status of your EC2 instances?

A

DescribeInstances

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

Which API call will allow you to programmatically terminate any number of your instances?

A

TerminateInstances

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

If you have a running instance using Amazon EBS boot partition, what API call can you use to release the compute resources, but preserve the data on the boot partition?

A

StopInstances

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

What API call can you use when you’re ready to restart the instance associated with the Amazon EBS boot partition?

A

StartInstances

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

Data on the root device will persist independently from the lifetime of the instance by using which Amazon cloud service?

A

Amazon EBS

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

What does using Amazon EBS enable you to do, which is similar to shutting down your laptop and restarting it when you need to again?

A

Stop and restart an instance

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

How long does the local instance store persist data for?

A

Only for the life of the instance

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

What is an example of when it is feasible to use the local instance store?

A

When customers run large websites where each instance is a clone to handle web traffic

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

How quickly are systems in EC2 up and running?

A

10 minutes from the issue of RunInstances

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

Once you create a custom AMI, what do you need to do to it?

A

Bundle it

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

If you’re bundling an AMI with a root device backed by Amazon EBS, how and where can you bundle it?

A

Use the bundle command in the AWS management console

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

If you’re bundling an AMI with a boot partition on the instance store, how and where do you bundle it?

A

Use AMI tools to upload it to Amazon S3

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

How can you access your systems?

A

The RunInstances call that initiates execution of your application stack will return a set of DNS names, one for each system being booted; this name can be used exactly as you would if it were in your own data center

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

How is Amazon EC2 used in conjunction with Amazon S3?

A

By instances with root devices backed by local instance storage

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

How many On-Demand instances can you run in Amazon EC2?

A

20

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

How many Reserved instances can you purchase in Amazon EC2?

A

20

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

Are there any limitations in sending email from Amazon EC2 instances?

A

Yes

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

How can you send larger amounts of emails from EC2 accounts?

A

Apply to increase email limit

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

How quickly can you scale your capacity both up and down?

A

Within minutes

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

What API call is used to increase your instances?

A

RunInstances

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

What kind of memory does Amazon EC2 use?

A

ECC (error-correcting code) memory

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

True or False: With EC2 instances, you only pay for what you use.

A

True

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

How will your monthly bill show per-second vs per-hour charges?

A

Cumulative usage for each instance that ran in a given month in decimal hours; e.g. 1 hour and 10 minutes and 4 seconds will look like 1.1677

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

Amazon EC2 instances are grouped into what 5 family types?

A
  1. General Purpose
  2. Compute Optimized
  3. Memory Optimized
  4. Storage Optimized
  5. Accelerated Computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Which EC2 instance family has memory to CPU ratios suitable for most general purpose applications and come with fixed performance (M5, M4) or burstable performance (T2)?

A

General Purpose

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

Which EC2 instance family (C5, C4) has proportionally more CPU resources than memory and are well-suited for scale out compute-intensive applications and High Performance Computing (HPC) workloads?

A

Compute Optimized

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

Which EC2 instance family (X1e, X1, R4) offers larger memory sizes for memory-intensive applications, including database and memory caching applications?

A

Memory Optimized

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

Which EC2 instance family (P3, P2, G3, F1) takes advantage of the parallel processing capabilities of NVIDIA Tesla GPUs for high performance computing and machine/deep learning?

A

Accelerating Computing

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

In order for developers to compare CPU capacity between different instance types, what did Amazon define?

A

EC2 Compute Units (ECUs)

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

What provides the relative measure of the integer processing power of an Amazon EC2 instance?

A

EC2 Compute Unit (ECU)

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

True or False: You cannot get a history of all EC2 API calls made from your account for security analysis and operational troubleshooting purposes.

A

False

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

How can you receive a history of all EC2 API calls made on your account?

A

Turn on CloudTrail in the AWS Management Console.

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

Where two places can you get more information about security on AWS?

A

AWS: Overview of Security Processes white paper & Amazon EC2 Running Windows Security Guide

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

By default, how many Elastic IP addresses are all accounts limited to per region?

A

5

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

What do you need to do to get more than the default number of Elastic IP addresses?

A

Apply for more Elastic IP addresses

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

In regards to Elastic IP addresses, what happens when each address is not associated to a running instance?

A

A small hourly charge is imposed

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

True or False: You need one Elastic IP address for every instance you have running.

A

False; but by default, every instance comes with a private IP address and an internet routable public IP address

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

How long does it take to remap an Elastic IP address?

A

Several minutes from when the remap was started

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

True or False: You can configure the reverse DNS record for your Elastic IP address.

A

True

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

How can you make sure that you’re in the same Availability Zone as another developer?

A

You can’t; the ability to coordinate launches into the same Availability Zone across AWS developer accounts is currently unsupported

48
Q

For supported Amazon EC2 instances, higher packet per second (PPS) performance, lower inter-instance latencies, and very low network jitter are all capabilities included in what feature?

A

Enhanced Networking

49
Q

If your applications benefit from higher packet per second (PPS) performance, lower inter-instance latencies, and very low network jitter, which feature should you be using?

A

Enhanced Networking

50
Q

In order to enable Enhanced Networking, what must you do?

A

Launch an HVM AMI with the appropriate drivers.

51
Q

True or False: There is an additional fee to use Enhanced Networking.

A

False

52
Q

What happens to data when a local instance store is terminated?

A

The data will disappear forever; data stored on a local instance will persist only as long as that instance is alive.

53
Q

What happens to data stored on an Amazon EBS volume when the system is terminated?

A

It will persist independently of the life of the instance.

54
Q

“Delete On Terminate Flag” set to “N” does what?

A

Allows your Amazon EBS volume data to persist outside of the life of the instance

55
Q

For transactional workloads, what kind of performance does Amazon EBS volume offer?

A

SSD-backed storage

56
Q

For throughput intensive workloads, what kind of performance does Amazon EBS volume offer?

A

HDD-backed storage

57
Q

Throughput optimized HDD is also known as ____?

A

st1

58
Q

Cold HDD is also known as ____?

A

sc1

59
Q

Which volumes are backed by HDDs and provide the lowest cost per GB of all EBS volume types?

A

SC1 volumes aka Cold HDD

60
Q

Which volumes are backed by HDDs and are ideal for frequently accessed throughput intensive workloads with large datasets and large I/O sizes?

A

ST1 aka Throughput Optimized HDD

61
Q

Is multiple instances accessing a single volume supported?

A

No; though multiple volumes can be attached to a single instance

62
Q

True or False: You can access you EBS snapshots using the regular Amazon S3 APIs.

A

False; they’re only available through the Amazon EC2 APIs

63
Q

True or False: Volumes need to be unmounted in order to take a snapshot.

A

False

64
Q

Though volumes don’t need to be unmounted prior to taking a snapshot, why should they be unmounted anyway?

A

Snapshots only capture data that has been written to your Amazon EBS volume, which might exclude data that has been locally cached by your application or OS.

65
Q

True or False: Users of your Amazon EBS shared snapshots can change your data.

A

False; users can only modify their own copies of the data, not the original snapshot

66
Q

How can you discover Amazon EBS snapshots that have been shared with you?

A

Select “Private Snapshots” from the dropdown in the Snapshots section of the AWS Management Console

67
Q

How can you find what Amazon EBS snapshots are shared globally?

A

Select “Public Snapshots” from the Snapshot section of the AWS Management Console

68
Q

True or False: Encryption is offered on Amazon EBS volumes and snapshots?

A

True; EBS offers seamless encryption of data volumes and snapshots

69
Q

What 2 places can you find a list of Amazon Public Data Sets?

A

Public Data Sets Resources Center & from within the AWS Management Console by choosing “Amazon Snapshots” in the Snapshots section

70
Q

Which EC2 option would you use when users want low cost and flexibility without any upfront payment or long-term commitment

A

On Demand

71
Q

Which EC2 Option: Applications with steady state or predictable usage

A

Reserved Instances

72
Q

Which EC2 Option: Applications with short term, spiky, or unpredictable workloads that cannot be interrupted

A

On Demand

73
Q

Which EC2 Option: Applications being developed or tested on Amazon EC2 for the first time

A

On Demand

74
Q

Which EC2 Option: Applications that require reserved capacity

A

Reserved Instances

75
Q

Which EC2 option would you use when users are able to make upfront payments to reduce their total computing costs even further?

A

Reserved instances

76
Q

Which EC2 Option: Applications that have flexible start and end times

A

Spot

77
Q

Which EC2 Option: Applications that are only feasible at very low compute prices

A

Spot

78
Q

Which EC2 option would you use for users with urgent computing needs for large amounts of additional capacity?

A

Spot

79
Q

Which EC2 Option: Useful for regulatory requirements that may not support multi-tenant virtualization

A

Dedicated Hosts

80
Q

Which EC2 Option: Great for licensing which does not support multi-tenancy or cloud deployments

A

Dedicated Hosts

81
Q

Which EC2 Option: Can be purchases On-Demand (hourly)

A

Dedicated Hosts

82
Q

Which EC2 Option: Can be purchased as a Reservation for up to 70% off the On-Demand price

A

Dedicated Hosts

83
Q

What allows you to create storage volumes and attack them to Amazon EC2 instances that, once attached, you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device?

A

Amazon EBS (Elastic Block Storage)

84
Q

Which EBS volume type balances both price and performance and has a ratio of 3 IOPS per GB with up to 10,000 IOPS and the ability to burst up to 3000 IOPS for extended periods of time for volumes at 3334 GiB and above?

A

General Purpose SSD (GP2)

85
Q

Which EBS volume type is designed for I/O intensive applications such as large relational or NoSQL databases and can provision up to 20,000 IOPS per volume; used when you need more than 10,000 IOPS.

A

Provisioned IOPS SSD (IO1)

86
Q

True or False: You can mount 1 EBS volume to multiple EC2 instances.

A

False

87
Q

Because you can’t mount 1 EBS volume to multiple EC2 instances at ones, what should you use instead?

A

AWS Elastic File System (EFS)

88
Q

True or False: Termination Protection is turned on by default.

A

False

89
Q

True or False: On an EBS-backed instance, the default action is for the root EBS volume to be deleted when the instance is terminated.

A

True

90
Q

True or False: EBS Root Volumes of your DEFAULT AMI’s can be encrypted.

A

False

91
Q

If you want to encrypt an EBS Root Volume, what must you do?

A

Use a third party tool or do it when creating AMI’s or using the API

92
Q

When do changes to your security groups in EC2 go into effect?

A

Immediately

93
Q

True or False: All inbound traffic is allowed by default in an EC2 instance.

A

False

94
Q

True or False: All Outbound Traffic is allowed by default in an EC2 instance.

A

True

95
Q

How many EC2 instances can you have within a security group?

A

Any number

96
Q

How many security groups can be attached to EC2 instances?

A

Multiple

97
Q

“If you create an inbound rule allowing traffic in, that traffic is automatically allowed back out again” - what aspect of Security Groups does this refer to?

A

Stateful-ness

98
Q

Since you can’t block specific IP addresses using Security Groups, what do you do instead?

A

Network Access Control Lists

99
Q

True or False: Snapshots of encrypted volumes are encrypted automatically.

A

True

100
Q

True or False: You can share encrypted snapshots.

A

False

101
Q

What service is Amazon EFS (Elastic File System) storage service for?

A

Amazon EC2

102
Q

How can you get away from using User Access Keys?

A

By using roles instead

103
Q

In the AWS CLI, depending on what region your S3 bucket is based, what might you have to use to access its contents?

A

Region flag

104
Q

When should you use the region flag, regardless of whether you need it or not?

A

Always

105
Q

Every time a user sends a request to API gateway and that’s forwarded to lambda, what is invoked?

A

A new lambda function

106
Q

Lambda scales ___ not ____

A

Out; up

107
Q

Lambda functions are independent; 1 event = ?

A

1 function

108
Q

True or False: Lambda is not serverless.

A

False

109
Q

What is Lambda’s duration time?

A

Max 5 minutes

110
Q

True or False: You will always use the DNS name for your Elastic Load Balancer.

A

True

111
Q

True or False: One subnet equals one availability zone.

A

True

112
Q

Instances monitored by ELB are reported as InService or OutofService depending on what?

A

The healthiness of the instances

113
Q

What does RRS stand for?

A

Reduced Redundancy Storage

114
Q

What does ACL stand for?

A

Access control list

115
Q

What does CORS stand for?

A

Cross-Origin Resource Sharing