Which of the log messages below matches the following Logstash grok filter?
grok {
match => ["message", "%{SYSLOGBASE} new node %{IPORHOST:node}" ]
}
A. Jun 30 00:36:49 headnode: new node 198.51.100.103 at clustermanager:12353
B. Jun 30 00:36:49 headnode clustermanager[12353]: new node 198.51.100.103
C. Jun 30 00:36:49 headnode clustermanager[198.51.100.103]: new node
D. %{SYSLOG-FROM:headnode clustermanager[12353]} new node 198.51.100.103
E. clustermanager[12353]: Jun 30 00:36:49 headnode new node 198.51.100.103
A recently installed application writes log data to /opt/app/log/info.log. If Filebeat is already installed and set up for communication with a remote Logstash, what has to be done in order to submit the log data of the new application to Logstash?
A. Add an additional input channel with the option source => "/opt/app/log/info.log" to the Logstash configuration.
B. Configure logrotate to execute filebeat –I /opt/app/log/info.log 0 after each rotation of /opt/app/log/info.log.
C. Add the log file to the path option within the log prospector in the Filebeat configuration and restart Filebeat.
D. Add a new cron job that invokes filebeat –i /opt/app/log/info.log periodically.
E. Replace /opt/app/log/info.log by a symbolic link to /dev/filebeat and restart the new application.
Which section of the Prometheus configuration defines which nodes are monitored?
A. scrape_config
B. targets
C. rules
D. listener
E. nodes
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.)
A. Files existing in /data/ in the image are not available in the running container.
B. Changes to files within /data/ affect the Docker image and all other containers derived from it.
C. Existing files from /data/ in the image are copied to the new volume.
D. An error is raised because /data/ already contains data when the volume is mounted.
E. A new volume is created and mounted to /data/ within the new container.
Consider the following Kubernetes Deployment:
With the ReplicaSet:
And the Pods:
What happens if one of the Pods is terminated with the command kubect1 pod delete?
A. The remaining Pods are stopped and the Deployment switches to the state Failed.
B. The number of replicas in the ReplicaSet is changed to 4.
C. The ReplicaSet immediately starts a new replacement Pod.
D. The remaining Pods are stopped and a new ReplicaSet is started.
E. The Deployment switches to the state Degraded.
Which docker subcommand starts a new container? (Specify only the subcommand without any path or parameters.)
A. run
The following command is issued on two docker nodes:
docker network create --driver bridge isolated_nw
Afterwards, one container is started at each node with the parameter --network=isolated_nw. It turns out that the containers can not interact with each other.
What must be done in order to allow the containers to interact with each other? (Choose two correct answers.)
A. Use a host network instead of a bridged network.
B. Add the option --inter-container to the docker network create command.
C. Start the containers on the same node.
D. Change the --network parameter of docker create to --network=isolated_nw,nofence.
E. Use an overlay network instead of a bridged network.
If a Dockerfile references the container's base image without a specific version tag, which tag of that image is used to create the container?
A. latest
B. default
C. current
D. nightly
E. lts
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.)
A. CMD
Given the following excerpt of a Dockerfile:
Run apt-get –y update andand apt-get install –y fortunes andand apt-get clean
Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?
A. To prevent the commands from running in parallel because Docker executes all RUN statements in their own container at the same time.
B. To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in any order.
C. To avoid the creation of unnecessary images because Docker creates a new image for each RUN statement.
D. To execute both commands in the same container instance and void Docker to reset the container to the original base image.
E. To execute the apt-get install command only if the apt-get update command was successful because Docker does not check the success of RUN statements.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Lpi exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 701-100 exam preparations and Lpi certification application, do not hesitate to visit our Vcedump.com to find your solutions here.