Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

DCA Exam Questions - Installation and Configuration

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
03-09-2023
Written in
2023/2024

You can configure the daemon so that containers remain running if the daemon becomes unavailable. - Answer- True. By default, when the Docker daemon terminates, it shuts down running containers. Starting with Docker Engine 1.12, you can configure the daemon so that containers remain running if the daemon becomes unavailable. This functionality is called live restore. The live restore option helps reduce container downtime due to daemon crashes, planned outages, or upgrades. Which is the default logging driver of Docker for Linux distributions? - Answer- The default logging driver is json-file. Which is the recommended way to installed Docker Engine on a production server? - Answer- You can install Docker Engine in different ways, depending on your needs: • Most users set up Docker's repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach. Which command can you use to interactively monitor all container activity in the Docker engine? - Answer- Use docker system events to get real-time events from the server. These events differ per Docker object type such as containers, images, plugins, volumes and daemons. Which of the following is not an endpoint exposed by Docker Trusted Registry (DTR) that can be used to assess the health of a Docker Trusted Registry replica? - Answer- /replica_status DTR endpoints - Answer- /health /api/v0/meta/cluster_status /nginx_status Which is the recommended way to configure the daemon flags and environment variables for your Docker daemon in a platform-independent way? - Answer- Set the configuration options in '/etc/docker/' Which modes does Docker provide for delivering messages from the container to the log driver? (select two) - Answer- - blocking - nonblocking Which of the following commands will set the Docker engine into debug mode? - Answer- echo '{"debug": true}' **/etc/docker**/ ; sudo kill -HUP How can you configure the default logging driver for containers? - Answer- Set the log-driver option in the file A host machine has 4 CPUs available and 2 running containers. The sysadmin would lik

Show more Read less
Institution
Course

Content preview

DCA EXAM QUESTIONS - INSTALLATION AND
CONFIGURATION

You can configure the daemon so that containers remain running if the daemon
becomes unavailable. - Answer- True. By default, when the Docker daemon terminates,
it shuts down running containers. Starting with Docker Engine 1.12, you can configure
the daemon so that containers remain running if the daemon becomes unavailable. This
functionality is called live restore. The live restore option helps reduce container
downtime due to daemon crashes, planned outages, or upgrades.

Which is the default logging driver of Docker for Linux distributions? - Answer- The
default logging driver is json-file.

Which is the recommended way to installed Docker Engine on a production server? -
Answer- You can install Docker Engine in different ways, depending on your needs:
· Most users set up Docker's repositories and install from them, for ease of installation
and upgrade tasks. This is the recommended approach.

Which command can you use to interactively monitor all container activity in the Docker
engine? - Answer- Use docker system events to get real-time events from the server.
These events differ per Docker object type such as containers, images, plugins,
volumes and daemons.

Which of the following is not an endpoint exposed by Docker Trusted Registry (DTR)
that can be used to assess the health of a Docker Trusted Registry replica? - Answer-
/replica_status

DTR endpoints - Answer- /health
/api/v0/meta/cluster_status
/nginx_status

Which is the recommended way to configure the daemon flags and environment
variables for your Docker daemon in a platform-independent way? - Answer- Set the
configuration options in '/etc/docker/daemon.json'

Which modes does Docker provide for delivering messages from the container to the
log driver? (select two) - Answer- - blocking
- nonblocking

Which of the following commands will set the Docker engine into debug mode? -
Answer- echo '{"debug": true}' > **/etc/docker**/daemon.json ; sudo kill -HUP

How can you configure the default logging driver for containers? - Answer- Set the log-
driver option in the deamon.json file

Written for

Course

Document information

Uploaded on
September 3, 2023
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Greaterheights Birkbeck, University of London
Follow You need to be logged in order to follow users or courses
Sold
1150
Member since
4 year
Number of followers
881
Documents
19985
Last sold
3 days ago

4.0

221 reviews

5
121
4
43
3
24
2
11
1
22

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions