Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 701-100 Exam - Topic 7 Question 87 Discussion

Posted by Lauran on Mar 23, 2025 at 05:08 PM

Which of the following Ansible tasks copies the file example.txt to a manage system?

Suggested Answer: B

Get Premium 701-100 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
39 comments · newest first
KA
Kasandra 10 months ago
Wait, is D a real command?
GE
Gennie 10 months ago
I thought it was A at first.
SC
Scarlet 10 months ago
B is the correct answer!
FR
Francis 11 months ago
Definitely B, no doubt about it!
MO
Mona 11 months ago
C doesn't even exist in Ansible.
NI
Nidia 11 months ago
I feel like "rsync" could be a valid option, but it seems more complex than just copying a file.
CO
Cordell 11 months ago
I’m a bit confused about the options. I don’t recall seeing "retrieve" or "transfer" in our materials.
BE
Benedict 12 months ago
I remember practicing a question similar to this, and I think "copy" was definitely one of the modules we used.
NA
Nana 12 months ago
I think the correct answer might be B, but I'm not entirely sure if "copy" is the right module name.
HE
Herschel 1 year ago
Option B looks good to me. The "copy" module is a straightforward way to copy files in Ansible, and the syntax matches what I've seen in the documentation.
IL
Iluminada 1 year ago
I'm not too familiar with Ansible, so I'm not 100% sure on this one. I'd probably try to eliminate the options that seem less likely, like the "retrieve" and "transfer" tasks.
AS
Ashleigh 1 year ago
Ah, I've got it! The correct answer is B. The "copy" module is the way to go for this type of file transfer task in Ansible.
VE
Velda 1 year ago
Hmm, I'm a bit confused. I thought Ansible had a "retrieve" module, but I don't see that in the options. Maybe it's a different task name?
LI
Lizette 1 year ago
I'm pretty sure the answer is B. The "copy" module is the standard way to copy files in Ansible, and the syntax looks correct.
MA
Marilynn 2 years ago
B is the way to go. The 'copy' module is like the duct tape of Ansible - it just works!
KA
Kami 1 year ago
↳ replying to Marilynn
Carri: It's like the duct tape of Ansible!
JE
Jean 1 year ago
↳ replying to Marilynn
User 3: I always use the 'copy' module for file transfers.
CA
Carri 1 year ago
↳ replying to Marilynn
User 2: Agreed, the 'copy' module is very reliable.
GR
Gracia 1 year ago
↳ replying to Marilynn
User 1: I think B) -- copy:src: example.txtdest: /tmp/example.txt is the correct answer.
BR
Brittney 2 years ago
Definitely B. Who needs anything fancy when you've got the reliable 'copy' module?
FI
Filiberto 2 years ago
Hmm, I'm going with B. Can't go wrong with the good old 'copy' module.
DE
Dean 1 year ago
↳ replying to Filiberto
User2: Agreed, 'copy' is the way to go for copying files with Ansible.
CH
Chau 1 year ago
↳ replying to Filiberto
User1: I think B is the correct answer too. 'copy' module is reliable.
MI
Millie 2 years ago
I believe rsync is used for synchronization, not just copying files
RE
Rene 2 years ago
I'm not sure, but I think rsync might also be used for copying files
BE
Belen 2 years ago
I agree with Rashad, the copy task is used to copy files in Ansible
TH
Theron 2 years ago
B is the correct answer. The 'copy' module is the way to go for this task.
MA
Marylyn 2 years ago
I think the answer is B. The 'copy' module is used to copy files from the control node to the managed hosts.
JO
Jolene 1 year ago
↳ replying to Marylyn
User 3: Thanks for clarifying, I wasn't sure about that.
FR
Francoise 1 year ago
↳ replying to Marylyn
User 2: Yes, you're correct. The 'copy' module is used for that.
DA
Dalene 2 years ago
↳ replying to Marylyn
User 1: I think the answer is B.
RA
Rashad 2 years ago
I think the correct answer is B) -- copy:src: example.txtdest: /tmp/example.txt
FE
Felice 2 years ago
B) -- copy:src: example.txtdest: /tmp/example.txt. This is the correct Ansible task to copy a file to a managed system.
MA
Marylin 2 years ago
↳ replying to Felice
User 3: Thanks for clarifying, I will remember that for future reference.
KA
Kate 2 years ago
↳ replying to Felice
Nan: No problem! Ansible tasks can be confusing at first, but it gets easier with practice.
PE
Penney 2 years ago
↳ replying to Felice
User 2: Yes, you are right. That is the correct task to copy a file to a managed system.
PA
Pansy 2 years ago
↳ replying to Felice
User 1: I think the correct Ansible task is B) -- copy:src: example.txtdest: /tmp/example.txt
NA
Nan 2 years ago
↳ replying to Felice
User 2: Thanks for clarifying that. I was unsure which task to use.
DI
Dierdre 2 years ago
↳ replying to Felice
User 1: B) -- copy:src: example.txtdest: /tmp/example.txt is the correct option.
0/2000 characters

Save Cancel