Virtualization & Cloud Flashcards

1
Q

What is a hypervisor?

A

Software used to manage and allocate hardware resources to each VM

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

What is a type 1 hypervisor?

A

A hypervisor that runs directly on top of the hardware. AKA bare-metal hypervisor

E.G. VMware ESXi, Proxmox

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

What is a type 2 hypervisor?

A

A hypervisor that runs as a program on an operating system like a regular computer program. AKA hosted hypervisor

E.G. VMware workstation, Oracle VirtualBox

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

Type 2 Hypervisor: The OS running directly on the hardware is called the _____ and the OS running in a VM is called the ______

A

Host OS, Guest OS

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

What are the primary reasons for using virtualization?

A
  • Partitioning: Divide system resources and run multiple OS on one machine
  • Isolation: Provide fault and security isolation at the hardware level
  • Encapsulation: Save entire state of a virtual machine to files, move and copy VMs easily
  • Hardware independence: Provision or migrate any VM to any physical server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

VMs are connected to each other and the external network via:

A

Virtual switch. Can use VLANs and trunks just like regular L2 switches.

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

How do virtual switches connect to the physical network?

A

A trunk to the machine’s NICs

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

For redundancy, how can we form a port channel between that goes to two separate physical switches?

A

VPC, virtual port channel

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

Describe Colocation:

A

Data centers rent out space for customers to place infrastructure. Datacenters provide space, electricity, cooling, and physical security. Equipment is still the responsibility of the owner but they are not on-prem

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

Define cloud computing:

A

A model for enabling on demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction.

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

What are the 5 essential characteristics of the cloud?

A
  • On-demand self-service
  • Broad network access
  • Resource pooling
  • Rapid elasticity
  • Measured service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe cloud “on-demand self-service”

A

Customer is able to start/stop/modify the service freely without direct communication with the service provider

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

Describe cloud “broad network access”

A

Service is available through standard network connections and can be accessed through many kinds of devices

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

Describe cloud “resource pooling”

A

A pool of resources is provided by the service provides, and when a customer requests a service, the resources to fulfill that request are allocated from the shared pool

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

Describe cloud “rapid elasticity”

A

Customers can quickly expand the services they use in the cloud from a pool of resources that appears to be infinite. Likewise, services can be quickly reduced when not needed

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

Define cloud “measured service”

A

Cloud service providers measures the customer’s usage of cloud resources, and the customer can measure their own use as well. Customers are charged based on usage

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

What are the three service models of the cloud?

A
  • Software as a Service
  • Platform as a Service
  • Infrastructure as a Service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Microsoft Office 365 would be classified as a:

a) SaaS
b) PaaS
c) IaaS

A

a) SaaS

Microsoft manages almost everything about O365, including network, servers, OS, storage, and application capabilities

19
Q

PaaS provides what capability to the consumer?

A

Capability to deploy consumer created/bought applications onto cloud infrastructure

eg AWS Lambsa, Google App Engine, Azure webapp hosting

20
Q

IaaS provides what capability to the consumer?

A

Capability to provision CPU, storage, networks, and other fundamental compute resources where the consumer is able to deploy and run any software, including OS and applications.

eg AWS EC2, Google Compute Engine

21
Q

What are the four deployment models of the Cloud?

A
  • Private cloud
  • Community cloud
  • Public cloud
  • Hybrid cloud
22
Q

Describe the private cloud model

A

Cloud infrastructure provisioned for exclusive use by a single organization. Can be owned, managed, and operated by and/or the organization or a third party. Can be on or off prem

ex. AWS provides private cloud to the DoD

23
Q

Describe the community cloud model

A

Cloud infrastructure provisioned for exclusive use by a specific community of consumers what shared concerns (mission, security, etc.).

Least common model

24
Q

Describe the public cloud model

A

Cloud infrastructure provisioned for open use by the general public. Exists on prem of the cloud provider.

ex AWS, Azure

25
Q

Describe the hybrid cloud model

A

Any combination of other three deployment types.

ex a private cloud that can offload to a public cloud when resources demand so

26
Q

Which statement about virtual machines is true?

a) The hypervisor is used to manage and allocate hardware resources to VMs
b) Type 1 hypervisors run on a host OS
c) Type 2 hypervisors run directly on top of the hardware
d) Only a single VM can exist per physical server

A

a) The hypervisor is used to manage and allocate hardware resources to VMs

27
Q

Which of the following hypervisor types is known as a native hypervisor?

a) Type 1
b) Type 2
c) Type 3

A

a) Type 1

28
Q

Which of the following is not an essential characteristic of cloud computing?

a) Measured service
b) Resource pooling
c) Rapid elasticity
d) Infinite resource pool
e) Broad network access

A

d) Infinite resource pool

29
Q

Which of the following cloud service types allows customers to use applications running on the provider’s cloud infrastructure?

a) IaaS
b) PaaS
c) SaaS

A

c) SaaS

30
Q

Which of the following cloud deployment types may exist off-prem?

a) Public cloud
b) Private cloud
c) Community cloud
d) All of the above

A

d) All of the above

Cloud is generally off-prem, but all, especially private, can be on-prem

31
Q

Which of the following examples best describes the SaaS model?

a) A company obstains a subscription to use a service provider’s infrastructure, programming tools, and programming languages to develop and serve cloud-based applications
b) A company licenses an office suite, including email service, that is delivered to the end user through a web browser
c) A company hires a service provider to deliver cloud-based processing and storage that will house multiple virtual hosts configured in a variety of ways
d) A company moves all company-wide policy documents to an Internet-based virtual file system hosted by a service provider

A

B

32
Q

Define container

A

Containers are software packages that contain an App and all dependencies

33
Q

Containers run on a _______

A

Container Engine

34
Q

Software for automating the deployment, management, and scaling of containers is called a:

A

Container orchestrator

Kubernetes is an example

35
Q

What is the major difference between VMs and containers?

A

Every VM runs its own OS, while containers all run on top of a shared OS

36
Q

T/F: Containers are much more agile than VMs

A

T

37
Q

T/F: Containers take up much less space than VMs

A

T

38
Q

T/F: Containers are much less agile than VMs

A

F

39
Q

T/F: Containers take up much more space than VMs

A

F

40
Q

T/F: Containers are less isolated than VMs since they have a shared OS

A

T

41
Q

T/F: Containers are more isolated than VMs since they don’t share an OS

A

F

Containers have a shared OS

42
Q

What are the three components that containers run on top of?

A

Container Engine
OS
Hardware

43
Q

Which of the following are examples of container orchestrators? pick 2

a) Docker Engine
b) Docker Swarm
c) Kubernetes
d) Hyper-V

A

B and C

44
Q

Which of the following statements about VMs and containers are true? Pick 3

a) VMs require more resources
b) Containers take more time to boot
c) VMs are more isolated
d) An OS runs in each container
e) Containers are often tens of gigabytes in size
f) Containers all run on a host OS

A

A, C, F