Question 1 of 30
In a network automation scenario, a DevOps engineer is tasked with deploying a new application across multiple servers using Ansible. The engineer needs to ensure that the deployment is idempotent, meaning that running the same deployment script multiple times will not change the system state after the first application. Which of the following strategies should the engineer implement to achieve idempotency in the deployment process?
Use Ansible modules that check the current state of the system before making changes.
Write a custom script that always forces the application to reinstall regardless of the current state.
Utilize a configuration management tool that does not support state checks.
Manually verify the application state after each deployment to ensure correctness.

Preparing for CISCO 200-901 Developing Applications and Automating Workflows using Cisco Core Platforms (DEVASC)? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free