nerdexam
Cisco

200-901 · Question #249

Refer to the exhibit. A developer must check packages on web load balancers that use nginx packages. The developer updates the servers as required in Ansible inventory and prepares an Ansible…

The correct answer is C. uninstalling the apache2 server, installing the nginx server, and then updating all the packages to. The Ansible playbook automates a three-step process on the web load balancers: first, it uninstalls the apache2 package; second, it installs the nginx package; and third, it updates all installed packages to their latest versions. This is a standard Ansible automation pattern…

Infrastructure and Automation

Question

Refer to the exhibit. A developer must check packages on web load balancers that use nginx packages. The developer updates the servers as required in Ansible inventory and prepares an Ansible playbook to automate this workflow on related servers. Which process is being automated by the Ansible playbook?

Exhibit

200-901 question #249 exhibit

Options

  • Averifying that nginx is installed only if apache2 is unavailable on the system, and then updating all
  • Bverifying, without installing, that apache2 is unavailable and that nginx is installed, and then
  • Cuninstalling the apache2 server, installing the nginx server, and then updating all the packages to
  • Dinstalling nginx, uninstalling apache2, and then verifying that the package repository is at the

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    93% (37)

Explanation

The Ansible playbook automates a three-step process on the web load balancers: first, it uninstalls the apache2 package; second, it installs the nginx package; and third, it updates all installed packages to their latest versions. This is a standard Ansible automation pattern for migrating web servers from one HTTP server software to another while keeping the system fully patched. Options A and B describe verification-only or conditional logic workflows, and option D incorrectly reverses the install/uninstall order and focuses on the package repository rather than the system packages themselves.

Topics

#Ansible#Automation#Package Management#Server Configuration

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice