Exam Prep Flashcards

(108 cards)

1
Q

The 6 Advantages of Cloud Computing

A
  1. Trade capital expense for variable expense.
  2. Benefit from massive economies of scale
  3. Stop guessing about capacity
  4. Increase speed and agility
  5. Stop spending $$ running and maintaining data centers
  6. Go global in minutes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 Types of Cloud Computing

A
  1. Infrastructure as a service (IaaS)
  2. Platform as a service (PaaS)
  3. Software as a service (SaaS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Infrastructure as a Service (IaaS)

A

You mange the server, which can be physical or virtual, as well as the operating system. Usually the data center provider will have no access to your server.

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

Platform as a Service (PaaS)

A

Someone else manages the underlying hardware and operating systems. You just focus on your applications. Someone else worries about security patches, updates, maintenance, etc.

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

Software as a Service (SaaS)

A

All you worry about is the software and how you use it.

Ex) Gmail

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

3 Types of Cloud Computing DEPLOYMENT

A
  1. Public Cloud - AWS, Azure, GCP
  2. Hyrbid - Mix of public and private
  3. Private (On Prem) - You manage it in your data center, open stack or VM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Availability Zone

A

Data Center

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

Region

A

Geographical area, 2+ regions per AZ

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

Edge Location

A

Endpoint for AWS that cache content

CloudFront, CDN (Content Delivery Network)

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

Rank:
Availability Zone
Region
Edge

A

Availability Zone < Region < Edge

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

How do you chose the right AWS Region?

A

Data Sovereignty Laws
Latency to End Users
AWS Services

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

What is S3

A
Simple Storage Service
Provides secure, durable, highly scaleable object storage.
Flat files, pictures, video, doc, etc...
Object based storage
0 - 5 TB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

S3 Namespace

A

Universal - must be unique globally

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

What happens on a successful S3 upload

A

HTTP 200 Code

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

Consistency for S3

A
  1. Read after write for PUTS of new objects
    - if write, data is immediately available
  2. Eventual consistency for overwrite of PUTS and DELETES
    - Update or delete may get old version
    - Takes time to change
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

S3 Guarantees

A

Availability 99.9%

Durability 99.999999999% (11 9’s)

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

Features of S3

A
  1. Tiered storage availability
  2. Lifecycle management
  3. Versioning
  4. Encryption
  5. Security through Access Control Lists and Bucket Policies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

S3 Storage Classes

A
  1. S3 Standard - Designed to sustain loss of 2 AZ concurrently
  2. S3 IA - Less frequent but rapid access, lower fee but includes retrieval fee
  3. S3 One Zone IA - Lower cost
  4. S3 Intelligent Tiering - Optimize cost by moving data between tiers using ML
  5. S3 Glacier
  6. S3 Glacier Deep Archive - Retrieval time of 12+ hours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How are you charged for S3

A
Storage
Requests
Storage Management Pricing
Data Transfer
Transfer Acceleration
Cross Region Replication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

S3 Transfer Acceleration

A

Enables fast, easy, and secure transfer of files.
Takes advantage of CloudFront’s globally distributed edge locations. As the data arrives at an edge location, data is routed to S3 over an optimized path.

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

Key Fundamentals of S3

A

Key (name of the object)

Value (data - made up of a sequence of bytes)

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

What is CloudFront?

A

A content delivery network (CDN) is a system of distributed servers (network) that deliver webpages adn other web content to a user based on the geographic locations of the user, the origin of the webpage, anda content delivery server.

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

What is EC2?

A

Amazon Elastic Compute Cloud (EC2) is a virtual server in the cloud.
Reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change.

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

EC2 Pricing Model

