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 5 Question 3 Discussion

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

Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)

Show Suggested Answer Hide Answer
Suggested Answer: A, B, C

Contribute your Thoughts:

0/2000 characters
Alline
4 months ago
"modify" isn't a module, right? Just checking!
upvoted 0 times
...
Herminia
4 months ago
I've only used lineinfile and replace, patch seems new to me.
upvoted 0 times
...
Mari
4 months ago
Wait, is "insert" even a real module?
upvoted 0 times
...
Royal
4 months ago
Totally agree with that!
upvoted 0 times
...
Fletcher
5 months ago
lineinfile, replace, and patch are the ones!
upvoted 0 times
...
Rhea
5 months ago
I don't think `insert` or `modify` are actual Ansible modules. I might be mixing them up with something else!
upvoted 0 times
...
Jeannine
5 months ago
I feel like `patch` could be a valid choice, but I can't recall if it specifically changes file contents.
upvoted 0 times
...
Haydee
5 months ago
I remember practicing with the `replace` module, so that might be one of the correct options too.
upvoted 0 times
...
Leonie
5 months ago
I think the `lineinfile` module is definitely one of the answers, but I'm not sure about the others.
upvoted 0 times
...
Wei
5 months ago
I've worked with gMSAs before, so I feel pretty confident about this. I think the correct actions are to create the gMSA on the domain controller using the New-ADServiceAccount cmdlet, and then install it on the application server using the Install-ADServiceAccount cmdlet.
upvoted 0 times
...
Alishia
5 months ago
This question seems straightforward, I think the answer is C - the programme is no longer aligned with corporate strategy.
upvoted 0 times
...

Save Cancel