EC2 Flashcards

1
Q

EC2 Stands for

A

Elastic Compute Services

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

Who is responsible for keeping software up to date on EC2 instances

A

You. The user.

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

What does EC2 user data allow you to do?

A

Specify commands on boot.

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

True or false. On shutdown or termination, all data in EC2 ephemeral storage is lost?

A

True

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

True or false. On reboot all data in EC2 ephemeral storage is lost?

A

False

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

EC2 Ephermal storage is

A

Temporary storage

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

EC2 persistent storage is provided by what AWS service?

A

EBS

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

An EC2 status checking is showing a failed system status check. What’s the likely cause?

A

Something out of your control.

A problem with Hardware.

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

An EC2 status checking is showing a instance error. The problem is likley caused by?

A

User config or some kind.

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

Best way to resolve an EC2 system status check error?

A

Stop and start the instance. This will cause the instance to regenerate.

Rebooting will not achieve this.

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

In relation to EC2 tenancy relates to.

A

The virtual space in which your instances reside. And how private / separated they are from other customers.

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

EC2. Name the three tenancy types.

A

Shared
Dedicated instance
Dedicated host

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

AMI stands for

A

Amazon Machine Image

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

Rather than terminating an instance, you decide to stop it. Are you still billed?

A

No.

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

EC2 dedicated instances are billed in what unit.

A

Per hour

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

EC2 on demand instances are billed in what unit

A

Per second

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

Availability zones in a region might have different mappings. So an eu-west-1 AZ in one account, might not refer to exact same psychical location as eu-west-1 in a different account.

A

True.

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

In regard to EC2 computing power. A vCPU is equivalent to

A

A thread

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

Different EC2 instances, running on the same psychical instance are separated from each other with what technology?

A

Hyper visor

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

You want to share an unencrypted AMI with selected users. How to ensure selected users can create a volume from the AMI?

A

Add “create volume” permissions to the AMI permissions on creation

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

Is it possible to create an AMI while an instance is running?

A

Yes. If you select the no reboot option.

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

How can you copy an instance from one region to another?

A

Create an AMI or the instance and deploy it to another region.

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

Windows servers feature an odd cost. What is it?

A

You get billed one hour for every stop and start. Not reboots.

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

When you modify an EC2 instance. Are you restricted to the existing instance type family?

A

Yes

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

What instance family provides access to GPUs and FPGAs

A

Accelerated computing

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

Can you detach an instance store volume from an EC2 instance?

A

No

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

EC2. Can you attatch an instance store volume in the free usage tier?

A

Nope

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

What security group is obeyed when you attach two ENI’s to an instance?

A

Both of them

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

When you launch an instance. What does the root device volume contain?

A

The image used to boot the instance.

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

The root device of an instance, can be one of two types. What are they?

A

Instance Store Backed

EBS Backed

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

If you EC2 root device is an EBS volume. You can change the instance type to resize. True or false?

A

True

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

Can you simply “resize” EC2s, where the route volume is an instance store?

A

No. They must be migrated.

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

What is VM Import/Export in AWS?

A

It allows you to import virtual machine images from an existing environment into AWS…and back again.

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

How is VM Import/Export charged?

A

No charge for the service. Just for the resources (EC2 and s3)

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

Can a virtual instance be imported as an AMI using AWS import/export tool?

A

Yes

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

AWS EC2 import/export. You can only export previously imported instances. True or false?

A

True.

37
Q

What happens to the data in an EC2 instance store on reboot?

A

It persists.

38
Q

What happens to data in an EC2 instance store if the instance is stopped?

A

It is lost

39
Q

What happens to data in an EC2 instance store if there is a failure of an underlying drive?

A

It is lost

40
Q

What type of hard drive, would make a cost efficient choice for an EC2 Web Server?

A

General purpose SSD

41
Q

You decide you can’t use RDS to host your database. It must be an EC2 instance, and it must provide optimal performance. What would be the best hard drive type to use?

A

Provisioned IOPS - because it has high input output operations.

42
Q

If you are using a high throughput hard drive type. What can you assume about the data going in and out of the server?

A

It’s large. Eg videos.

43
Q

Cold storage is best for

A

Infrequently accessed data.

44
Q

Do cold storage HDs have reasonable amounts of throughput (would they be suitable for video storage)

A

Yes

45
Q

When are users billed per second rather than per hour?

A

When you use on demand or spot instances

When you are using a Linux server.

46
Q

When creating EBS snapshots. What do you pay for?

A

Storage only.

47
Q

