exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 177 discussion

Actual exam question from Cisco's 350-901
Question #: 177
Topic #: 1
[All 350-901 Questions]


Refer to the exhibit. The cisco_devnet Docker swarm service runs across five replicas. The development team tags and imports a new image named devnet/ test:1.1 and requests that the image be upgraded on each container. There must be no service outages during the upgrade process. Which two design approaches must be used? (Choose two.)

  • A. Enable parallel upgrades by using the docker service update command.
  • B. Ensure that the service is hosted behind a VIP with no session persistence.
  • C. Ensure that the service replicas are set to a minimum of 5.
  • D. Update the restart policy of the containers to restart upon failure.
  • E. Implement rolling upgrades by using the docker service update command.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Teringzooi
7 months, 3 weeks ago
Selected Answer: BE
correct answer: B&E VIP will direct the requests to the up-and-running containers while rolling upgrades will perform one upgrade at a time: Stop the first task. Schedule update for the stopped task. Start the container for the updated task. If the update to a task returns RUNNING, wait for the specified delay period then start the next task. https://docs.docker.com/engine/swarm/swarm-tutorial/rolling-update/
upvoted 1 times
...
designated
8 months, 2 weeks ago
Selected Answer: BE
B and E are correct VIP will direct the requests to the up-and-running containers while rolling upgrades will perform one upgrade at a time: Stop the first task. Schedule update for the stopped task. Start the container for the updated task. If the update to a task returns RUNNING, wait for the specified delay period then start the next task. If, at any time during the update, a task returns FAILED, pause the update. https://docs.docker.com/engine/swarm/swarm-tutorial/rolling-update/
upvoted 2 times
...
QuiShong
11 months, 1 week ago
Selected Answer: BE
I think BE is correct.
upvoted 1 times
...
captn_crench
11 months, 1 week ago
Selected Answer: BE
service needs something in front of containers to direct to available running ones
upvoted 2 times
...
ferock
1 year ago
Selected Answer: AE
Update a service🔗 docker service update --limit-cpu 2 redis Perform a rolling restart with no parameter changes docker service update --force --update-parallelism 1 --update-delay 30s redis In this example, the --force flag causes the service’s tasks to be shut down and replaced with new ones even though none of the other parameters would normally cause that to happen. The --update-parallelism 1 setting ensures that only one task is replaced at a time (this is the default behavior). The --update-delay 30s setting introduces a 30 second delay between tasks, so that the rolling restart happens gradually. https://docs.docker.com/engine/reference/commandline/service_update/ https://github.com/douglasmiranda/lab/tree/master/docker-swarm-replicated-example-caddy%2Bflask
upvoted 1 times
ferock
1 year ago
Sorry I changed my mind is BE, "parallel upgrade" is not needs to assure no outages
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...