Question 6 of 48

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 7 of 48

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 8 of 48

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 9 of 48

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.

Question 10 of 48

Which of the following information is contained in the output of git status? (Choose three correct answers.)

    Correct Answer: A, C, E

    The output of 'git status' contains information about changed files that will not be part of the next commit, changed files that will be part of the next commit, and untracked files which are not subject to version control. It does not include information about locked files or unchanged files, which means options A, C, and E are correct.