Question 6 of 60
Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)
    Correct Answer: A, C

    The git rm command is used to remove files from the working directory and the index, thus managing the files in the repository by deleting them. The git mv command is used to move or rename files in the repository, which also constitutes managing the files. Both commands directly affect the files in the repository.

Question 7 of 60
What implications does container virtualization have for DevOps? (Choose two answers.)
    Correct Answer: A, C

    Containers decouple the packaging of an application from its infrastructure, which facilitates the rapid deployment and consistent operation of applications across different environments. Also, containers allow developers to test their software under production-like conditions, ensuring that the application will run as expected when deployed into production, thus increasing the efficiency and reliability of the CI/CD pipeline.

Question 8 of 60
Which of the following HTTP methods are used by REST? (Choose three correct answers.)
    Correct Answer: C, D, E

    The HTTP methods commonly used by REST are PUT, DELETE, and GET. PUT is used to update a resource, DELETE is used to remove a resource, and GET is used to retrieve a resource. These methods align with the principles of RESTful services.

Question 9 of 60
The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If the error has not been committed to the repository yet, which of the following git commands reverts the local copy of index.php to the latest committed version in the current branch?
    Correct Answer: C

    To revert the local copy of a file to the latest committed version in the current branch, the appropriate command is 'git checkout -- filename'. In this case, 'git checkout -- index.php' will restore 'index.php' to the state of the latest commit, thus removing any uncommitted changes.

Question 10 of 60
Which of the following statements are true about Jenkins? (Choose two correct answers.)
    Correct Answer: B, D

    Jenkins can delegate tasks to slave nodes, which allows it to scale and distribute tasks efficiently. Additionally, Jenkins' functionality is determined by plugins, which provide a wide range of integrations and capabilities tailored to various needs and environments.