Which of the following container names could have been assigned automatically by Docker?
A. docker-c00001
B. 2.0.17.172
C. container
D. c0023817
E. clever_ritchie
How is a Docker container image retrieved from a Docker registry?
A. Docker retrieves a ZIP archive which is extracted into the container's root file system.
B. Multiple stacked images are retrieved and layered on top of each other.
C. A flat hard disk image is downloaded once per container and mounted as the root file system.
D. The registry merger all components of the image into one file which is shipped to Docker.
E. The container is built from an ISO file along with a configuration for an unattended installation.
How does Prometheus gather information about monitored hosts and services?
A. It implements the ICMP and SNMP protocols to ping and query remote services.
B. It opens a webhook where monitored applications have to submit various metrics.
C. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
D. It queries a relational database for metrics written to the database by monitored applications.
E. It runs scripts on the Prometheus server which perform tests and return various metrics.
What must be the first line of a plain text user-data configuration containing YAML configuration for cloud-init?
A. cloud-config:
B. --- cloud-config
C. #!/usr/bin/cloud-init
D. [cloud-config]
E. #cloud-config
Which of the following tasks are achievable using docker-machine? (Choose THREE correct answers)
A. Start and stop Docker containers on remote Docker hosts.
B. Set environment variables to configure the docker command.
C. Install a new Docker host in a virtual machine.
D. Migrate running containers from one Docker host to another.
E. Open an interactive Shell on a remote Docker host using an SSH connection.
The file myapp.yml exists with the following content:
version: "3" services: frontend: image: frontend ports:
"80:80" backend: image: backend deploy: replicas: 2
Given that file was successfully processed by docker stack deploy myapp -compose--file myapp.yml, which of the following objects might be created? (Choose THREE correct answers)
A. An overlay network called myapp_default.
B. A node called myapp_frontend.
C. A container called myapp_backend.2.ymia7v7of5g02j3j3i1btt8z.
D. A volumen called myapp_frontend.1.
E. A service called myapp_frontend.
After setting up a data container using the following command:
docker create -v /data --name datastore debian /bin/true
How is an additional new container started which shares the /data volume with the datastore container?
A. docker run --volumes-from datastore --name service debian bash
B. doker run --share-with datastore --name service debian bash
C. docker run -v /data --name service debian bash
D. docker run -v datastore:/data -name service debian bash
E. docker run --volumen-backend datastore -v /data --name service debian bash
What the purpose of the packer inspect subcommand?
A. Show usage statistics of a Packer image.
B. Retrieve files from an existing Packer image.
C. Display an overview of the configuration contained in a Packer template.
D. List the artifacts created during the build process of a Packer image.
E. Execute commands within a running instance of a Packer image.
Which criteria can packet filtering firewalls use to permit or suppress traffic? (Choose TWO correct answers)
A. IP addresses
B. TCP and UDP ports
C. HTTP Cookies
D. Common Names in X.509 certificates.
E. Object IDs in REST URLs
Where should containerized applications store persistent data such as user uploaded files or billing information? (Choose TWO correct answers)
A. In files inside the container that are exclusively locked by the application.
B. In memory with an API to download a serialized dump of the data.
C. In external systems such as databases or object stores.
D. In dedicated, well known directory tres within the container.
E. In database server which is installed within the container.