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?

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?

21
Q

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

22
Q

What is the default code for ELB success?

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
What are the common ELB 4xx error codes?
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
What are the common ELB 5xx error codes?
``` 500 - internal server error 502 - bad gateway 503 - service unavailable 504 - GW timeout 561 - unauthorized ```
27
What is the default ELB cloudwatch data collection interval?
60 seconds
28
What are four overall ELB cloudwatch metrics
Backendconnectionerrors HealthyHostCount unhealthyhostcount Httpcode_backend
29
ELB cloudwatch performance metrics
Latency Requestcount Surgequeuelength spillovercount
30
What is the max ELB queue size?
1024
31
What happens to requests over 1024 in the ELB queue
They are rejected
32
What happens to ELB requests in the spillovercount
They are rejected
33
What would Instancelimitexceeded error mean?
You have reached the default instance limit. Per region 20
34
What EBS disk type is ideal for low cost infrequently accessed data?
Cold
35
What disk type is ideal for system boot, virtual desktops and low latency apps?
GP
36
What disk type is ideal for high performance, mission critical, low latency high throughout
PIOPS
37
What disk type is ideal for frequently accessed throughout intensive workloads?
Throughput optimized
38
How will cloudformation behave if part of the deployment fails?
Default will rollback
39
How would you replace the certificate for an existing LB with an HTTPS listener, from the CLI?
Use aws iam get-server-certificate elb set-load-balancer-listener-ssl-certificate
40
What are not two reasons why an instance goes from pending to terminated?
AWS does not have the capacity | You have reached the max instance limit.