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

DCA Questions and Answers

Question # 6

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 # 7

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 events deployment api

A.

Yes

B.

No

Full Access
Question # 8

Is this statement correct?

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

A.

Yes

B.

No

Full Access
Question # 9

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. Three failed health checks transition the container into “unhealthy” status.

A.

Yes

B.

No

Full Access
Question # 10

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 # 11

In Kubernetes, to mount external storage to a filesystem path in a container within a pod, you would use a volume in the pod specification. This volume is populated with a persistentVolumeClaim that is bound to an existing persistentVolume. The persistentVolume is defined and managed by the storageClass which provides dynamic or static provisioning of the volume and determines what type of storage will be provided1. References:

•Dynamic Volume Provisioning | Kubernetes

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

Solution: Docker ID

A.

Yes

B.

No

Full Access
Question # 12

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

Solution: Delete the image and delete the image repository from Docker Trusted Registry

A.

Yes

B.

No

Full Access
Question # 13

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: Add them to a team in the engineering organization that has read/write access to the engineering/api repository.

A.

Yes

B.

No

Full Access
Question # 14

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

Solution: an odd number of manager nodes, totaling more than two

A.

Yes

B.

No

Full Access
Question # 15

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.

A.

Yes

B.

No

Full Access
Question # 16

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. Set the log-driver-and log-opt keys to values for the logging solution (Splunk) in the daemon.json file.

A.

Yes

B.

No

Full Access
Question # 17

The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this traffic?

Solution: a request issued from a pod lacking the tier: api label, to a pod bearing the tier: backend label

A.

Yes

B.

No

Full Access
Question # 18

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Turn the configuration file into a configMap object and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.

A.

Yes

B.

No

Full Access
Question # 19

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 # 20

Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution: Manually download the 'docker-ee' package

A.

Yes

B.

No

Full Access
Question # 21

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

Does this action accomplish this?

Solution. Use either EXPOSE or -publish to access the container on the bridge network.

A.

Yes

B.

No

Full Access
Question # 22

Is this a function of UCP?

Solution: enforces the deployment of signed images to the cluster

A.

Yes

B.

No

Full Access
Question # 23

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: isolation between resources used by containers

A.

Yes

B.

No

Full Access
Question # 24

The Kubernetes yaml shown below describes a clusterIP service.

Is this a correct statement about how this service routes requests?

Solution: Traffic sent to the IP of this service on port 8080 will be routed to port 80 in a random pod with the label aPP: nginx.

A.

Yes

B.

No

Full Access
Question # 25

Is this a function of UCP?

Solution: image role-based access control

A.

Yes

B.

No

Full Access
Question # 26

You want to mount external storage to a particular filesystem path in a

container in a Kubernetes pod.

What is the correct set of objects to use for this?

A.

a persistentVolume in the pod specification, populated with a persistentVolumeClaim which is bound to a volume defined by a storageClass

B.

a storageClass in the pod's specification, populated with a volume which is bound to a provisioner defined by a persistentVolume

C.

a volume in the pod specification, populated with a storageClass which is bound to a provisioner defined by a persistentVolume

D.

a volume in the pod specification, populated with a persistentVolumeClaim bound to a persistentVolume defined by a storageClass

Full Access
Question # 27

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 # 28

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 # 29

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

Solution: Storage

A.

Yes

B.

No

Full Access
Question # 30

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 # 31

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.

Is this a way to accomplish this?

Solution. Create a collection for for each application.

A.

Yes

B.

No

Full Access
Question # 32

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 get deployment api

A.

Yes

B.

No

Full Access
Question # 33

Is this an advantage of multi-stage builds?

Solution: better caching when building Docker images

A.

Yes

B.

No

Full Access
Question # 34

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.

Is this a way to accomplish this?

Solution: Create one namespace for each application and add all the resources to it.

A.

Yes

B.

No

Full Access
Question # 35

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: accounting and limiting of resources

A.

Yes

B.

No

Full Access
Question # 36

During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.

Will this strategy successfully accomplish this?

Solution. Set containers. Mounts. hostBinding: /data in the container's specification.

A.

Yes

B.

No

Full Access
Question # 37

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 # 38

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 describe deployment api

A.

Yes

B.

No

Full Access
Question # 39

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: Use the DTR web Ul to make all tags in the repository immutable.

A.

Yes

B.

No

Full Access
Question # 40

Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.

A.

Yes

B.

No

Full Access
Question # 41

Does this command display all the pods in the cluster that are labeled as 'env: development'?

Solution: 'kubectl get pods --all-namespaces -label env=development'

A.

Yes

B.

No

Full Access
Question # 42

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 # 43

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 # 44

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

Solution. ‘docker run -v /data:/mydata -mode readonly ubuntu'

A.

Yes

B.

No

Full Access
Question # 45

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

Solution: docker volume inspect nginx'

A.

Yes

B.

No

Full Access
Question # 46

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

Solution. SAML

A.

Yes

B.

No

Full Access
Question # 47

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

Solution. Delete the image and delete the image repository from Docker Trusted Registry.

A.

Yes

B.

No

Full Access
Question # 48

Is this a function of UCP?

Solution: scans images to detect any security vulnerability

A.

Yes

B.

No

Full Access
Question # 49

Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution. Run docker engine activate.

A.

Yes

B.

No

Full Access
Question # 50

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.

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 images that contain the specific configuration for every environment.

A.

Yes

B.

No

Full Access
Question # 52

Is this the purpose of Docker Content Trust?

Solution. Sign and verify image tags.

A.

Yes

B.

No

Full Access
Question # 53

Does this command display all the pods in the cluster that are labeled as env; development'?

Solution. ‘kubectl gel pods --all-namespaces -I 'env in (development)''

A.

Yes

B.

No

Full Access
Question # 54

The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this traffic?

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

A.

Yes

B.

No

Full Access