Get All Weeks Continuous Integration and Continuous Delivery (CI/CD) Quiz Answers
Table of Contents
Continuous Integration and Continuous Delivery (CI/CD) Quiz Answers
Module 1 – Graded Quiz: Introduction to CI/CD week 1 quiz answer
Q1. What is Continuous Delivery (CD)?
Q2. Which component of a DevOps pipeline consists exclusively of the Release, Deploy, and Operate phases?
ViewQ3. Which aspect of development is reduced by using Continuous Integration and Continuous Delivery (CI/CD)?
ViewQ4. What is an important consideration when using DevOps pipeline tools?
ViewQ5. Which tool is a hosted Continuous Integration (CI) service that helps developers build and test software projects hosted on GitHub and Bitbucket?
ViewQ6. Which Infrastructure as Code (IaC) approach requires you to define the specific order of commands needed to achieve the desired state?
ViewQ7. Which file type contains a list of servers or devices that an Infrastructure as Code (IaC) tool uses to provision infrastructure?
ViewQ8. What is the benefit of Infrastructure as Code (IaC)?
ViewQ9. Which Infrastructure as Code (IaC) tool uses a declarative, or automatic, approach with a pre-execution check to ensure that the tool achieves the desired result?
ViewModule 2 – Graded Quiz: Continuous Integration (CI)
Q1. What is one benefit of Continuous Integration (CI)?
ViewQ2. Why does Continuous Integration (CI) reduce code integration risk?
ViewQ3. What is the first step of social coding?
ViewQ4. Why is Git valuable for DevOps?
ViewQ5. When starting development on a new feature for a Git project, what should you do first?
ViewQ6. In the pull request workflow, what should you do after pulling changes from the main branch to your local workspace?
ViewQ7. With Travis CI, what type of file must you use to define the instructions for your Continuous Integration (CI) pipeline?
ViewQ8. What does a job do in a GitHub Actions workflow?
ViewQ9. What is one keyword you can use to set up a GitHub Actions event?
ViewQ10. In GitHub Actions, what does the ‘needs’ keyword do?
ViewModule 3 – Graded Quiz: Continuous Delivery (CD)
Q1. What is the benefit of Continuous Delivery (CD)?
ViewQ2. According to the key principles of Continuous Delivery (CD), what should you do if a build breaks?
ViewQ3. What is a best practice for Continuous Delivery (CD)?
ViewQ4. Which scanning capability should you have within your Continuous Delivery (CD) pipeline?
ViewQ5. In Tekton, what does TaskRun do?
ViewQ6. In a Tekton task manifest, what syntax must you use to pass a parameter into a step?
ViewQ7. Which subfield must you include within the spec field of a Tekton EventListener definition?
ViewQ8. Assume you want to use the git-clone task from the Tekton Catalog. You have a Tekton PersistentVolumeClaim named pipelinerun-vc and a PipelineRun defined as follows:
View2.metadata: generateName: pipeline-mn-
3.spec: pipelineRef: name: ab-pipeline
4.workspaces: – name: pipeline-xy persistentVolumeClaim: claimName: pipelinerun-vc
5.params: – name: repo-url value: “$(tt.params.repo)”
Q9. In the pipeline’s spec section, what name must you give the workspace so that any tasks that need it can use it?
ViewQ10. Where should you define an environment property that you want to add to a Tekton task?
ViewQ11. How can you deploy an application to an environment when using Tekton?
ViewFinal Exam
Q1. Which component of a DevOps pipeline consists exclusively of the Plan, Code, Build, and Test phases?
ViewQ2. Which tool is a Continuous Integration and Continuous Delivery (CI/CD) platform that performs CD deployments and contains workflow definitions inside a YAML file?
ViewQ3. What is one benefit of Infrastructure as Code (IaC)?
ViewQ4. Why does Continuous Integration (CI) lead to higher-quality code?
ViewQ5. What is social coding?
ViewQ6. Which Git command should you use to undo a commit to your local repository but keep the changes in the staging area?
ViewQ7. Assume you are working on a Git project and want to develop a new feature. After pulling all the repository’s latest code to your local workspace, what should you do next?
ViewQ8. What does an event do in a GitHub Actions workflow?
ViewQ9. In GitHub Actions, which keyword is helpful for using the output of one step as the input for another step?
ViewQ10. What is the benefit of Continuous Delivery (CD)?
ViewQ11. According to the key principles of Continuous Delivery (CD), what should developers spend their time on?
ViewQ12. What is the best practice for Continuous Delivery (CD)?
ViewQ13. In Tekton, what does TriggerBinding do?
ViewQ14. In a Tekton task manifest, what is one way to pass a parameter to a task?
ViewQ15. Assume you have four Tekton tasks within a pipeline: task-a, task-b, task-c, and task-d. How could you make task-a and task-b run in parallel?
ViewGet All Course Quiz Answers of IBM DevOps and Software Engineering Professional Certificate
Introduction to DevOps Coursera Quiz Answers
Introduction to Cloud Computing Coursera Quiz Answers
Introduction to Agile Development and Scrum Quiz Answers
Hands-on Introduction to Linux Commands and Shell Scripting Quiz Answers
Python for Data Science, AI & Development Quiz Answers