Computer Science  >  QUESTIONS & ANSWERS  >  Docker Certified Associate (DCA) Prep Exam 2022 with complete solution (All)

Docker Certified Associate (DCA) Prep Exam 2022 with complete solution

Document Content and Description Below

Docker Certified Associate (DCA) Prep Exam 2022 with complete solution Command to create a new swarm -Answer- docker-machine ssh <MGR_IP> && docker swarm init --advertise-addr <MGR_IP> How to re ... trieve command to add swarm node -Answer- docker-machine ssh <MGR_IP> && docker swarm join-token worker What command lists swarm state & machines -Answer- docker-machine ssh <MGR_IP> && docker info && docker node ls How do you add a manager to swarm -Answer- docker-machine ssh <MGR_IP> && docker swarm join-token manager What can you expect when you execute docker run -Answer- The docker run command first creates a writable container layer over the specified image, and then starts it using the specified command. That is, docker run is equivalent to the API /containers/create then /containers/(id)/start What can you expect when you run multiple containers for a given image in docker swarm -Answer- When you deploy a service to the swarm, the swarm manager accepts your service definition as the desired state for the service. Then it schedules the service on nodes in the swarm as one or more replica tasks. The tasks run independently of each other on nodes in the swarm. How do you create 3 containers in swarm -Answer- docker-machine ssh <MGR_IP> && docker service create --replicas 3 --name frontend --network mynet -p 8080:80 --constraint engine.labels.com.example.storage==ssd frontend:latest How can you increase the number of containers in swarm -Answer- docker-machine ssh <MGR_IP> && docker service update --replicas 6 frontend docker-machine ssh <MGR_IP> && docker service scale frontend=6 backend=3 ##note: can do more than one service How do you protect a docker swarm environment (and secrets within, at-rest) using a TLS encryption key -Answer- docker swarm init --autolock docker swarm update --autolock=true How can you manage the docker swarm encryption key -Answer- docker swarm unlock docker swarm unlock-key docker swarm unlock-key --rotate [Show More]

Last updated: 3 years ago

Preview 1 out of 10 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Docker Certified Associate (DCA) Prep Exam 2022 with complete solution document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$7.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

110
0

Document information


Connected school, study & course


About the document


Uploaded On

Sep 07, 2022

Number of pages

10

Written in

All

Seller


Profile illustration for Professor Lynne
Professor Lynne

Member since 4 years

372 Documents Sold

Reviews Received
34
13
4
0
4
Additional information

This document has been written for:

Uploaded

Sep 07, 2022

Downloads

 0

Views

 110

Document Keyword Tags

More From Professor Lynne

View all Professor Lynne's documents »

$7.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·