DevOps Tools Engineer (LPIC-OT 701) — Question 10
Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)
Answer options
- 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.
Correct answer: B, E
Explanation
The correct answers are B and E. The Ansible apt module allows you to update the list of available packages from configured repositories (B), and it can install a dpkg based Linux distribution on an empty target system (E). Options A, C, and D do not correctly represent the functionalities provided by the apt module.