ASA Quick Fire Questions Flashcards
(138 cards)
What is a client? (Server)
A client is a person or computer that sends a request.
What is a Server?
A server handling the requests is a computer, or collection of computers, connected to the internet serving websites to internet users.
What does HTTP serves include?
Windows and Linux options
At a fundamental level, what are the three types of compute options?
Virtual Machines (VMs), Containers and Serverless
What is a Virtual Machine (VM)?
A VM emulates a physical server and allows you to install an HTTP server to run your application
What is a HTTP?
HTTP (Hypertext Transfer Protocol) is a set of rules that define how data is transmitted over the internet. It is the foundation of data communication on the World Wide Web.
HTTP allows web browsers and servers to communicate and exchange data, such as web pages, images, videos, and other multimedia content.
What is a hypervisor?
In its simplest form, a hypervisor is software or firmware that makes it possible to share physical hardware resources across one or more virtual machines. The hypervisor provisions the resources to create and run your VMs
What is an EC2?
Is a resizable compute capacity in the cloud, in which you can provision virtual servers called EC2 instances.
What’s three things you can do with EC2?
- Provision and launch one or more EC2 instances in minutes
- Stop or shut down EC2 instances when you finish running a workload
- Pay by the hour or second for each instance type (minimum of 60 seconds)
To create an EC2 instance, what two things must you define?
- Hardware Specifications: CPU, memory, network and storage
- Local Configurations: Networking location, firewall rules, authentication, and the operating system of your choice
When launching an EC2 instance, what do you first configure?
Amazon Machine Image (Operating Image)
Whats the relationship between EC2 and AMI?
The AMI is the Operating System that sits under the EC2, the AMI is the blueprint and the EC2 instance is the product created and run through the AMI blueprint
Whats an advantage of an AMI? (Give example)
They are reusable. you could create an another AMI through an EC2 instance, and repeat this process meaning you would have the same configurations as all AMI’s are the same.
When updating an AMI, does it automatically update all other AMIs?
NO. AMIs are immutable, which means that once an AMI is created, its contents and configuration cannot be directly modified or updated. An AMI is a snapshot of the state of an instance at a specific point in time.
What are five categories of AMIs, and what do they offer?
- Quick Start AMI - Pre-made AMIs created by AWS
- Marketplace AMIs - Open-source Third-party created
- My AMIs - Your library of AMIs created from your EC2
- Community AMIs - Provided by the AWS user community
- Custom Image - Build your own custom image with EC2 image builder
What is open-source?
When code is publicly available and free to be used and modified
What could be the primary reasons for taking a snapshot (AMI) of an EC2 instance?
For Backup and Recovery: have a backup of the instances root volume and any attached EBS volumes, just in case of any data loss or corruption
What does the AMI include?
- Operating System
- Storage mapping
- Architecture type
- Launch Permissions
What will instance sizing depend on?
demands of application and anticipated size of your user base
What are EC2 instance made up of?
Virtual Processors, Memory, network, and in some cases instance storage and graphic processing units, which you choose how much you need of each when creating an instance.
Instant types consist of a prefix identifying the type of workload they are optimized for, followed by size. How can instance size be broken down? For example ‘c5n.xlarge’
- First Position (C) - Instance family (Example indicates it is Compute Optimized)
- Second Position (5) - Generation of the instance
- Remaining letters before the period (n) Additional attributes such as NVMe storage
- After Period (xlarge) - Instance size
What are the 6 EC2 Instance Families, with a overview and use case?
- General Purpose: These instances provide a balanced mix of compute, memory, and networking resources, suitable for various workloads like web servers and code repositories.
- Compute Optimized: Designed for compute-intensive applications like high-performance processors, such as batch processing, media transcoding, high performance web servers.
- Memory Optimized: Ideal for memory-intensive applications like high-performance databases, in-memory caches, real-time analytics
- Accelerated Computing: These instances use hardware accelerators for efficient parallel processes making them suitable for machine learning, HPC, scientific simulations
- HPC Optimized: Purpose-built for running HPC workloads at scale on AWS, ideal for applications such as large scale simulations and deep learning workloads
- Storage Optimized: For workloads that require high sequential read and write access to large datasets on local storage, such as NoSQL databases, in-memory databases, data warehousing and analytics
Where is a EC2 instanced default placed when created?
VPC. However any resource you put in the default will be public and accessible by the public so you shouldn’t place any customer data
When architecting for high availability, what should you at least have?
two EC2 instances for two separate AZs