Given the following excerpt of a Dockerfile:
Run apt-get –y update & & apt-get install –y fortunes & & apt-get clean
Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?
Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement’s name without any values or parameters.)
Which sections can exist in a Logstash configuration file? (Choose three correct answers.)
Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)
Which of the log messages below matches the following Logstash grok filter?
grok {
match = > [“message”, “%{SYSLOGBASE} new node %{IPORHOST:node}” ]
}
Which of the following information is contained in the output of git status? (Choose three correct answers.)
What statement is true regarding the Swarm service created by the following command?
docker service create --name myweb --network webnet --mode global nginx
A Dockerfile contains the statements:
COPY data/ /data/
VOLUME /data
What happens when the resulting container is started without any additional volume configuration? (Choose two correct answers.)
Which of the statements below are true about the volume created by the following command? (Choose two correct answers.)
docker run –v /data –ti debian
Which Ansible command is used to manage and store sensitive data in encrypted files? (Specify ONLY the command without any path or parameters.)
Which of the following statements regarding microservices are true? (Choose three correct answers.)