Free DCA Exam Braindumps
Docker Certified Associate Questions 86–90 (page: 19)

Updated On: 10-Feb-2026

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

  1. Yes
  2. No

Answer(s): A

Explanation:

= The command `docker service ps http' will list the tasks that are running as part of the `http' service, as well as the task history. The task history shows the previous states of the tasks, such as running, shutdown, rejected, etc. This can help you troubleshoot why the service is not registering as healthy, by looking at the current state, error, and ports of each task.


Reference:

docker service ps | Docker Docs

Docker Certified Associate Guide

DCA Prep Guide



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

Solution: Delete '/var/lib/docker' directory.

  1. Yes
  2. No

Answer(s): B

Explanation:

Deleting the /var/lib/docker directory will not upgrade Docker Engine CE to Docker Engine EE. It will only remove all the data stored by Docker, such as images, containers, volumes, and networks. This can cause data loss and disrupt the running services. To upgrade from Docker Engine CE to Docker Engine EE, you need to follow the official instructions from Docker, which involve uninstalling the CE package and installing the EE package. You also need to have a valid license to use Docker Engine EE.


Reference:

Upgrading Docker CE to EE for the Impatient -- Part I

Install Docker Engine

Moving from docker ce to docker-EE - Stack Overflow



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

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

  1. Yes
  2. No

Answer(s): B

Explanation:

= Uninstalling the `docker-ce' package before installing the `docker-ee' package will not upgrade Docker Engine CE to Docker Engine EE. It will only remove the existing Docker Engine CE installation and install a new Docker Engine EE installation. This means that any existing containers, images, volumes, networks, and other Docker resources will be lost. To upgrade Docker Engine CE to Docker Engine EE without losing any data, you need to use the migration tool provided by Docker1 or follow the steps described in the Docker documentation2 or other online guides.


Reference:

1: Migrate to Engine 1.10 | Docker Docs

2: Install Docker Engine | Docker Docs

3: Switching Docker 18.09 Community Edition to Enterprise Engine with no ...

4: How to upgrade Docker 18.09 Community Edition to Docker Enterprise 18.09



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

Solution: Manually download the 'docker-ee' package

  1. Yes
  2. No

Answer(s): B

Explanation:

= Manually downloading the `docker-ee' package will not upgrade Docker Engine CE to Docker Engine EE. Docker Engine CE and Docker Engine EE are two different products with different installation methods and features. Docker Engine CE is a free and open source containerization platform, while Docker Engine EE is a subscription-based enterprise-grade platform that offers additional features such as security scanning, certified plugins, and support. To upgrade from

Docker Engine CE to Docker Engine EE, you need to uninstall Docker Engine CE and install Docker Engine EE following the official documentation.


Reference:

What is the exact difference between Docker EE (Enterprise Edition), Docker CE (Community Edition) and Docker (Custom Support) - Stack Overflow

Difference between Docker Community Edition (CE) vs Docker Enterprise Edition (EE) in 2020

Install Docker Engine | Docker Docs



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.

  1. Yes
  2. No

Answer(s): A

Explanation:

The statement is correct. In the provided Kubernetes YAML, it's defined that 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. This is because it's a ClusterIP service type which is meant for internal communication within the cluster, and it uses selectors to route traffic to the correct pods.


Reference:

Docker Certified Associate Guide, DCA Prep Guide



Viewing page 19 of 38
Viewing questions 91 - 95 out of 191 questions


Post your Comments and Discuss Docker DCA exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!