Introduction to Compute & Networking Flashcards

(17 cards)

1
Q

EBS volumes exist outside of _ and replicated within _ for high durability.

A
  1. EC2
  2. Availability Zone

You can attach EBS volume to a single instance at a time within same AZ.

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

When you launch an EC2 instance, a root _ volume is typically created by default. This volume contains the operating system.

A

Root EBS Volume

By default, the root volume is deleted when the instance is terminated, but you can change this behavior. Additional data volumes attached to an instance are not deleted by default upon instance termination.

RV is deleted when instance is terminated but u can change this behavior

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

Cross-AZ or cross-Region durability of an EBS volume is possible through _

A

snapshots

You can create new EBS volumes from snapshots.

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

AWS service for automating the creation, retention, and deletion of EBS snapshots

A

Amazon Data Lifecycle Manager (DLM)

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

Incremental EBS snapshots are stored in _.

A

Amazon Simple Storage Service (Amazon S3)

they are stored in AWS’s internal S3 infrastructure, managed by the EBS service, and not in an S3 bucket.

When you restore a volume from a snapshot, AWS reconstructs the full volume based on all the necessary incremental snapshots.

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

The simplest way to reduce boot/launch time of new instances in an Auto Scaling Group is through

A

Amazon Machine Image (AMI)

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

_ provides the template for the OS and applications on the root volume of EC2 instance.

A

AMI

AMIs also provide configuration of additional volumes to mount when an instance launches.

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

if you want your EC2 instance to be reachable from the public internet without having its own public IP, the most common and robust approach is to place it behind a Public _. If you primarily need your instance to initiate connections to the public internet (and not receive unsolicited inbound connections), then a _ is the way to go.

A
  1. Load Balancer (ALB or NLB)
  2. NAT Gateway

https://g.co/gemini/share/77e74c4e264f

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

Unlike public dynamic IP, _ is tied to the AWS account and not to the EC2 instance.

A

Elastic IP

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

Unlike the primary _, you can detach a secondary _ from one EC2 instance and later attach it to another.

A

Elastic Network Interface (ENI)

You can attach multiple network interfaces (ENIs) to an EC2 instance

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

_ protect traffic entering and exiting an instance’s network interface. They act as a stateful firewall.

A

Security groups

To make network connections to your instance, you must set security group rules to allow the connection.

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

_ EC2 instances provide remote access through Secure Shell (SSH), and _ EC2 instances provide remote access through the Remote Desktop Protocol (RDP)

A
  1. Amazon Linux
  2. Amazon Windows
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Default user for Amazon Linux instances is _.
Default user for Amazon Ubuntu instances is _.
Default user for Amazon CentOS instances is _.
Default user for Amazon Windows instances is _.

A
  1. ec2-user
  2. ubuntu
  3. centos
  4. Administrator

You’ll use it while connecting (e.g., ec2-user@instance-public-ip)

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

AWS allows you to configure SSH key access at instance creation time by associating an _ with the default login user.

A

EC2 key pair

When you try to connect via SSH, your local SSH client uses your private key to prove your identity to the EC2 instance, which has the corresponding public key. It’s like a highly secure digital handshake.

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

AWS doesn’t create a new key pair for each instance launched by an ASG in the traditional sense (where you download a new .pem file). Instead, you “pre-configure” the key pair that new instances should use as part of the ASG’s setup through _.

A

Launch Template (previously Launch Configuration)

When you create a Launch Template, you specify the name of an existing key pair that you have already created and uploaded to AWS.

For any instance launched using this template, place the public key associated with this name on the instance.” The private key, which you hold, is then used by you to connect to those instances. The best practice is to keep that private key file (.pem) on your local machine, protected by a strong passphrase, and with strict file permissions.

https://g.co/gemini/share/838e81f2d8f9

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

_ is a feature of AWS Systems Manager Service that provides a browser-based interface to your EC2 instance, allowing you to log in without requiring to maintain SSH key-pairs or requiring to open inbound port 22 by modifying inbound rules of Security Group.

A

Sessions Manager

17
Q

_ provides a secure, temporary (time-bound) access to your EC2 instance using SSH, without permanent keys.

A

EC2 Instance Connect

It simplifies key management by allowing you to push a temporary SSH public key to the instance’s metadata. So, no need to manage permanent keys.