EC2 - Elastic Compute Cloud Flashcards
Which EC2 Purchasing Option can provide the biggest discount, but is not suitable for critical jobs or databases?
a) Scheduled instances
b) Convertible Instances
c) Dedicated Hosts
d) Spot Instances
d) Spot Instances
Spot Instances are good for short workloads, but are less reliable.
Which network security tool can you use to control traffic in and out of EC2 Instances?
a) Network Access Control List (NACL)
b) Identity and Management Access (IAM)
c) GuardDuty
d) Security Groups
d) Security Groups
Security Groups operate at the instance level and can control traffic.
Under the Shared Responsibility Model, who is responsible for operating-system patches and updates on EC2 Instances?
a) The customer
b) AWS
c) Both AWS and the customer
a) The customer
The customer is responsible for operating-system patches and updates on EC2 Instances, as well as data security on the instances, Security Groups rules, etc.
How long can you reserve an EC2 Reserved Instance?
a) 1 or 3 years
b) 2 or 4 years
c) 6 months or 1 year
d) Anytime between 1 and 3 years
a) 1 or 3 years
1 year or 3 years terms are available for EC2 Reserved Instances.
Which of the following is NOT an EC2 Instance Purchasing Option?
a) Spot Instances
b) Reserved Instances
c) On-demand Instances
d) Connect Instances
d) Connect Instances
This EC2 Instance purchasing option does not exist.
Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?
a) Reserved Instances
b) Spot Instances
c) On-demand instances
d) Convertible Instances
a) Reserved Instances
Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years.
For EC2 On-Demand, you pay for what you use, how are billed Linux and all other OS (ex: Windows)?
For Linux, billing per second, after the first minute
For all other OS, billing per hour
What are the types of reserved instances available?
- Normal Reserved Instance, a specific instance type is reserved.
- Convertible Reserved Instance, where you can change the EC2 type over time.
- Scheduled Reserved Instances are launched within the reserved time window.
What are EC2 Spot Instances and what could be used for?
Are the most cost-efficient instances, they are lost at any point of time if the max price a customer is willing to pay for them is less than the current spot price.
Useful for workload that are resilient to failure like:
- Batch jobs
- Data analysis
- Image processing
- Any distributed workloads, it doesn’t matter if an instance gets lost while other instances can continue working.
- Workloads with a flexible start and end time
NEVER CONSIDER A SPOT INSTANCE FOR CRITICAL JOBS OR DATABASES
What are the EC2 Dedicated Hosts?
Are physical servers with EC2 instance capacity fully dedicated for customer’s use.
Dedicated Hosts can help customers to address compliance requirements and reduce costs by allowing them to use existing server-bound software licenses.
They are allocated for an account for 3 year period reservation and they are more expensive.
Are useful for software that has a complicated licensing model (BYOL Bring Your Own License) or companies that have strong regulatory or compliance needs
What is an EC2 General Purpose?
General purpose instance provides a balance of compute, memory, and network resources.
These instances are ideal for applications that use these resources in equal proportions such as web servers and code repositories.
What is an EC2 Compute Optimized?
Compute Optimized instances are great for compute-intensive tasks that require high-performance processors. Example: • Batch processing workloads • Media transcoding • High performance web servers • High performance computing (HPC) • Scientific modeling & machine learning • Dedicated gaming servers
What is an EC2 Memory Optimized?
Memory optimized instances are designed to deliver fast performance for workloads that process large data sets in memory. Example: • Floating point number calculations • Graphic processing • Data pattern matching
What is an EC2 Storage Optimized?
Storage optimized instances are great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
Example:
• High frequency online transaction processing (OLTP) systems
• Relational & NoSQL databases
• Cache for in-memory databases (for example, Redis)
• Data warehousing applications
• Distributed file systems