Cloud Concepts and Technology Flashcards

1
Q

Name the 6 advantages of cloud computing

A
  1. Trade capitalist expense for variant expense- you pay for what you need.
  2. Benefit from massive economies of scale
  3. Stop guessing about capacity
  4. Increase speed and capacity
  5. Stop spending money running and managing data centers
  6. Go global in minutes (deploy web apps all around the world)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 types of cloud computing?

A
  1. IAAS- Infastrucutre as a service- EC2
  2. PAAS- Platform as a service- Elastic Beanstalk
  3. SAAS- Software as a service- Gmail
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 3 types of cloud computing deployments?

A
  1. Public cloud- e.g. Azure, AWS
  2. Hybrid cloud- e.g. Hybrid cloud
  3. Private cloud- e.g. VMware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a region?

A

A region is a physical location in the world that consists of 2 or more AZs

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

What is a AZ?

A

Availability zone- One or more discrete data centers, each with redundant power, networking, and connectivity housed in separate facilities.

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

What is an edge location?

A

End points for AWS which are used for caching content. Typically consists of CloudFront- AWS’s content delivery network (CDN)

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

What the3 factors you must considered when deciding which region to use?

A
  1. Data sovereignty
  2. Latency to end users
  3. AWS services you need- May not be available in every region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different support packages?

A
  1. Basic- Free
  2. Developer- $29/Month
  3. Business- $100/Month
  4. Enterprise- $15,000/Month
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which support packages offers a TAM?

A

Enterprise

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

What is a TAM?

A

TAM- Technical Account Manager

Dedicated AWS expert

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

What is a Billing alert/alarm?

A

An alert when a defined level of spending has been reached

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

What is IAM?

A

IAM= Identity Access Management

It is GLOBAL. When you create a user of group it is GLOBAL

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

Name the 3 ways you can access the AWS platform

A
  1. Via the console
  2. Programmatically (via command line)
  3. Using a Software Development Kit (SDK)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is your root account? (3 points)

A
  1. The email you used to create your account.
    Root always has full admin access.
  2. You should never give out root credentials away to anyone. Instead you should create a user for each individual within your organisation.
  3. You should always secure your root account with an MFA
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a group?

A

A group is a place to store your users. Your users will inherit all permissions that that group has. e.g. devs, sysop, admin….

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

How do you set permissions in a group?

A

To set permissions in a group you attach a policy to that group.

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

What is a policy?

A

A policy is in the JavaScript Object Notation (JSON) format containing key-value pairs.

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

What is S3? (5 points)

A
  1. S3 is object based storage.
  2. Files can be from 0 to 5TB
  3. Unlimited storage
  4. Files are stored in buckets
  5. The S3 name space is GLOBALLY unique
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the format of a S3 bucket URL?

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

What can you not store on S3?

A

OS or programs.. It must be flat files e.g. images, videos e.t.c.

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

What HTTP code will be received when an upload to S3 is successful?

A

200

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

How are objects stored in S3?

A

Key- (name of 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
23
Q

What is the consistency model of S3? (2 points)

A
  1. S3 has read after write for puts of new objects

2. S3 has eventual consistency for overwrite PUTS and DELETES (can take a while to propagate)

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

Can you have S3 buckets in specific regions ?

A

Yes

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

What is S3 cross replication?

A

Automatic replication contents of one bucket across 2 regions

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

What is S3 TA?

A

Transfer Acceleration

Objects are transferred around the world using amazons backbone network using dedicated cables.

User upload > edge location > AWS network cables > S3 bucket

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

What are the 6 types of S3 storage classes

A
  1. S3 standard- 99.99% avail 99.^11 durability, Multi facility
  2. S3- IA Infrequently accessed- IA, but required instantly- costs high for retrieval
  3. S3- one zone IA- Loss cost for IA data, not multi AZ
  4. S3- Intelligent tiering- ML based- auto moving data to optimize cost
  5. S3 Glacier- Low cost storage, retrieval mins to hours
  6. S3 Deep archive- Lowest cost where retrieval time of 12 hours is acceptable- lowest cost available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Can S3 be used to host a website?

A

Yes, S3 can host a static website, this will scale to meet the demand of requests e.g. movie release website

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

What is CloudFront?

A

CloudFront is AWS’s CDN- content delivery network. CloudFront caches content at Edge locations. This improves the access speed for customers.

30
Q

What is an origin (CloudFront)?

A

An origin is any file that the CDN will distribute. This can be an S3 bucket, an EC2 instance, ELB e.t.c

31
Q

What is a distribution (CloudFront)?

A

The name given to the CDN and consists of a collection of edge locations

32
Q

What are web and RTMP distributions used for?

A

Website and media streaming

33
Q

Are edge locations read only?

A

No, you can PUT object to edge locations

34
Q

How long are objects cached at edge locations?

A

They are cached for the TTL (Time To Live). This is always in seconds.

35
Q

What is EC2?

A

EC2 Elastic Compute Cloud

A web service that provides resizable compute capacity in the cloud (i.e. VMs).

36
Q

What is the main advantage of using EC2 over physical servers? (2 points)

A

Reduces the time required to obtain and boot new server instances to minutes.

Allows you to scale capacity up and down- when computing requirements change.

37
Q

What are the 4 pricing models for EC2?

A
  1. On demand- pay as you go
  2. Reserved instances- Provides you with defined capacity, get a significant discount on hours charge, contract terms 1 or 3 years
  3. Spot- Enables you to bid what price you want to pay. Greater savings for compute where you have flex start and stop times
  4. Dedicated hosts- Physical servers- useful for server bound licensing or regulatory issues
38
Q

What are the 11 classes of EC2 instances? (FIGHTDRMCPX)

A
  1. F- for FPGA
  2. I- for IOPS
  3. G - Graphics
  4. H- High disc throughput
  5. T- Cheap genera purpose (micro)
  6. D- For density
  7. R- For RAM
  8. M- Main choice for general purpose apps
  9. C- for compute
  10. X- Extreme memory
  11. Z- Extreme memory and CPU
39
Q

What is EBS?

A

Elastic Block Storage- Virtual discs in the cloud

40
Q

What are the 2 main types of EBS?

A

SSD- a) GP2- General storage b) IO1- Provisioned IOPS SSD

