CI/CD Pipelines Using GitHub Quiz 2

Last Updated :
Discuss
Comments

Question 1

What is the primary purpose of GitHub Actions?

  • A

    To eliminate version control systems

  • B

    To automate building, testing, and deployment of applications

  • C

    To replace cloud infrastructure

  • D

    To reduce the need for developers

Question 2

What was a major drawback of software delivery before CI/CD?

  • A

    Too many automated tests

  • B

    Frequent small releases

  • C

    Large merge conflicts and late bug detection

  • D

    Excessive collaboration between teams

Question 3

Which statement best describes Continuous Integration (CI)?

  • A

    Code is deployed directly to production

  • B

    Only deployment automation is involved

  • C

    Manual approval is required before testing

  • D

    Developers merge code frequently and automated builds/tests run on every commit

Question 4

What is the key difference between Continuous Delivery and Continuous Deployment?

  • A

    Continuous Delivery skips testing

  • B

    Continuous Deployment requires manual approval

  • C

    Continuous Delivery has manual production release, Continuous Deployment is fully automated

  • D

    Continuous Deployment does not use CI

Question 5

What happens immediately after a developer commits code in a CI pipeline?

  • A

    Code is deployed to production

  • B

    CI pipeline triggers automated build and tests

  • C

    Manual testing starts

  • D

    Infrastructure is destroyed

Question 6

Which of the following best defines a CI/CD Pipeline?

  • A

    A cloud service for hosting applications

  • B

    A manual checklist for deployment

  • C

    A version control strategy

  • D

    A sequence of automated steps moving code from development to production

Question 7

Which practice represents “shifting security left” in CI/CD (DevSecOps)?

  • A

    Performing security checks only in production

  • B

    Ignoring vulnerabilities in open-source libraries

  • C

    Integrating security scans early in the pipeline

  • D

    Manual security audits after deployment

Tags:

There are 7 questions to complete.

Take a part in the ongoing discussion