New Year Sale 2026! 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 7 Question 87 Discussion

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

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Kasandra
2 months ago
Wait, is D a real command?
upvoted 0 times
...
Gennie
2 months ago
I thought it was A at first.
upvoted 0 times
...
Scarlet
2 months ago
B is the correct answer!
upvoted 0 times
...
Francis
3 months ago
Definitely B, no doubt about it!
upvoted 0 times
...
Mona
3 months ago
C doesn't even exist in Ansible.
upvoted 0 times
...
Nidia
3 months ago
I feel like "rsync" could be a valid option, but it seems more complex than just copying a file.
upvoted 0 times
...
Cordell
3 months ago
I’m a bit confused about the options. I don’t recall seeing "retrieve" or "transfer" in our materials.
upvoted 0 times
...
Benedict
4 months ago
I remember practicing a question similar to this, and I think "copy" was definitely one of the modules we used.
upvoted 0 times
...
Nana
4 months ago
I think the correct answer might be B, but I'm not entirely sure if "copy" is the right module name.
upvoted 0 times
...
Herschel
4 months 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.
upvoted 0 times
...
Iluminada
4 months 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.
upvoted 0 times
...
Ashleigh
4 months 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.
upvoted 0 times
...
Velda
5 months 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?
upvoted 0 times
...
Lizette
5 months 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.
upvoted 0 times
...
Marilynn
10 months ago
B is the way to go. The 'copy' module is like the duct tape of Ansible - it just works!
upvoted 0 times
Kami
8 months ago
Carri: It's like the duct tape of Ansible!
upvoted 0 times
...
Jean
9 months ago
User 3: I always use the 'copy' module for file transfers.
upvoted 0 times
...
Carri
9 months ago
User 2: Agreed, the 'copy' module is very reliable.
upvoted 0 times
...
Gracia
9 months ago
User 1: I think B) -- copy:src: example.txtdest: /tmp/example.txt is the correct answer.
upvoted 0 times
...
...
Brittney
10 months ago
Definitely B. Who needs anything fancy when you've got the reliable 'copy' module?
upvoted 0 times
...
Filiberto
10 months ago
Hmm, I'm going with B. Can't go wrong with the good old 'copy' module.
upvoted 0 times
Dean
9 months ago
User2: Agreed, 'copy' is the way to go for copying files with Ansible.
upvoted 0 times
...
Chau
10 months ago
User1: I think B is the correct answer too. 'copy' module is reliable.
upvoted 0 times
...
...
Millie
10 months ago
I believe rsync is used for synchronization, not just copying files
upvoted 0 times
...
Rene
11 months ago
I'm not sure, but I think rsync might also be used for copying files
upvoted 0 times
...
Belen
11 months ago
I agree with Rashad, the copy task is used to copy files in Ansible
upvoted 0 times
...
Theron
11 months ago
B is the correct answer. The 'copy' module is the way to go for this task.
upvoted 0 times
...
Marylyn
11 months ago
I think the answer is B. The 'copy' module is used to copy files from the control node to the managed hosts.
upvoted 0 times
Jolene
10 months ago
User 3: Thanks for clarifying, I wasn't sure about that.
upvoted 0 times
...
Francoise
10 months ago
User 2: Yes, you're correct. The 'copy' module is used for that.
upvoted 0 times
...
Dalene
10 months ago
User 1: I think the answer is B.
upvoted 0 times
...
...
Rashad
11 months ago
I think the correct answer is B) -- copy:src: example.txtdest: /tmp/example.txt
upvoted 0 times
...
Felice
11 months ago
B) -- copy:src: example.txtdest: /tmp/example.txt. This is the correct Ansible task to copy a file to a managed system.
upvoted 0 times
Marylin
10 months ago
User 3: Thanks for clarifying, I will remember that for future reference.
upvoted 0 times
...
Kate
11 months ago
Nan: No problem! Ansible tasks can be confusing at first, but it gets easier with practice.
upvoted 0 times
...
Penney
11 months ago
User 2: Yes, you are right. That is the correct task to copy a file to a managed system.
upvoted 0 times
...
Pansy
11 months ago
User 1: I think the correct Ansible task is B) -- copy:src: example.txtdest: /tmp/example.txt
upvoted 0 times
...
Nan
11 months ago
User 2: Thanks for clarifying that. I was unsure which task to use.
upvoted 0 times
...
Dierdre
11 months ago
User 1: B) -- copy:src: example.txtdest: /tmp/example.txt is the correct option.
upvoted 0 times
...
...

Save Cancel