Magnetic- a) ST1 - Throughput optimized, b) SC1- cold HDD

41
Q

What do you need to connect to an EC2 instance?

A

Private key

42
Q

Name 4 common ports

A
Linux = SSH (port 22)
Microsoft = RDP (port 3389) 
HTTP = port 80
HTTPS = port 443
43
Q

What traffic will the following IP addresses allow:

  1. 0.0.0.0/0
  2. X.X.X.X/32
A
  1. all traffic

2. Only traffic from X.X.X.X IP address

44
Q

What is a security group?

A

Virtual firewalls in the cloud. You can open ports to allow traffic

45
Q

What should you always design for?

A

Failure! Always spread EC2 instances across AZs in a given region

46
Q

What is an IAM user?

A

IAM user is an entity that you create in AWS. Represents a person who uses IAM to interact with AWS. When creating a user you grant it permission by making it a member of a group that has an appropriate policy attached.

47
Q

What is a IAM group?

A

A collection of IAM users. Allows you to specify permissions easily.

48
Q

What is an IAM role?

A

Very similar to a user, in that it has an identity and permission policies attached. But its DOES NOT have any credentials (password or access keys) associated with it. Instead of being uniquely associated with one person. A role is intended to be assumable by anyone who needs it. i.e. temporary permissions for a specific task.

49
Q

Why use a role over a user?

A

Much more secure than using access key and secret keys and are easier to manage.

50
Q

Are users and roles GLOBAL?

A

Yes

51
Q

Name 3 types of load balancers

A
  1. Application load balancers- layer 7- intelligent
  2. Network balancer- Extreme performance- static IP
  3. Classic load balancers
52
Q

What is RDS?

A

Relational Database Service

53
Q

How many engines are included in RDS?

A

6- Microsoft SQL, MySQL, PostgreSQL, Oracle, ,Aurora and MariaDB

54
Q

What is DynamoDB

A

NoSQL database

55
Q

What is Redshift used for? (3 points)

A

Business inteligence or data warehousing
OLAP- Online analytics processing
Querying large data

56
Q

what is Elasticache?

A

Service used to cache frequently used queries to improve performance of existing databases:

a) Memcache
b) Redis

57
Q

Name a graph database

A

Amazon Neptune

58
Q

What are the 2 key features of RDS?

A

Multi AZs- Disaster recovery

Read replicas- For performance

59
Q

What is autoscaling?

A

The process of automatically provisioning multiple EC2 instances behind a load balancer depending on demand

60
Q

What is DNS?

A

Domain Name System

Like a phonebook –> process computer use to resolve domain names to IP addresses

61
Q

What is Route53? and what do you use it for?

A

Route53- Global, can be used to direct traffic and to register domain names.

62
Q

What is Elastic Beanstalk?

A

Upload code > automatically handles details of capacity provisioning, load balancing and scaling

63
Q

What is CloudFormation? (2 points)

A

A service to model and set up AWS resources

Create JSON templates to define environment.

64
Q

Are Elastic Beanstalk and CloudFormation free?

A

Yes, but the resources they provision are not!

65
Q

What is the difference between Elastic Beanstalk and CloudFormation?

A

Elastic beanstalk is not programmable where as CloudFormation is!

Also EB is limited in what it can provision

66
Q

Name 5 GLOBAL services

A
  1. IAM
  2. Route53
  3. CloudFront
  4. SNS- simple notification service
  5. SES- Simple email service
67
Q

Name 6 AWS services that can be used on premise…

A
  1. Snowball
  2. Snowball edge
  3. Storage gateway
  4. CodeDeploy
  5. Ops works
  6. IOT Greengrass- allows devices to use lambda functions
68
Q

Which 2 on premise services can be used for deployment?

A
  1. CodeDeploy- Automates configuration of servers

2. Opswords- Allows you to configure servers on premise automatically

69
Q

What is AWS storage gateway?

A

A hybrid storage service that gives you on premise access to cloud storage.

70
Q

What is CloudWatch?

A

A service to monitor performance of your AWS environment as well as your apps that run on AWS. CloudWatch with EC2 will monitor events every 5 mins by default. You can create cloud watch alarms.

71
Q

What is Amazons System Manager?

A

A service to manage fleets of EC2 instances. Install a piece of software on each EC2 instance and you can run commands on batches of EC2 instances. This service integrates with CloudWatch to give you a dashboard of the entire estate.