Chapter 11 - Deploying Containers - Do I know this Already? Flashcards

1
Q

What types of containers can you create in Windows Server 2016? Choose two.

a. Windows Server
b. Linux
c. Legacy Windows
d. Hyper-V

A

a. Windows Server

d. Hyper-V

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

What layer captures all actions after a container has started?

a. Sandbox
b. Service abstraction
c. API layer
d. VM machine layer

A

a. Sandbox

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

Docker is a requirement for working with which type of container in Windows Server 2016?

a. Windows Server
b. Hyper-V
c. Legacy Windows
d. Linux

A

a. Windows Server

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

What file includes startup parameter information for Docker?

a. init.ini
b. config.ini
c. daemon.json
d. start.ini

A

c. daemon.json

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

What do you install before working with containers?

a. Base image
b. Defender
c. Server Core
d. Nano Server

A

a. Base image

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

What command installs the Nano Server base image?

a. get-nanoserver
b. get-docker-install nanoserver
c. docker pull microsoft/nanoserver
d. docker install nanoserver

A

c. docker pull microsoft/nanoserver

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

What do you use to manage the Nano Server if it is your container host?

a. PowerShell
b. Computer management
c. Command prompt
d. bash

A

a. PowerShell

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

What command deploys a container?

a. deploy container
b. install image
c. docker run
d. docker container install

A

c. docker run

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

What is a Windows Server Container?

A

A container that achieves isolation through namespace and process isolation.

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

What is a Hyper-V Container?

A

A container that runs in a special lightweight VM

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

What is Docker?

A

A well-known application for maintaining containers.

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

Nano Server is ideal for hosting what type of containers?

A

Hyper-V containers and Windows Server containers

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

How many virtual processors does a container host need?

A

At least two

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

What container types can Windows Server 2016 Core host?

A

Server Core/Nano Server

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

What are two options for managing Docker startup parameters?

A

sc config and a configuration file

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

What is a Container Host?

A

A container host is a physical or virtual computer system configured with the Windows Container feature, it runs one or more Windows Containers

17
Q

What is a Container image?

A

The container image shows the state of the virtual container, including such things as registry or file system changes; you can discard a container image or use it as a base image for new containers

18
Q

What is a Sandbox?

A

After a container has started, all write actions such as file system modifications, registry modifications, or software installations are captured in the sandbox layer.

19
Q

What is a Container OS image?

A

The container OS image is the first layer of potentially many image layers that make up a container; this image provides the operating system environment and cannot be modified

20
Q

What is the Container Repository?

A

Each time you create a container image, the container image and its dependencies are stored in a local repository

21
Q

What is Container Management Technology?

A

You can manage Windows Containers by using Windows Powershell and Docker

22
Q

What are Containers for IT professionals?

A

IT professionals can use containers to provide standardized environments for their development, QA , and production teams

23
Q

What are containers for developers?

A

When you containerize an app, only the app and the components needed to run it are combined into an image; you can use containers to start up lightweight and portable app components-or micro services- for distributed apps and quickly scale each service separately

24
Q

What format are the Windows Server and Hyper-V containers found in Windows Server 2016 with Desktop and Core?

A

The format of these OS type containers is Server Core/Nano Server

25
Q

What format are the Windows Server and Hyper-V containers found in Nano Server?

A

Windows Server containers are nano server format and Hyper-V containers are Server Core/Nano Server format

26
Q

What format are the Windows Server and Hyper-V containers found in Windows 10 Pro/Enterprise ?

A

The Windows Server containers are not available and the Hyoer-V containers are Server Core/Nano Server format

27
Q

What are the two main types of containers found in Windows Server 2016?

A

Windows Server containers and Hyper-V containers are the two main types of these

28
Q

How do Windows Server containers work?

A

A Windows Server container shares a kernel with the container host and all containers running on the host. Windows Server containers isolate applications on the same container host. Each container has its own view of the host system, including the kernel, processes, file systems, the registry, and other components. They work between the user mode level and the kernel mode level

29
Q

How do Hyper-V containers work?

A

These containers expand on the isolation given by Windows Server containers by running each container in a highly optimized virtual machine. In this configuration, the kernel of the container host is not shared with the Hyper-V containers. Hyper-V containers are based on a container technology that is rooted in hardware-assisted virtualization. With hardware-assisted virtualization, Hyper-V containers’ applications are provided a highly isolated environment in which to operate, and the host operating system cannot be affected in any way by any running container.

30
Q

What are the installation requirements for Windows Containers?

A

The Windows container feature is only available on Windows Server 2016 (Core and with Desktop Experience), Nano Server, and Windows 10 Professional and Enterprise (Anniversary Edition or later).

  • The Hyper-V role must be installed.
  • Windows Server container hosts must have Windows installed to c:, although this restriction does not apply if only Hyper-V containers are deployed.
31
Q

What are the installation requirements of Windows containers if run from a Hyper-V virtual machine?

A
  • Nested Virtualization must be enabled
  • At least 4 GB RAM must be available for the virtualized Hyper-V host.
  • Windows Server 2016 or Windows 10 must be running on the host system, and Windows Server (Full, Core) or Nano Server must be running on the virtual machine.
  • The processor must have Intel VT-x. (Containers are currently available only for Intel processors.)
  • The container host VM needs at least two virtual processors
32
Q

How do you install Docker on Windows Server?

A

Step 1. Launch an elevated PowerShell session by right-clicking the PowerShell shortcut and choosing Run as Administrator.

Step 2. Install the OneGet PowerShell module by using the following syntax and, if prompted to install the NuGet provider, respond with Y:
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force

Step 3. Use OneGet to install the latest version of Docker, using the following syntax and, if prompted that the source is not trusted, respond with Y:
Install-Package -Name docker -ProviderName DockerMsftProvider

Step 4. Following successful installation, reboot your system using the following syntax:
Restart-Computer -Force