You are using PuTTy to connect to an EC2 instance. What step must you take in relation to the PEM key?

A

You must convert it to a .ppk file

48
Q

What’s the soft limit on EC2 instances per region?

A

20

49
Q

For batch processing. Use what type of purchase type?

A

Spot instances

50
Q

If you need 24x7 EC2 Service. What pucrhase type is best

A

Reserved instances

51
Q

Dedicated Instances are is …. just for you.

A

Hardware

52
Q

Dedicated host is …. just for you

A

Servers

53
Q

Some applications are licenced by the amount of cores your server has. In this instance. What kind of tenancy is required?

A

Dedicated host

54
Q

You need low latency between EC2 instances. What to do?

A

Put them in a placement group

55
Q

Al instances in an EC2 placement group must be in the same…

A

AZ

56
Q

When terminating a spot instance. You must…

A

Cancel the request

Terminate the instance

57
Q

If an instance is used 30-40% of the year round. Consider what?

A

Reserved instance

58
Q

Need an instance for a specific time window every day? Consider….

A

Scheduled instance

59
Q

General purpose SSD volumes smaller than 1TB can burst to … IOPS per volume

A

300

60
Q

Does an AMI specify CPUs?

A

No

61
Q

After EC2 hibernation. What IP addresses are kept and which are cycled?

A

Only the public IP address is cycled.

62
Q

You are calculating the price of a hibernating EC2 instance. What must you consider in your calculations?

A

Elastic IP address and EBS volumes attatched to the instance

63
Q

Standard reserved instances. Can they be sold in the reserved instance market place?

A

yes

64
Q

Convertible reserved instances. Can they be sold on the reserved instance market place?

A

No

65
Q

Can you modify the family of a standard reserved instance during the reservation term?

A

No

66
Q

True or false. You can not exchange he a standard reserved instance during the instance term. You can modify it.

A

True

67
Q

Convertible reserved instances. Can they be exchanged for another convertible reserved instance during the reservation period?

A

Yes

68
Q

Can you change the tenancy of a convertible reserved instance during the reservation term?

A

Yes

69
Q

Explain Spot Blocks

A

They allow for you to launch spot instances with a specified duration. Which are not interrupted by price changes.

70
Q

In rare situation. Spot blocks can be interrupted. True or false?

A

True.

71
Q

Can you hibernate spot instances?

A

Yes

72
Q

EC2 instances, automatically do source/destination checks by default?

A

True

73
Q

An EC2 instance must be the source / destination of any traffic it receives. Do facilitate this. What is enabled by default on EC2 instances?

A

Source / destination checks.

74
Q

What purchase model would best suit the following.

Short term workloads that spike periodically
Unpredictable workloads they can not be interrupted

A

On demand

75
Q

What is Spot Fleet in the context of EC2

A

Creates a pool of spot instances to meet target capacity. And maintains the pool in the event of an interruption.

76
Q

You want to increase your computing scale and throughput. But your budget has no flex. Consider…

A

Spot instances

77
Q

When requesting a spot instance. By default, the maximum price is…

A

The on demand equivalent.

78
Q

You have a spot instance. You are no longer the winning bid. Rather than just terminating the instance, can you put it into hibernation?

A

Yes

79
Q

Do EBS instanced, attached to stopped spot instances remain intact

A

Yes

80
Q

When reserved instances are assigned to a specific availability zone. Does this also grant you a capacity reservation?

A

Oh yes.

81
Q

You have an application with a steady state and / or predicatable usage. What purchasing option should you consider?

A

Reserved instances.

82
Q

What is EC2 fleet

A

You define a target compute capacity, as well as instance type, and the balance or purchasing type you wish to use. EC2 fleet then automatically launched the lowest price combo to meet defined capacity.

83
Q

What do RI utilisation reports do?

A

Visualise RI utilisation

Show savings due to RI’s

84
Q

What does RI coverage report do?

A

Allows you to discover how much of your overall install usage is covered by RIs.

85
Q

The key differences between RI utilisation report and RI coverage report

A

The ultisation report, is for seeing how well you are utilising RIs that you own.

The coverage report shows you how many RIs you are using. Helping you to decide what RIs you mah need to purchase.

86
Q

Define consolidated billing?

A

It allows you to consolidate billing from multiple accounts, to one payment account.

87
Q

What’s the biggest benefit of consolidated billing, in terms of reducing costs?

A

You get volume discount for resources across all accounts.

88
Q

With EC2, can you control c-state and p-state?

A

Yes

89
Q

Enhanced networking in EC2 uses what technology?

A

Single Root I/O virtualisation