What is used by the kernel to Isolate resources when running Docker containers?
A.
Namespaces
B.
Overlay networks
C.
Volumes
D.
Control groups (also know as cgroups)
Control groups (also know as cgroups)
Which flag for a service would allow a container to consume more than 2 GB of memory only when there is
no memory contention but would also prevent a container from consuming more than 4GB of memory, in any case?
A.
--limit-memory 2GB --reserve-memory 4GB
B.
--limit-memory 4GB --reserve-memory 2GB
C.
--memory-swap 2GB --limit-memory 4GB
D.
--memory-swap 4GB --limit-memory 2GB
--memory-swap 2GB --limit-memory 4GB
Which of the following commands wifi automatically create a volume when a container is started?
A.
'docker container run --name nginxtest --volumes=/app nginx'
B.
'docker container run --name nginxtest -v /app:mount nginx'
C.
'docker container run --name nginxtest --volumes myvol:/app:new nginx
D.
docker container run --name nginxtest -v myvol:/app nginx'
'docker container run --name nginxtest --volumes=/app nginx'
What is the recommended way to configure the daemon flags and environment variables for your Docker
daemon in a platform independent way?
A.
Set the configuration options using the ENV variable
B.
Set the configuration options in '/etc/docker/daemon.json'
C.
Set the configuration DOCKER_OPTS in '/etc/default/docker'
D.
Using 'docker config' to set the configuration options.
Set the configuration options in '/etc/docker/daemon.json'
Which of the following are types of namespaces used by Docker to provide isolation? (Choose 2.)
A.
Host
B.
Network
C.
Process ID
D.
Authentication
E.
Storage
Network
Process ID
Page 4 out of 34 Pages |
Previous |