A
  1. On Demand - fixed rate per hour or second
  2. Reserved - capacity reservation, 1 to 3 year contracts, significant per hour discount
  3. Spot - bid on price if flexible start and end times
  4. Dedicated Hosts - physical EC2 servers, use existing server bound license
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
On Demand pricing is useful for....
- users who want low cost and flexibility of EC2 without any up front payment or long term commitment - applications with short term, spiky, or unpredictable workloads that cannot be interrupted - applications being developed or tested in EC2 for the first time
26
Reserved pricing is useful for....
- applications with steady state or predictable usage - applications that require reserved capacity - users able to make up front payments to reduce their total computing cost even further
27
Reserved Pricing Types
1. Standard Reserved Instance - 75% off on demand, the more you pay up front and the longer the contract, the greater the discount 2. Convertible Reserved Instance - 54% off on demand 3. Scheduled Reserved Instance - available to launch within window reserved
28
Spot Pricing is useful for....
- applications that have flexible start and end times - applications that are only feasible as very low compute prices - users with urgent computing needs for large amounts of additional capacity
29
Dedicated Host pricing is useful for....
- regulatory requirements that may not support multi-tenant virtualization - great for licensing which does not support multi-tenancy or cloud deployments - can be purchased on demand (Hourly) - can be purchased as a reservation for up to 70% off the on demand price
30
What is Amazon EBS?
Allows you to create storage volumes and attach them to EC2 instances. Once attached you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device. EBS volumes are placed in specific AZ where they are automatically replicated to protect you from failure of a single component.
31
Types of EBS
SSD a. General Purpose SSD (GP2) - balances price and performance for a wide variety of workloads b. Provisioned IOPS SSD (IO1) - highest performance SSD volume for mission critical low latency or high throughput workloads Magnetic a. Throughput Optimized HDD (ST1) - low cost HDD volume for frequently accessed throughput, intensive workloads b. Cold HDD (SCI) - Lowest cost HDD volume for less frequently accessed workloads (file servers) c. Magnetic - previous generations
32
If the spot instance is terminated by EC2....
....you will not be charged for a partial hour of usage
33
If you terminate the EC2 spot instance yourself....
....you will be charged for an hour in which the instance ran
34
Key Features of Amazon RDS
Multi zone AZ for disaster recovery | Read replicas for performance
35
Amazon's Non-Relational Database is called....
DynamoDB
36
OLTP vs OLAP
Online Transaction Processing (OLTP) differs from Online Analytical Processing (OLAP) in terms of the types of queries ran. OLTP ex) Order #1234 OLAP ex) Net profit for EMEA and Pacific
37
Amazon's data warehouse solution is...
Amazon Redshift
38
What is ElasticCache
Web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. The service improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches, instead of relying on slower disk based databases.
39
ElasticCache supports 2 open sourced in-memory caching engines
1. Memcached | 2. Redis
40
Amazon RDS supports what 6 database engines?
1. SQL 2. MySQL 3. PostgreSQL 4. Oracle 5. Amazon Aurora 6. MariaDB
41
Which AWS Services are global?
- IAM - Route53 - CloudFront - SNS - SES
42
Some AWS services give global views but are regional. Which are these?
Amazon S3
43
Which AWS Services can be used on premise?
- Snowball - Snowball Edge - Storage Gateway - CodeDeploy - Opsworks - IOT Greengrass
44
Which AWS Service can use used to deploy applications on premise?
- CodeDeploy | - Opsworks
45
What is CloudWatch?
A monitoring service to monitor your AWS resources as well as the applications that you run on AWS - Monitors performance
46
What can CloudWatch monitor?
Compute - EC2 Instances - Autoscaling Groups - Elastic Load Balancers - Route53 Health Checks Storage and Content Delivery - EBS Volumes - Storage Gateways - CloudFront
47
CloudWatch and EC2 host metrics consist of....
- CPU - Network - Disk - Status check
48
CloudWatch with EC2 will monitor events every ____ minutes by default
5 You can have 1 minute intervals by turning on detailed monitoring
49
AWS Systems Manager allows you to ....
....manage your EC2 instances at scale Piece of software installed on each VM Inside or on premise run command used to install, patch, uninstall integrates with CloudWatch to create dashboard
50
The 4 types of Support Packages
Basic - Free Developer - $29+ / month Business - $100+ / month Enterprise - $15,000+ / month (get a TAM)
51
IAM stands for....
....Identity Access Manager when you create a user/group it is global
52
How do you access the AWS Platform
1. via the Console 2. Programmatically using Command Line (CLI) 3. using the Software Developers Kit (SDK)
53
What is the Root account?
the email address used to set up your AWS account. The root account always has full admin access. You should not give these account credentials away to anyone. Instead create a user for each individual within your organization. You should always secure the root account using multi-factor authentication.
54
A group is....
....a place to store your users. Your users will inherit all permissions that the group has. Ex) A group is developers, sys admin, finance, HR, etc.
55
To set permissions in a group....
....you need to apply a policy to that group
56
A policy is....
....consists of a Java Script object notation (JSON). These are referred to as key value pairs. You have your name then the value ["name" ; "A Cloud Guru"]
57
The origin in....
....the origin of all files that the CDN will distribute S3 Bucket EC2 Instance Elastic Load Balancer Route53
58
Edge Locations
- Read/Write - Objects cached for the life of the TTL (Time to Live) - Can clear cached objects but will be charged
59
Common Ports
``` Linux = SSH (Port 22) Microsoft = Remote Desktop Protocol (Port 3389) HTTP = Port 80 HTTPS = Port 443 ```
60
Firewall Settings
To let everything in 0.0.0.0/0 | To let in one IP x.x.x.x/32
61
Security Groups
Virtual firewall in the cloud - Need to open up ports to use them SSH 22 HTTP 80 HTTPS 443 RDP 3389
62
Always design for....
....FAILURE
63
Security of roles
Roles are much more secure than using access key id's and secret access keys are easier to manage. Roles are universal. You do not need to specify what region they are in
64
Types of Load Balances
Application Load Balancer - Layer 7 (make intelligent decisions) Network Load Balancer - Extreme performance / static IP addresses Classic Load Balancer - Test and develop, keep costs low
65
Amazon's Graph Database
Amazon Nepture - Scalability - High availability
66
What is a DNS?
Domain Name System - process computers use to resolve domain names to IP Addresses - Route53 - Global - Direct traffic around the world, register names
67
What is Elastic Beanstalk?
Quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure that runs those applications. You simply upload your application and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing,scaling, and application health monitoring.
68
What is AWS Cloud Formation?
Service that helps you model and set up your AWS resources so that you can spend less time managing those resources and more time focusing on your applications that run in AWS. You create a template that describes all the AWS resources that you want (EC2, RDS, etc.) and AWS Cloud Formation takes care of provisioning and configuring those resources for you. You don't need to individually create and configure AWS resources and figure out what is dependent on what.
69
Elastic Beanstalk vs Cloud Formation
Elastic Beanstalk is limited in what it can provision and is not programmable. Cloud Formation can provision almost any AWS Service and is completely programmable.
70
What is AWS CloudWatch?
- used for monitoring performance - can monitor most of AWS as well as your applications that run on AWS - CloudWatch with EC2 will monitor events every 5 minutes by default - You can have 1 minute intervals with detailed monitoring - You can create alarms with trigger notifications - All about performance
71
Features of Consolidated Billing
- account charges can be tracked individually - a single bill is issued containing the charges for all AWS accounts - multiple standalone accounts are combined and may reduce your bill
72
9 Sections of the Cloud Formation template?
``` AWSTemplateFormationVersion Description Metadata Parameters Mappings Conditions Transform Resources (required) Outputs ```
73
What does S3 Transfer Acceleration use to get your data into AWS quicker?
Edge Locations
74
There are at least ____ availability zones per AWS region?
2
75
IAM Policies are written using....
....JSON
76
Amazon Lightsail is an example of what?
Platform as a Service (PaaS)
77
Route53: Simple Routing Policy
used for a single resource that that performs a given function for your domain
78
Route53: Failover Routing Policy
use when you want to configure active-passive failover
79
Route53: Geolocation Routing Policy
use when you want to route traffic based on the location of your users
80
Route53: Geoproximity Routing Policy
use when you want to route traffic based on the location of your resources and optionally shift traffic from resources in one location to resources in another
81
Route53: Latency Routing Policy
use when you have resources in multiple AWS regions and you want to route traffic to the region that provides the best latency
82
Route53: Multivalue Answer Routing Policy
use when you want Route53 to respond to DNS queries with up to 8 healthy records selected at random
83
Route53: Weighted Routing Policy
use to route traffic to multiple resources in proportion that you specify
84
CapEx vs OpEx
CapEx (Capital Expenditure) - you pay up front. It is a fixed, sunk cost OpEx (Operational Expenditure) - you pay for what you use. ex) electricity, gas, water, etc
85
Basics of Cloud Pricing Policy
- pay as you go - pay less when you reserve - pay even less per using by using more - pay even less as AWS grows - custom pricing
86
3 Fundamental Drivers of Cost within AWS
Compute Storage Data Outbound
87
AWS 1 year Free Services
``` Amazon VPC Elastic Beanstalk Cloud Formation IAM Auto Scaling Opsworks Consolidated Billing ```
88
What determines the price of EC2
- clock hours of server time - instance type - pricing model - number of instances - load balancing - detailed monitoring - auto scaling - elastic IP addresses - operating system and software packages
89
Amazon Neptune stores data as a....
....node and the relationship between each node
90
Amazon Aurora supports what instance class?
Burstable Performance | Memory Optimized
91
Amazon Aurora Security
- Aurora requires both authentication and permissions for users to access tables - IAM policies can be used to assign permissions to users - Security groups are used to control access to the database instance
92
Core components of DynamoDb
Tables, Items, Attributes Primary Key, Partition Key, Sort Key Secondary Indexes - Global and Local DynamoDB Stream - captures data modification events, near real time, order of occurrence *Can have a table without an index, or have more than one index on a table
93
Amazon Aurora Pricing Models
On Demand Reserved Serverless
94
Amazon RDS Security
- Amazon VPC is used to isolate your database from internet traffic - Connections to the database are secured using SSL - Security groups are used to control access to the database instance
95
DynamoDB Security
- IAM is used to manage credentials for DynamoDb | - Fully managed encryption at rest is supported
96
Valid Capacity Models for DynamoDB
On Demand | Provisioned
97
AWS is responsible for security ___ the cloud
OF AWS Foundation Services: Compute, Storage, Database, Networking AWS Global Infrastructure: Availability Zones, Regions, Edge Locations
98
Customers are responsible for their security ____ the cloud
IN Customer Data Platform, Applications, IAM Operations System, Network and Firewall configuration Client Side Data Encryption; Server Side Data Encryption: Network Traffic Protection
99
With EC2, AWS takes care of server infrastructure including network and storage. You are responsible for managing the database which includes....
- scaling and capacity planning - implementing high availability and fault tolerance - database backups - database software patches - database software installs - operating system patches
100
Which tool is required in a heterogenous database migration between on-premises Microsoft SQL Sever to Amazon Aurora MySQL?
AWS Schema Conversion Tool (AWS SCT)
101
What determines the price for Lambda
Request pricing - Free Tier: 1 million requests/month - $0.20 per 1 million requests thereafter Duration Pricing - 400,000 GB-seconds per month free, up to 3.2 million seconds of compute time - $0.000016667 for every GB-second used thereafter Additional Charges - You may incur additional charges if your Lambda function uses other AWS services or transfers data. For ex, if your lambda functions reads and writes data to or from S3,you will be billed for the read/write requests
102
What determines price for EBS?
Volume (per GB) Snapshots (per GB) Data Transfer
103
What determines price for S3?
Storage Class (Standard or IA or 1AZ IA etc) Storage Requests (GET,PUT,COPY) Data Transfer
104
What determines price for Glacier?
Storage | Data Retrieval Times
105
What is Snowball?
AWS Snowball is a PB-scale data transport solution that uses secure appliances to transfer large amounts of data into and out of the AWS cloud.
106
While pricing models vary across services, it's worthwhile to review key principles and best practices that are broadly applicable.
- Understand the fundamentals of pricing - Start early with cost optimization - Maximize the power of flexibility
107
What determines the prices for Snowball?
Service fee per job - Snowball 50TB $200 - Snowball 80TB $250 Daily Charge - First 10 days are free, after that it's $15/day Data Transfer - Data transfer in to S3 is free. Data transfer out is not.
108
What determines the price for RDS?
- Clock hours of server time - Database characteristics - Database purchase type - Number of database instances - Provisioned storage - Additional storage - Requests - Deployment Type - Data Transfer