Cloud Computing Flashcards

1
Q

What are the main parts of a URL?

A
  1. Protocol (or scheme): https://
  2. Hostname (or domain): www.example.com
  3. Port: :80 (default for HTTP) or :443 (default for HTTPS)
  4. Path (or page): /path/to/page.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a packet route?

A

The sequence of router IPs a packet traverses to reach its destination.

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

What is the relationship between hostnames and IP addresses?

A

Hostnames (domains) are human-readable names mapped to IP addresses through DNS.

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

What does an A record do in DNS?

A

Maps a hostname to an IPv4 address.

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

What does an AAAA record do in DNS?

A

Maps a hostname to an IPv6 address.

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

What is the role of a registrar?

A

Registers domain names and manages their mapping to DNS records.

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

How much does an IPv4 address cost?

A

$30–50.

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

What is the approximate cost of a domain?

A

$5–20 per year.

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

How much does outbound traffic cost?

A

$50–100 per TB.

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

What is the cost of an HTTPS certificate?

A

Typically $0 (e.g., via Let’s Encrypt).

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

What is the role of AWS EC2?

A

Provides virtual machines (instances) for running applications.

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

What is an Elastic IP?

A

A static IPv4 address rented for use with AWS instances.

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

What does “instance type” refer to in AWS?

A

The hardware configuration of an EC2 instance, including CPU, memory, and storage.

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

What are burstable CPUs in AWS?

A

CPUs that can temporarily exceed their baseline performance by using accrued credits during periods of low activity.

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

What does Linux do in cloud deployments?

A

Provides the operating system for running server applications.

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

What is the purpose of SystemD?

A

Manages services and processes on Linux systems.

17
Q

What is APT used for?

A

Installs and manages software packages on Debian-based Linux systems.

18
Q

What does SSH do?

A

Provides secure remote terminal access to servers.

19
Q

What is JournalCtl?

A

A tool for viewing and querying system logs.

20
Q

What is the role of the gateway server?

A

Acts as the public-facing server that handles incoming requests and routes them to internal services.

21
Q

What is the purpose of the ALLOWED_HOSTS setting in Django?

A

Restricts which domains/IPs can access the application, enhancing security in production.

22
Q

What does RPS stand for, and what are typical values for different instances?

A

RPS stands for Requests Per Second.

  • Smaller instance (t3.medium): 10–30 RPS.
  • Larger instance (c5.large): 100–200 RPS.
23
Q

What is an AMI in AWS?

A

Amazon Machine Image, a preconfigured template for launching EC2 instances.

24
Q

What is auto-scaling?

A

Automatically adjusts the number of running instances based on traffic or server load.

25
Q

What was the approximate monthly cost of the deployment in Assignment 7?

A

About $9/month.