Deployment & Provisioning Flashcards
Why can spot instances be removed?
AWS needed to reclaim capacity
Instance price exceeded your defined max price
What characteristic can spot instances have?
Max price
Persistent
Valid to and from
What are the spot instances interruption behaviour
Stop - will loose ram
Hibernate - won’t loose ram
What is a placement group
Groups systems together in the 10GB network availability zone when greater reruns act or network throughout is required
Why would you assign a role to an instance?
To provide the instance access to other AWS services
What should you select when creating an EC2 instance to ensure cloudwatch can collect data in 1 min intervals?
Detailed monitoring
How do you configure an dedicated instance?
Select when creating
Where do you configure a bootstrap for an EC2 instance?
User data under advanced
What drive types cannot be used as a root volume?
HDD
Cold and throughout optimized
What is the default behaviour of EC2 instances when terminated for defined volumes?
Retain
Deletion behaviour needs to be selected
Why may an EC2 instance fail to launch?
Default max limit of 20 on new AWS accounts per region
Insufficentinstancecapacity
AWS does not have enough hardware capacity to service the request.
You attempt to launch an instance and get the error instancelimitexceeded
What does this indicate
You have more than 20 instances running in the region
You’ve reached the minimum number of running instances in a region. How do you resolve?
Request an increase with amazon support
You receive the error Insufficentinstancecapacity. What can you do?
Wait Try another AZ Request fewer instances Select a different instance type Try purchasing a reserved instance
What are the two EBS SSD types?
General purpose
Provisioned IOPS
You noteice your application performance has degraded. Your coworker tells you there are a lot of IO requests queuing. What can you do?
Change to a PIOPS disk
If it’s GP2, you can increase the size and get additional IOPS
Your application requires greater than 16000 IOPS. What kind of EBS volume should you use?
PIOPS
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?
Change to IOPS as the GP2 volume has reached its max IOPS capabilities
What are the 3 types of ELBs?
Application
Network
Classic
What ELB should you use if you need high performance or a static IP address?
Network
You are expecting a sudden and significant increase in traffic. How can you prepare you ELB?
Pre-warm
What is the default code for ELB success?
200
You receive a 4xx error code. Where might the problem be
The client
You receive a 4xx error code. Where might the problem be
Server side