Month End Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

DCA Questions and Answers

Question # 6

How do you change the default logging driver for the docker daemon in Linux?

A.

Install a logging agent on the Linux host.

B.

Set the value of 'log-driver' to the name of the logging driver in the daemon.json in /etc/docker.

C.

Use the -log-driver1 flag when you run a container.

D.

At the command line, type: docker log driver set

Full Access
Question # 7

In the context of a swarm mode cluster, does this describe a node?

Solution: an instance of the Docker engine participating in the swarm

A.

Yes

B.

No

Full Access
Question # 8

Will this command list all nodes in a swarm cluster from the command line?

Solution: ‘docker Is -a’

A.

Yes

B.

No

Full Access
Question # 9

Will this command display a list of volumes for a specific container?

Solution. ‘docker container inspect nginx’

A.

Yes

B.

No

Full Access
Question # 10

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?

Solution: seccomp

A.

Yes

B.

No

Full Access
Question # 11

Is this a type of Linux kernel namespace that provides container isolation?

Solution.Process ID

A.

Yes

B.

No

Full Access
Question # 12

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution: user

A.

Yes

B.

No

Full Access
Question # 13

The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this trafftc?

Solution. a request issued from a pod bearing the tier: backend label, to a podbearing the tier: frontend label

A.

Yes

B.

No

Full Access
Question # 14

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution. ‘docker service create -name dns-cache -p 53:53 -constraint networking.protocol.udp=true dns-cache"

A.

Yes

B.

No

Full Access
Question # 15

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?

Solution: List insecure registries in the 'daemon.json configuration file under the \insecure-registries' key.

A.

Yes

B.

No

Full Access
Question # 16

The following Docker Compose file is deployed as a stack:

Is this statement correct about this health check definition?

Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

A.

Yes

B.

No

Full Access
Question # 17

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?

Solution: 'docker run --volume /data:/mydata:ro ubuntu'

A.

Yes

B.

No

Full Access
Question # 18

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.

A.

Yes

B.

No

Full Access
Question # 19

You created a new service named 'http* and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?

Solution. ‘docker inspect http"

A.

Yes

B.

No

Full Access
Question # 20

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.

A.

Yes

B.

No

Full Access
Question # 21

Which statement is correct about cluster management in Docker Enterprise Edition 3.x?

A.

Clusters can contain Linux only.

B.

Clusters can contain Linux, Windows Server 2016 and 2019, and Linux on IBM z Systems.

C.

Clusters can contain Windows 10 and Windows Server 2016 only.

D.

Clusters can contain Linux and Windows Server 2008 R2 only.

Full Access
Question # 22

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?

Solution: Delete the image and run garbage collection on the Docker Trusted Registry.

A.

Yes

B.

No

Full Access
Question # 23

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution. ‘docker service create -name dns-cache -p 53:53 -udp dns-cache’

A.

Yes

B.

No

Full Access
Question # 24

Is this statement correct?

Solution.A Dockerfile stores persistent data between deployments of a container

A.

Yes

B.

No

Full Access
Question # 25

Is this a supported user authentication method for Universal Control Plane?

Solution.x.500

A.

Yes

B.

No

Full Access
Question # 26

Will this command display a list of volumes for a specific container?

Solution: docker volume logs nginx --containers'

A.

Yes

B.

No

Full Access
Question # 27

Can this set of commands identify the published port(s) for a container?

Solution. ‘docker port inspect", docker container inspect"

A.

Yes

B.

No

Full Access
Question # 28

You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses.

What effect does this have on images in this repository?

A.

Matching images are untagged during the next prune job.

B.

Matching images are deleted during the next prune job.

C.

Matching images are untagged once they are older than the pruning threshold set in the repository's Settings tab.

D.

Matching images are untagged during the next prune job, and subsequently deleted once they are older than the pruning threshold set in the repository's Settings tab.

Full Access
Question # 29

In the context of a swarm mode cluster, does this describe a node?

Solution: a physical machine participating in the swarm

A.

Yes

B.

No

Full Access
Question # 30

You configure a local Docker engine to enforce content trust by setting the environment variable

DOCKER_CONTENT_TRUST=1.

