Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)

Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)A . lineinfileB . replaceC . patchD . insertE . modifyView AnswerAnswer: A,B,C

January 3, 2019 No Comments READ MORE +

What happens when a merge conflict occurs in git? (Choose two correct answers.)

What happens when a merge conflict occurs in git? (Choose two correct answers.)A . The conflicting files remain unchanged in the local repository.B . Conflict markers are added to the files.C . A new branch containing the remote changes is created.D . The affected files are flagged as conflicting.E ....

December 27, 2018 No Comments READ MORE +

Which of the following mechanisms are used for service discovery in a container environment? (Choose two correct answers.)

Which of the following mechanisms are used for service discovery in a container environment? (Choose two correct answers.)A . The container platform offers a command like docker service discover which should be run within a container.B . The container platform sets environment variables containing service information within the containers.C ....

December 26, 2018 No Comments READ MORE +

What statement is true regarding the Swarm service created by the following command?

What statement is true regarding the Swarm service created by the following command? docker service create --name myweb --network webnet --mode global nginxA . It runs exactly one time in the Swarm and cannot be scaled.B . It runs exactly once on each node in a Swarm.C . It runs...

December 19, 2018 No Comments READ MORE +

Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?A . registerB . returnC . outputD . resultE . set_factView AnswerAnswer: A Explanation: https://docs.ansible.com/ansible/2.5/user_guide/playbooks_conditionals.html

December 14, 2018 No Comments READ MORE +

What implications does container virtualization have for DevOps? (Choose two answers.)

What implications does container virtualization have for DevOps? (Choose two answers.)A . Containers decouple the packaging of an application from its infrastructure.B . Containers require developers to have detailed knowledge of their IT infrastructure.C . Containers let developers test their software under production conditions.D . Containers complicate the deployment of...

December 13, 2018 No Comments READ MORE +

What is the Puppet equivalent to an Ansible Playbook called?

What is the Puppet equivalent to an Ansible Playbook called?A . A Puppet CatalogB . A Puppet PlaybookC . A Puppet FactsheetD . A Puppet DeclarationE . A Puppet ManifestView AnswerAnswer: A

December 11, 2018 No Comments READ MORE +

Which statements are true regarding databases during the deployment of a new release of a service using canary deployment? (Choose two correct answers.)

Which statements are true regarding databases during the deployment of a new release of a service using canary deployment? (Choose two correct answers.)A . Changes to the database schema can take long and reduce the database performance.B . Traffic to the database will significantly increase because of the additional service...

December 8, 2018 No Comments READ MORE +

Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)

Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)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...

November 24, 2018 No Comments READ MORE +

Which of the following strings can be used to reference the defined variable?

An Ansible variable file contains the following content: myapp: option1: one Which of the following strings can be used to reference the defined variable? (Choose two correct answers).A . myapp(option1);B . option1@myappC . myapp[‘option1’]D . myapp.option1E . myapp{{option1}}View AnswerAnswer: A,E

November 17, 2018 No Comments READ MORE +