nerdexam
DockerDocker

DCA · Question #40

DCA Question #40: Real Exam Question with Answer & Explanation

Sign in or unlock DCA to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.

Submitted by kavita_s· Apr 18, 2026Security

Question

A service 'wordpress' is running using a password string to connect to a non-Dockerized database service. The password string is passed into the 'wordpress' service as a Docker secret. Per security policy, the password on the database was changed. Identity the correct sequence of steps to rotate the secret from the old password to the new password.

Options

  • ACreate a new docker secret with the new password.
  • BTrigger an update to the service by using 'docker service update --secret=<new password>'
  • CCreate a new docker secret with the new password.
  • DCreate a new docker secret with a new password.

Unlock DCA to see the answer

You've previewed enough free DCA questions. Unlock DCA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Docker Secrets#Secret Rotation#Service Management#Security Policy
Full DCA PracticeBrowse All DCA Questions