If myorg/myimage: 1.0 is unsigned, does Docker block this command?

Solution: docker image inspect myorg/myimage: 1.0

A.

Yes

B.

No

Full Access
Question # 31

You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?

Solution: kubectl logs deployment api

A.

Yes

B.

No

Full Access
Question # 32

You want to create a container that is reachable from its host's network. Does this action accomplish this?

Solution:Use network attach to access the containers on the bridge network

A.

Yes

B.

No

Full Access
Question # 33

You are running only Kubernetes workloads on a worker node that requires

maintenance, such as installing patches or an OS upgrade.

Which command must be run on the node to gracefully terminate all pods on

the node, while marking the node as unschedulable?

A.

`docker swarm leave'

B.

`docker node update -availability drain

C.

`kubectl drain '

D.

`kubectl cordon

Full Access
Question # 34

You want to create a container that is reachable from its host's network.

Does this action accomplish this?

Solution: Use network attach to access the container on the bridge network.

A.

Yes

B.

No

Full Access
Question # 35

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 a Dockerfile for each environment, specifying ports and ENV variables for certificates.

A.

Yes

B.

No

Full Access
Question # 36

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?

Solution: Pass the '--insecure-registry' flag to the daemon at run time.

A.

Yes

B.

No

Full Access
Question # 37

Will a DTR security scan detect this?

Solution: known vulnerabilities or exposures in binaries

A.

Yes

B.

No

Full Access
Question # 38

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution: 'docker service create --name dns-cache -p 53:53/udp dns-cache'

A.

Yes

B.

No

Full Access
Question # 39

One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?

Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.

A.

Yes

B.

No

Full Access
Question # 40

You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?

Solution:'docker inspect http'

A.

Yes

B.

No

Full Access
Question # 41

Will this command display a list of volumes for a specific container?

Solution. ‘docker container logs nginx –volumes’

A.

Yes

B.

No

Full Access
Question # 42

Will a DTR security scan detect this?

Solution.image configuration poor practices, such as exposed ports or inclusion of compilers in production images

A.

Yes

B.

No

Full Access
Question # 43

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 logs

A.

Yes

B.

No

Full Access
Question # 44

A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster. Can this be used to schedule containers to meet the security policy requirements?

Solution.environment variables

A.

Yes

B.

No

Full Access
Question # 45

You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_C0NTENT_TRUST=l. If myorg/myimage: 1.0 is unsigned, does Docker block this command?

Solution.docker image build, from a Dockeflle that begins FROM myorg/myimage: l1.0

A.

Yes

B.

No

Full Access
Question # 46

Is this a supported user authentication method for Universal Control Plane?

Solution: PAM

A.

Yes

B.

No

Full Access
Question # 47

Will this configuration achieve fault tolerance for managers in a swarm?

Solution: only two managers, one active and one passive.

A.

Yes

B.

No

Full Access
Question # 48

A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?

Solution: Linux capabilities

A.

Yes

B.

No

Full Access
Question # 49

You add a new user to the engineering organization in DTR.

Will this action grant them read/write access to the engineering/api repository?

Solution. Mirror the engineering/api repository to one of the user's own private repositories.

A.

Yes

B.

No

Full Access
Question # 50

Is this a function of UCP?

Solution: scans images to detect any security vulnerability

A.

Yes

B.

No

Full Access
Question # 51

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 a Dockerfile for each environment, specifying ports and Docker secrets for certificates.

A.

Yes

B.

No

Full Access
Question # 52

Is this a function of UCP?

Solution: image role-based access control

A.

Yes

B.

No

Full Access
Question # 53

The following Docker Compose file is deployed as a stack:

Is this statement correct about this health check definition?

Solution: Health checks test for app health five seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

A.

Yes

B.

No

Full Access
Question # 54

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution: ‘docker service create -name dns-cache -p 53:53 -service udp dns-cache'

A.

Yes

B.

No

Full Access
Question # 55

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution: net

A.

Yes

B.

No

Full Access
Question # 56

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?

Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'

A.

Yes

B.

No

Full Access
Question # 57

Is this a type of Linux kernel namespace that provides container isolation?

Solution.Host

A.

Yes

B.

No

Full Access