exam questions

Exam 701-100 All Questions

View all questions & answers for the 701-100 exam

Exam 701-100 topic 1 question 21 discussion

Actual exam question from LPI's 701-100
Question #: 21
Topic #: 1
[All 701-100 Questions]

Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)

  • A. Update an installed package to the latest version.
  • B. Update the list of available packages from configured repositories.
  • C. Re-compile an installed package from the source code.
  • D. Add the URL of a new repository to the package manager configuration.
  • E. Install a dpkg based Linux distribution on an empty target system.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️
Reference https://docs.ansible.com/ansible/latest/modules/apt_module.html

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
hythalo
Highly Voted 2 years, 2 months ago
I think is A and B. The apt module usage doesn't mention anything close to E. https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_module.html
upvoted 8 times
...
hector1978
Highly Voted 2 years, 11 months ago
I don't agree. The Ansible apt module can: Update an installed package to the latest version. The correct answer is A and B
upvoted 5 times
...
examtp1
Most Recent 4 months, 2 weeks ago
Selected Answer: AB
The apt module matches more or less the apt-get module, which allows to install a package if it's not installed already, upgrade it if it's installed but a new version is available (answer A), and update the repositories to retrieve the complete list of packages and the available versions (answer B).
upvoted 2 times
...
hamzaab
1 year, 5 months ago
A and B
upvoted 3 times
...
billcom
2 years, 7 months ago
E is not also wrong and point directly to the overall usage of the apt module
upvoted 1 times
...
hmagroun
2 years, 9 months ago
The correct answer is A and B
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago