Chapter 12 - Managing Containers - Do I know this Already? Flashcards
What does the -it switch do with the docker run command?
a. It exports the container.
b. It runs the container with resource management settings.
c. It runs the container in the context of an IT administrator.
d. It allocates a pseudo TTY connected to the container.
d. It allocates a pseudo TTY connected to the container.
What PowerShell command deletes a container?
a. Delete-Container
b. Remove-Container
c. Erase-Container
d. Scrub-Container
b. Remove-Container
Which of the following is not an option for a container network driver?
a. NAT
b. L2 Tunnel
c. Transparent
d. L2 NAT
d. L2 NAT
What does the following PowerShell cmdlet accomplish?
Get-VMNetworkAdapter - VMName ContainerHostVM | Set-VMNetworkAdapter - MacAddressSpoofing On
a. It permits DHCP IP address assignment by enabling MAC address spoofing.
b. It permits firewalling by enabling MAC address spoofing.
c. It permits NAT by enabling MAC address spoofing.
d. It permits virtual networking by enabling MAC address spoofing.
a. It permits DHCP IP address assignment by enabling MAC address spoofing.
You delete a container that is using a volume on the container host. Which statement is true?
a. You cannot delete the container if it has a linked volume.
b. The volume is also deleted if it is empty.
c. The volume is not deleted.
d. The volume is always deleted.
c. The volume is not deleted.
Which resource control switch specifies the nodes on a NUMA host that a container can use?
a. -cpu-shares
b. -cpuset-mems
c. -cpuset-cpus
d. -c
b. -cpuset-mems
What is the Docker Daemon?
The actual running Docker engine on a container host.
What is the Windows Container Stack?
Networking components that permit container network access.
What is Dockerfile?
Instructions and statements for each instruction that create a Docker image.
What is DockerHub?
A public repository for storing and sharing Docker images.
What is Azure Container Services (ACS)?
Clustered virtual machines for running container- based applications
What Docker daemon command permits you to see a list of all the running containers on a host?
docker ps -a
What type of container networking configuration permits the container endpoint to connect directly to the physical network and permits static or dynamic IP address assignment?
Transparent
What memory parameter used with docker run permits you to specify the memory a container can use?
-m
What four networking options are available for Managing Containers?
- Network Address Translation
- Transparent
- L2 Bridge
- L2 Tunnel