Compute Flashcards

(36 cards)

1
Q

What is Amazon EC2?

A

A Linux-based/Windows-based/Mac-based virtual server that you can provision

EC2 allows users to run virtual servers in the cloud.

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

What is the AWS Nitro System?

A

The underlying platform of the next generation of EC2 instances

It offloads functions to dedicated hardware and software, improving performance.

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

What are instance types in Amazon EC2?

A
  • t-type and m-type for general purpose
  • c-type for compute optimized
  • r-type, x-type, and z-type for memory-optimized
  • d-type, h-type, and i-type for storage optimized
  • f-type, g-type, and p-type for accelerated computing

Instance types define the configurations of CPU, memory, storage, and networking capacity.

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

What is the purpose of Amazon Machine Images (AMIs)?

A

A reusable template for the root volume of an instance

AMIs can include the OS, application server, and applications.

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

What are the instance states in Amazon EC2?

A
  • Start
  • Stop
  • Hibernate
  • Terminate

Each state has specific implications for billing and data retention.

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

True or false: You can stop an Instance Store-backed instance.

A

FALSE

Instance Store-backed instances do not support the Stop action.

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

What happens to data on instance store volumes when an instance is terminated?

A

Data is deleted

Instance store volumes do not retain data after termination.

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

What is EC2 Hibernation?

A

A feature that saves the in-memory state to a file in the root EBS volume before shutting down

Hibernation requires an encrypted EBS-backed instance.

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

What are the pricing models for Amazon EC2?

A
  • On-Demand
  • Reserved
  • Spot

Each model has different billing structures and commitments.

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

What is a Spot Fleet?

A

A collection of Spot Instances and optionally On-Demand Instances

It attempts to maintain target capacity based on specified requirements.

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

What is the function of a security group in Amazon EC2?

A

Acts as a virtual firewall controlling traffic for instances

Security groups allow you to specify protocols, ports, and source IP ranges.

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

What does an Elastic IP address do?

A

Provides a static IPv4 address for dynamic cloud computing

It allows rapid remapping to another instance in case of failure.

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

What is the maximum number of Elastic IP addresses allowed per region by default?

A

Five (5)

This limit is due to the scarcity of public IPv4 internet addresses.

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

What is Enhanced Networking in Amazon EC2?

A

Provides higher bandwidth and higher packets per second

It improves network performance for EC2 instances.

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

What does IAM stand for in the context of Amazon EC2 security?

A

Identity and Access Management

IAM controls access to your instances.

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

What is the purpose of Amazon EC2 Image Builder?

A

Automates the creation, management, and deployment of AMIs

It allows for the customization and automation of image updates.

17
Q

What is the recycle bin feature for AMIs?

A

Allows restoration of deleted AMIs

You can set retention rules to protect against modifications and deletions.

18
Q

What is the default behavior of security groups in Amazon EC2?

A

Allows all outbound traffic

Inbound traffic rules must be explicitly defined.

19
Q

What is the termination protection feature in Amazon EC2?

A

Prevents accidental termination of an instance

This feature can be enabled to safeguard critical instances.

20
Q

What is the maximum number of network interfaces that can be used?

A

Varies by instance type

You can attach a network interface to an instance in a different subnet as long as it is within the same AZ.

21
Q

What happens to default interfaces upon instance termination?

A

Terminated with instance termination

This means that default network interfaces are automatically removed when the instance is stopped or terminated.

22
Q

What is the purpose of EC2 Scaling Groups?

A

Scale and distribute traffic among instances

They help manage the number of instances based on demand.

23
Q

What are bastion hosts used for in EC2?

A

Access VPC instances for management

They allow secure access using SSH or RDP protocols.

24
Q

What does Enhanced Networking provide?

A
  • Higher bandwidth
  • Higher packet per second (PPS) performance
  • Consistent lower inter-instance latencies

It uses single root I/O virtualization (SR-IOV) for high-performance networking.

25
What is an **Elastic Fabric Adapter (EFA)**?
A network device for accelerating machine learning and HPC applications ## Footnote EFA provides lower latency and higher throughput compared to traditional TCP transport.
26
What are the **EC2 items to monitor**?
* CPU utilization * Network utilization * Disk performance * Disk Reads/Writes * Memory utilization * Disk swap utilization * Disk space utilization * Page file utilization * Log collection ## Footnote Monitoring can be done using EC2 metrics and CloudWatch.
27
What are **System Status Checks** used for?
Monitor AWS systems required for instance operation ## Footnote They detect problems needing AWS intervention.
28
What is **Instance Metadata**?
Data about your instance for configuration or management ## Footnote It can be accessed from within a running instance.
29
What types of **user data** can be passed to EC2?
* Shell scripts * Cloud-init directives ## Footnote User data is limited to 16 KB.
30
What is a **placement group** in EC2?
Determines how instances are placed on underlying hardware ## Footnote It can be launched or started in different configurations like cluster, spread, or partition.
31
What is the **maximum number of running instances** per Availability Zone in a spread placement group?
Seven ## Footnote Spread placement groups can span multiple Availability Zones.
32
What does **EBS** stand for?
Elastic Block Store ## Footnote It provides durable, block-level storage volumes for EC2 instances.
33
What is the difference between **Instance Store** and EBS?
* Instance Store: Temporary storage, data lost on instance stop/termination * EBS: Durable storage, data persists ## Footnote EBS allows for snapshots to be created and stored in S3.
34
What is **Amazon FSx for Windows File Server**?
A fully-managed file storage built on Windows Server ## Footnote It is part of the Amazon FSx service offerings.
35
What is the purpose of **Amazon S3**?
Reliable and inexpensive data storage infrastructure ## Footnote It is used for EBS snapshots and instance store-backed AMIs.
36
What is the significance of **resource IDs** in EC2?
Unique identifier assigned to each resource ## Footnote Resources can be global or specific to a region or Availability Zone.