Deployment & Provisioning Flashcards

1
Q

Why can spot instances be removed?

A

AWS needed to reclaim capacity

Instance price exceeded your defined max price

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

What characteristic can spot instances have?

A

Max price
Persistent
Valid to and from

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

What are the spot instances interruption behaviour

A

Stop - will loose ram

Hibernate - won’t loose ram

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

What is a placement group

A

Groups systems together in the 10GB network availability zone when greater reruns act or network throughout is required

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

Why would you assign a role to an instance?

A

To provide the instance access to other AWS services

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

What should you select when creating an EC2 instance to ensure cloudwatch can collect data in 1 min intervals?

A

Detailed monitoring

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

How do you configure an dedicated instance?

A

Select when creating

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

Where do you configure a bootstrap for an EC2 instance?

A

User data under advanced

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

What drive types cannot be used as a root volume?

A

HDD

Cold and throughout optimized

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

What is the default behaviour of EC2 instances when terminated for defined volumes?

A

Retain

Deletion behaviour needs to be selected

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

Why may an EC2 instance fail to launch?

A

Default max limit of 20 on new AWS accounts per region

Insufficentinstancecapacity
AWS does not have enough hardware capacity to service the request.

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

You attempt to launch an instance and get the error instancelimitexceeded

What does this indicate

A

You have more than 20 instances running in the region

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

You’ve reached the minimum number of running instances in a region. How do you resolve?

A

Request an increase with amazon support

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

You receive the error Insufficentinstancecapacity. What can you do?

A
Wait
Try another AZ
Request fewer instances 
Select a different instance type 
Try purchasing a reserved instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two EBS SSD types?

A

General purpose

Provisioned IOPS

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

You noteice your application performance has degraded. Your coworker tells you there are a lot of IO requests queuing. What can you do?

A

Change to a PIOPS disk

If it’s GP2, you can increase the size and get additional IOPS

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

Your application requires greater than 16000 IOPS. What kind of EBS volume should you use?

A

PIOPS

18
Q

Your EC2 instance is using an EBS GP2 volume that is 5.2 TB in size. The system has many queuing delays. What can you do?

A

Change to IOPS as the GP2 volume has reached its max IOPS capabilities

19
Q

What are the 3 types of ELBs?

A

Application
Network
Classic

20
Q

What ELB should you use if you need high performance or a static IP address?

A

Network

21
Q

You are expecting a sudden and significant increase in traffic. How can you prepare you ELB?

A

Pre-warm

22
Q

What is the default code for ELB success?

A

200

23
Q

You receive a 4xx error code. Where might the problem be

A

The client

24
Q

You receive a 4xx error code. Where might the problem be

A

Server side

25
Q

What are the common ELB 4xx error codes?

A

400 - header is malformed
401 - unauthorized
403 - forbidden WAF access control list
460 - client closed connection before ELB could respond
463- load balancer received xforwarded-for request with

26
Q

What are the common ELB 5xx error codes?

A
500 - internal server error
502 - bad gateway 
503 - service unavailable 
504 - GW timeout
561 - unauthorized
27
Q

What is the default ELB cloudwatch data collection interval?

A

60 seconds

28
Q

What are four overall ELB cloudwatch metrics

A

Backendconnectionerrors
HealthyHostCount
unhealthyhostcount
Httpcode_backend

29
Q

ELB cloudwatch performance metrics

A

Latency
Requestcount
Surgequeuelength
spillovercount

30
Q

What is the max ELB queue size?

A

1024

31
Q

What happens to requests over 1024 in the ELB queue

A

They are rejected

32
Q

What happens to ELB requests in the spillovercount

A

They are rejected

33
Q

What would Instancelimitexceeded error mean?

A

You have reached the default instance limit. Per region 20

34
Q

What EBS disk type is ideal for low cost infrequently accessed data?

A

Cold

35
Q

What disk type is ideal for system boot, virtual desktops and low latency apps?

A

GP

36
Q

What disk type is ideal for high performance, mission critical, low latency high throughout

A

PIOPS

37
Q

What disk type is ideal for frequently accessed throughout intensive workloads?

A

Throughput optimized

38
Q

How will cloudformation behave if part of the deployment fails?

A

Default will rollback

39
Q

How would you replace the certificate for an existing LB with an HTTPS listener, from the CLI?

A

Use
aws iam get-server-certificate
elb set-load-balancer-listener-ssl-certificate

40
Q

What are not two reasons why an instance goes from pending to terminated?

A

AWS does not have the capacity

You have reached the max instance limit.