LPIC-OT Exam 701: DevOps Tools Engineer

Here you have the best LPI 701-100 practice exam questions

  • You have 48 total questions to study from
  • Each page has 5 questions, making a total of 10 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on November 20, 2024
Question 1 of 48

FILL BLANK -

Which git sub command copies a local commit to a remote repository? (Specify ONLY the sub command without any path or parameters.)

    Correct Answer:

    The correct git sub command to copy a local commit to a remote repository is 'push'. The 'push' command updates the remote repository with the changes made in the local repository. The 'clone' command, on the other hand, is used to copy a remote repository to a local machine. Therefore, the correct answer is 'push'.

Question 2 of 48

Which of the following statements regarding microservices are true? (Choose three correct answers.)

    Correct Answer: A, D, E

    Microservices facilitate the replacement of the implementation of a specific functionality, allowing a particular microservice to be modified or replaced without affecting other services. Interaction between microservices can be slower than the interaction of similar components within a monolithic application due to the overhead of network communication. Within one application, individual microservices can indeed be updated and redeployed independently of the remaining microservices, providing flexibility in maintenance and updates. However, integration tests are possible even before all microservices are completely developed, and microservices architecture supports multiple instances of each service, aiding in scalability.

Question 3 of 48

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

    Correct Answer: A, C

    Changes to the database schema can indeed take long and reduce database performance due to the time and resources required to apply these changes, especially in large or busy databases. Additionally, the database schema must be compatible with all running versions of a service during a canary deployment to ensure that both the old and new versions of the service can operate correctly with the database, allowing for a smooth transition and rollback if necessary.

Question 4 of 48

A declarative Jenkins pipeline contains the following excerpt: parameters { string (name: "˜TargetEnvironment', defaultValue: "˜staging', description: "˜Target environment')

}

How can a task use the value provided for TargetEnvironment?

    Correct Answer: D

    In a Jenkins declarative pipeline, when defining parameters, you access their values using the `params` object. For the given parameter `TargetEnvironment`, the correct way to reference its value in the pipeline is `${params.TargetEnvironment}`.

Question 5 of 48

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.