1. Home
  2. Docker
  3. Docker Certified Associate
  4. DCA Exam Info

Docker DCA Exam Questions - Navigate Your Path to Success

The Docker Certified Associate Exam (DCA) exam is a good choice for Enterprise Practitioners Foundation Certification and if the candidate manages to pass Docker Certified Associate Exam, he/she will earn Docker Certified Associate Certification. Below are some essential facts for Docker DCA exam candidates:

  • TrendyCerts offers 183 Questions that are based on actual Docker DCA syllabus.
  • Our Docker DCA Exam Practice Questions were last updated on: Mar 01, 2025

Sample Questions for Docker DCA Exam Preparation

Question 1

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'

Correct : B

The command 'docker ps http' is not the correct command to view the list of historical tasks for a service in Docker1. The 'docker ps' command is used to list containers1. If you want to view the list of historical tasks for a service, you should use the 'docker service ps' command2. This command lists the tasks that are running as part of the specified services and also shows the task history2. Therefore, to view the list of historical tasks for the 'http' service, you should use the command 'docker service ps http'2.


Options Selected by Other Users:
Question 2

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: Remove push access from all other users.

Correct : B

While removing push access from all other users can prevent an image from being overwritten, it's not the only way and might not be the most efficient or practical solution, especially in a collaborative environment. Docker Trusted Registry (DTR) provides a feature called 'Immutable Tags' which can be used to prevent an image, such as 'nginx:latest', from being overwritten. Once a tag is marked as immutable, DTR will prevent any user from pushing the same tag to the repository, thus preserving the image. This allows for better version control and prevents accidental overwrites. Therefore, the solution to prevent an image from being overwritten is not just to remove push access from all other users, but to use the features provided by DTR like 'Immutable Tags'.


Options Selected by Other Users:
Docker DCA