0% found this document useful (0 votes)
6 views

Bits Devops

Uploaded by

farhanask211
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Bits Devops

Uploaded by

farhanask211
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

1.Which of the following is a distributed source code management system?

a) CVS

b) Subversion (SVN)

c) Git

d) Mercurial

Correct answer: c) Git

2.How does Docker differ from virtual machines (VMs)?

a) Docker containers do not require an operating system.

b) Docker containers have less overhead compared to VMs.

c) Docker containers can only run on Windows hosts.

d) Docker containers provide complete hardware-level virtualization.

Correct answer: b) Docker containers have less overhead compared to VMs.

3.In the pull request model, who typically initiates a pull request?

a) The project manager.

b) The code reviewer.

c) The developer who wants to merge their changes into the main codebase.

d) The system administrator.

Correct answer: c) The developer who wants to merge their changes into the main codebase.

4..Which tool is commonly used as a build server?

a) Jenkins

b) Git
c) Docker

d) Maven
Answer : A Jenkins

5. Which factor is important to consider when designing the file system layout for a build system?

a) The number of Jenkins slaves available

b) The size of the code repository

c) The operating system of the host server

d) The organization's project structure and requirements

Answer: D

6.How can build triggers be used in Jenkins?

a) To initiate a build manually through the Jenkins UI.

b) To schedule periodic builds at specific times.

c) To trigger builds automatically when changes are pushed to a code repository.

d) To notify users when a build fails.

Answer:C

7.Which build server is an alternative to Jenkins?

a) Travis CI

b) GitLab
c) Docker

d) Maven
Answer: A

8. Which tool is commonly used for code quality analysis in a build system?

a) Jenkins

b) JUnit

c) SonarQube

d) Docker

Answer: C

9.Which of the following is NOT a type of testing commonly used in software development?

a) Unit testing

b) Integration testing

c) Performance testing

d) Frontend testing
Answer: D

10.Which of the following is a feature of Selenium?

a) Native support for mobile application testing

b) Limited browser compatibility


c) Single programming language support

d) Inability to automate web-based applications

Answer:C

11.Which virtualization stack is commonly used for deployment?

a) VMware

b) Jenkins

c) Selenium

d) Ansible

Answer:C

12. What is the purpose of code execution at the client in deployment?

a) To ensure centralized control over the code

b) To reduce network latency

c) To distribute the workload

d) To increase server performance


Answer:B

13.What is the main focus of test-driven development (TDD)?

a) Writing tests after code implementation


b) Writing tests alongside code implementation

c) Writing tests before code implementation

d) Ignoring tests during code implementation

Answer:C

14:What is a potential drawback of test automation?

a) High initial setup and maintenance cost

b) Limited test coverage

c) Slower execution of test cases

d) Increased reliance on manual testing


Answer:A

15.What is the purpose of source code control in project management?

a) To manage project budgets

b) To track project milestones

c) To ensure version control and collaboration in software development

d) To facilitate communication among team members

Answer: C

16: Which term refers to a system used for managing and tracking changes to source code?

a) Source code control system (SCCS)

b) Source code management system (SCMS)

c) Code repository management system (CRMS)

d) Version control system (VCS)

Answer:D
17.Which of the following is an example of a hosted Git server?

a) Jenkins

b) Jira

c) Bitbucket

d) Subversion

Answer:C

18.What is Gerrit commonly used for in code source management?

a) Automated code testing and quality assurance

b) Tracking and managing feature requests and bug reports

c) Code reviews and collaboration among developers

d) Continuous integration and deployment (CI/CD) pipelines

Answer:C

19.Which software development model is closely associated with the pull request model?

a) Waterfall model

b) Agile model

c) Spiral model

d) DevOps model

Answer:B

20.What is the main purpose of using GitLab in source code management?

a) To provide a centralized platform for code collaboration and version control

b) To automate software testing and deployment processes

c) To manage project budgets and resource allocation

d) To enforce coding standards and best practices

Answer:A

You might also like