7 - The Core Compute Services Flashcards

1
Q

What is Elastic Compute Cloud (EC2)?

A

A cornerstone tool for cloud deployments that mirrors traditional on-premises data centers by provisioning and launching virtual servers (instances)

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

What are the benefits of EC2 instances compared to on-premises servers?

A

More resilient, scalable, and often cheaper

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

What is an Amazon Machine Image (AMI)?

A

A software bundle built from a template definition that can be used to create a bootable drive for a VM

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

What are the four collections of AMIs?

A
  • Quick Start set * My AMIs * AWS Marketplace * Community AMIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of Quick Start AMIs?

A

To provide easy access to popular AMIs, many of which are Free Tier eligible

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

True or False: Using open source operating systems like Ubuntu and Amazon Linux incurs charges on AWS.

A

False

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

What types of software solutions are available in the AWS Marketplace?

A

Ready-to-run AMIs and additional formats like CloudFormation stacks and containers

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

What is a dedicated instance?

A

A regular EC2 instance running on an isolated host set aside exclusively for your account

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

How can you create your own AMI?

A

By creating a snapshot from the EBS volume used with an instance and then creating an image from the snapshot

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

What is a vCPU?

A

An arbitrary metric used by AWS to describe the compute power provided by an instance

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

List three EC2 instance type families.

A
  • General-purpose * Compute-optimized * Memory-optimized
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the characteristics of Amazon Elastic Block Store (EBS)?

A
  • Data persistence through shutdowns * Can be encrypted * Can be moved and mounted on other instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the key difference between EBS and instance store volumes?

A

EBS volumes are persistent and can survive shutdowns, while instance store volumes are ephemeral

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

What are on-demand instances?

A

The most expensive pricing tier where you pay for every hour the instance is running

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

When is it better to use reserved instances?

A

When your application needs to run uninterrupted for more than a month

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

Fill in the blank: EC2 instances can be optimized for _______.

A

[various computing tasks]

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

What is the role of the AWS Marketplace in relation to AMIs?

A

It allows vendors to make their software products available as ready-to-run AMIs

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

What is the difference between a dedicated instance and a dedicated host?

A

A dedicated instance runs on an isolated host, while a dedicated host allows higher control over instance placement

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

What is a snapshot in the context of EC2?

A

A backup of an EBS volume that can be used to create an AMI

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

True or False: Instance store volumes provide better data persistence than EBS volumes.

A

False

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

What is one disadvantage of using instance store volumes?

A

Data is ephemeral and does not persist through instance shutdowns

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

What is the purpose of creating an AMI from an EC2 instance?

A

To deploy exact copies of the instance easily for scaling

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

What is the range of pricing for on-demand instances?

A

From as low as $0.0058 per hour to as high as $24.48 per hour

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

What are the two types of storage volumes supported by EC2?

A
  • Elastic Block Store (EBS) * Instance store volumes
25
What is a key consideration when running an on-demand instance for only a couple of hours a day?
It will cost far more than it’s worth.
26
What is a reserved instance?
A reservation for the right to run an EC2 instance at a specified cost for a term, usually 12 months or longer.
27
What payment options are available for reserved instances?
* All Upfront * Partial Upfront * No Upfront
28
How much can AWS Spot Instances save you compared to on-demand costs?
As much as 90 percent.
29
What happens to Spot Instances when AWS reclaims capacity?
They can be shut down on two minutes’ notice.
30
What is the purpose of Amazon Elastic Container Service (ECS)?
To orchestrate swarms of Docker containers on AWS using EC2 resources.
31
What are the two types of instances that can be run on AWS?
* On-demand instances * Reserved instances * Spot instances
32
Fill in the blank: The script for installing Apache web server on an EC2 instance starts with _______.
#!/bin/bash
33
What is Amazon Lightsail designed for?
A low-stress way to enter the Amazon cloud world with simplified deployments.
34
What types of applications can be deployed using Amazon Lightsail?
* WordPress * Magento * LAMP * MEAN * Node.js * Ghost * GitLab * Django * PrestaShop * Drupal * Joomla * Redmine * Plesk * cPanel
35
What is a significant difference between AWS Elastic Beanstalk and Lightsail?
Beanstalk generates costs based on resource consumption, while Lightsail bills at a flat rate.
36
What is the maximum duration for which AWS Lambda functions can run?
15 minutes.
37
True or False: EC2 instance types are designed to fit specific application demands.
True.
38
What is the difference between EBS and instance store volumes?
* EBS volumes survive instance shutdowns * Instance store volumes provide faster performance.
39
What is the advantage of using containers like Docker?
They allow individual containers to share the Linux kernel with the physical host, reducing overhead.
40
What are the two AWS services that provide managed deployments?
* Amazon Lightsail * AWS Elastic Beanstalk
41
What triggers AWS Lambda functions to run?
A preset event.
42
What is the purpose of the User Data field when launching an EC2 instance?
To run a script when the instance boots.
43
Fill in the blank: EC2 on-demand pricing is best for _______.
short-term workloads that can’t be interrupted.
44
What is a LAMP stack?
A web server built on Linux, Apache, MySQL (or MariaDB), and PHP (or Python).
45
What is the pricing model for Spot Instances?
The least expensive option, but can be terminated with short notice.
46
What is the main function of AWS Elastic Beanstalk?
To manage the underlying infrastructure for your application and automatically scale according to demand.
47
What type of workloads are best suited for Spot Instances?
Workloads that don’t need to run constantly and can survive unexpected shutdowns.
48
What is Amazon Lightsail?
A service that provides blueprints for simplified flat-rate deployments using EC2 resources under the hood.
49
How can Lightsail deployments be managed?
They can be transferred to regular EC2 infrastructure without service interruption.
50
What does Elastic Beanstalk do?
Manages the underlying infrastructure for applications and automatically scales according to demand.
51
What are containers in the cloud?
Lightweight applications that share the OS kernel and device drivers with their host and common software layers.
52
What are ECS and EKS?
AWS services focused on simplifying Docker orchestration within the EC2 framework.
53
What is the purpose of Lambda functions?
Designed to respond to event triggers to launch short-lived operations.
54
True or False: Lightsail deployments can only run on Lightsail infrastructure.
False
55
Fill in the blank: Elastic Beanstalk automatically _______ according to demand.
scales
56
What do Docker containers share with each other?
Common software layers
57
What is a key feature of Lambda functions?
They respond to event triggers.
58
What does the acronym ECS stand for?
Elastic Container Service
59
What does the acronym EKS stand for?
Elastic Kubernetes Service