nerdexam
CiscoCisco

200-901 · Question #249

200-901 Question #249: Real Exam Question with Answer & Explanation

The correct answer is C: uninstalling the apache2 server, installing the nginx server, and then updating all the packages to. {"question_number": 1, "correct_answer": "C", "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 late

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?

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

Explanation

{"question_number": 1, "correct_answer": "C", "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.", "generated_by": "claude-sonnet", "llm_judge_score": 3}

Topics

#Ansible#Automation#Package Management#Server Configuration

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions