Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 701-100 Exam - Topic 5 Question 67 Discussion

What statement is true regarding the Swarm service created by the following command?docker service create --name myweb --network webnet --mode global nginx
C) It runs on one node by default and can be scaled to an arbitrary number of replicas. and D) It runs on all nodes which provide the network webnet. and E) It runs only on those nodes which support the network type global.
A) It runs exactly one time in the Swarm and cannot be scaled.
B) It runs exactly once on each node in a Swarm.

LPI 701-100 Exam - Topic 5 Question 67 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 67
Topic #: 5
[All 701-100 Questions]

What statement is true regarding the Swarm service created by the following command?

docker service create --name myweb --network webnet --mode global nginx

Show Suggested Answer Hide Answer
Suggested Answer: C, D, E

Contribute your Thoughts:

0/2000 characters
Francis
9 months ago
E seems interesting, but I don't think that's correct.
upvoted 0 times
...
Bettina
9 months ago
I thought it was A at first, but B makes more sense.
upvoted 0 times
...
Yolando
9 months ago
Wait, can it really run on all nodes? Sounds off.
upvoted 0 times
...
Ines
10 months ago
Totally agree, B is the right answer!
upvoted 0 times
...
Ariel
10 months ago
It runs once on each node, that's B.
upvoted 0 times
...
Laurel
10 months ago
I’m a bit confused about the network part. Does it mean it runs on all nodes that can access `webnet`, or is it more restrictive? I think that could relate to D or E.
upvoted 0 times
...
Henriette
10 months ago
I practiced a similar question, and I think global mode means it runs on all nodes, which might be D. But I need to double-check that.
upvoted 0 times
...
Barrett
10 months ago
I remember something about global services running once on each node, so I feel like B is the right choice, but I could be mixing it up with something else.
upvoted 0 times
...
Alisha
11 months ago
I think the command specifies `--mode global`, so it should run on every node in the Swarm, but I'm not sure if that's option B or D.
upvoted 0 times
...
Frederica
11 months ago
I'm confident the answer is B. The "global" mode ensures the service runs on every node, so it will run once on each node in the Swarm.
upvoted 0 times
...
Jacquelyne
11 months ago
I'm not entirely sure about this one. I'll need to think it through step-by-step to make sure I understand the implications of the command.
upvoted 0 times
...
Ryan
11 months ago
Okay, I think I've got this. The "global" mode means the service will run on every node in the Swarm, so the correct answer is B.
upvoted 0 times
...
Thersa
11 months ago
Hmm, the "global" mode is throwing me off a bit. I'll need to review my notes on the different Swarm service modes to figure this out.
upvoted 0 times
...
Dominga
11 months ago
This looks like a tricky one. I'll need to carefully read through the question and options to understand the behavior of the Swarm service.
upvoted 0 times
...
Owen
11 months ago
I'm a little confused on this one. I know Forecasting is important for predicting revenue, but I'm not sure about the other feature. Maybe Sales Quotes could be helpful?
upvoted 0 times
...
Hortencia
11 months ago
I remember discussing the importance of service reuse, but I'm not sure why protecting it would reduce ROI. That seems counterintuitive.
upvoted 0 times
...
Marsha
11 months ago
Okay, I've got this. Code review happens before the code is merged, so the answer must be B. Merge of code.
upvoted 0 times
...
Louisa
1 year ago
This is a tough one, but I think the answer is B. The 'global' mode ensures that the service runs on every node, so it will run exactly once on each node.
upvoted 0 times
Christiane
1 year ago
Thanks for clarifying that. I understand it better now.
upvoted 0 times
...
Domonique
1 year ago
Yes, exactly. It's a good choice for services that need to be running on every node.
upvoted 0 times
...
Margart
1 year ago
That makes sense. So it will run on each node in the Swarm.
upvoted 0 times
...
Kimberely
1 year ago
I think the answer is B. The 'global' mode ensures that the service runs on every node, so it will run exactly once on each node.
upvoted 0 times
...
...
Barbra
1 year ago
Ah, I remember learning about the 'global' mode in Docker Swarm. The correct answer has to be B. It runs exactly once on each node in the Swarm.
upvoted 0 times
...
Stephanie
1 year ago
Haha, this question is a real brain-teaser! I'm going to guess C, just to see what happens. Who knows, maybe I'll get lucky!
upvoted 0 times
...
Sommer
1 year ago
Hmm, I'm not sure about this one. The 'global' mode is a bit tricky, but I'll go with D. It runs on all nodes which provide the network 'webnet'.
upvoted 0 times
Precious
1 year ago
User2: That makes sense, I'll go with D too.
upvoted 0 times
...
Felix
1 year ago
User1: I think it runs on all nodes which provide the network 'webnet'.
upvoted 0 times
...
...
Avery
1 year ago
I'm not sure, but I think the answer might be D.
upvoted 0 times
...
Matthew
1 year ago
I think the correct answer is B. The 'global' mode ensures that the service runs on every node in the Swarm, so it will run exactly once on each node.
upvoted 0 times
...
Jesusa
1 year ago
I agree with Venita, because the command creates a service that can be scaled to multiple replicas.
upvoted 0 times
...
Venita
1 year ago
I think the answer is C.
upvoted 0 times
...

Save Cancel