Multiple Choice
You have a playbook that includes a task to install a package for a service, put a configuration file for that package on the system and restart the service. The playbook is then run twice in a row. What would you expect Ansible to do on the second run?
A) Remove the old package and config file and reinstall and then restart the service.
B) Take no action on the target host.
C) Check if the package is installed, check if the file matches the source file, if not reinstall it; restart the service.
D) Attempt to reinstall the package, copy the file and restart the service.
Correct Answer:

Verified
Correct Answer:
Verified
Q206: Which difference between core modules and extra
Q207: What is the purpose of a Docker
Q208: A company uses AWS Storage Gateway in
Q209: A DevOps Engineer is implementing a mechanism
Q210: A healthcare company has a critical application
Q212: A company is using an AWS CloudFormation
Q213: The resources for a business-critical, three-tier web
Q214: What is the scope of AWS IAM?<br>A)
Q215: A company recently migrated its legacy application
Q216: A company is using tagging to allocate