Exclusive Black Friday Deal: 70% Off All Exam Bundles! Use coupon code below to unlock your savings! - Ends in 0d 00h 00m 00s - Coupon code: Friday70

Free Docker Certified Associate (DCA) Exam Practice Questions

Question # 21

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.

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 22

The Kubernetes yaml shown below describes a networkPolicy.

Question # 22

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

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 23

The Kubernetes yaml shown below describes a clusterIP service.

Question # 23

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

Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to port 80 in that pod.

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 24

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

Solution. ‘docker container inspect", docker port'

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 25

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

Solution: 'kubectl get pods -I env=development'

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 26

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.

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 27

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 service inspect http'

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 28

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

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 29

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 ps http'

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 30

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.

Options:

A.  

Yes

B.  

No

Discussion 0

DCA PDF

DCA PDF (Printable)
$46.5
$154.99

DCA Testing Engine

DCA PDF (Printable)
$51
$169.99

DCA PDF + Testing Engine

DCA PDF (Printable)
$63.9
$212.99

Free Exams Sample Questions