Docker DCA Practice Test - Questions Answers, Page 16

List of questions
Question 151

An application image runs in multiple environments, with each environment using different certificates and ports.
Is this a way to provision configuration to containers at runtime?
Solution: Create images that contain the specific configuration for every environment.
Question 152

Is this statement correct?
Solution: A Dockerfile stores the Docker daemon's configuration options.
Question 153

Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 4-2-1
Question 154

Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: isolation between resources used by containers
Question 155

Your organization has a centralized logging solution, such as Splunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution. docker run -- log driver=splunk for every container at run time
Question 156

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution. Delete the image and remove permissions to the repository in the Docker
Trusted Registry.
Question 157

In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository?
Solution: Keep a backup copy of the image on another repository.
Question 158

In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository?
Solution: Tag the image with 'nginx:immutable'.
Question 159

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution: Set IGNORE_TLS in the 'daemon.json' configuration file.
Question 160

You are pulling images from a Docker Trusted Registry installation configured to use self-signed certificates, and this error appears:
'x509: certificate signed by unknown authority.
You already downloaded the Docker Trusted Registry certificate authority certificate from https://dtr.example.com/ca.
How do you trust it? (Select two.)
Question