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

DevOps MCQ

The document is a questionnaire related to the subject of DevOps, covering various topics such as DevOps principles, benefits, tools, and methodologies. It includes questions on concepts like continuous integration, microservices, Jenkins, and Kubernetes. The format consists of multiple-choice questions aimed at assessing knowledge in DevOps practices and tools.

Uploaded by

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

DevOps MCQ

The document is a questionnaire related to the subject of DevOps, covering various topics such as DevOps principles, benefits, tools, and methodologies. It includes questions on concepts like continuous integration, microservices, Jenkins, and Kubernetes. The format consists of multiple-choice questions aimed at assessing knowledge in DevOps practices and tools.

Uploaded by

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

HOLY MARY INSTITUTE OF TECHNOLOGY & SCIENCE

(UGC-Autonomous)

(Approved by AICTE, New Delhi, and Permanent Affiliation to JNTUH, Accredited by NAAC-A)

Bogaram (V), Keesara (M), Medchal (Dist), Hyderabad, Telangana State

SUBJECT: DEVOPS

1. What does DevOps stand for? [ ]


a. Development Operations b. Device Operations
c. Deviant Operations d. Developer's Operations

2. Which of the following is a benefit of implementing DevOps? [ ]

a. Slower release cycles b. Less collaboration between teams

c. Reduced recovery time after failures d. Increased infrastructure cost

3. Which of the following represents a cultural aspect of DevOps? [ ]

a. Using Docker b. Automation scripts

c. Collaboration and sharing between teams d. Writing Infrastructure as Code

4. What are the key components of DevOps? [ ]

a. Development, Deployment, Security b. Development, Testing, Deployment, Operations

c. Development, Testing, Operations d. Development, Testing, Operations

5. Which one of the following is a reason to use the Kanban “pull” method in production planning?

a. long term maximum throughput b. Use of resources [ ]

c. long term obsolete d. both b&c

6. DevOps is an extension of _______________ [ ]

a. QA b. Agile

c. Waterfall d. None of the above

7. What does pipeline in continuous delivery refer to? [ ]

a. Workflows b. Activities

c. Automation d. All of the above

8. A bottleneck is [ ]

a. a resource that has the smallest capacity

b. a resource that can affect the flow rate of a production process


c. a resource that can determine the capacity of the entire process

d. All of the above

9. Causes of Bottlenecks [ ]

a. Insufficient Resources Allocation b. Inefficient Code or Algorithms

c. Hardware Limitations d. None of these

10. What are the types of bottlenecks? [ ]

a. CPU Bottlenecks b. Memory Bottlenecks

c. Network Bottlenecks d. All of the above

11. Select the first release version of kubernetes in 2021? [ ]

a. 1.21 b. 1.23

c. 1.25 d. 1.29

12. The development teams that support the Agile approach to DevOps must include staff from the
operations teams to ensure: [ ]

a. That stability is prioritized over creativity

b. Operational considerations are prioritized over stability

c. Operational considerations are taken into account

d. The resultant designs of the systems will fit nicely into the business-as-usual environment

13. In which phase are automated tests primarily run in a CI/CD pipeline? [ ]

a. Build b. Test

c. Deploy d. Monitor

14. Which practice involves deploying code into a production-like environment before actual production?

a. Continuous Testing b. Canary Release [ ]

c. Blue-Green Deployment d. Continuous Deployment

15. Which term describes a method where developers merge their changes back to the main branch
multiple times a day? [ ]

a. Continuous Deployment b. Continuous Integration

c. Continuous Monitoring d. Continuous Feedback


16. What are microservices? [ ]

a. A design pattern used primarily in functional programming and object-oriented programming


b. Microservices are used to build monolithic architecture

c. Microservices are a software architectural style in which a large application is built as a


collection of small, independent, and scalable services

d. None of the above

17. What are some benefits of using microservices? [ ]

a. Scalability b. Resilience

c. Flexibility d. All of the above

18. What is the difference between a monolithic and microservices architecture? [ ]

a. Monolithic architecture is a single, large, complex service, while microservices are small,
autonomous services.

b. Monolithic architecture is a single, small, simple service, while microservices are large,
complex services.

c. Monolithic architecture is a group of small, simple services, while microservices are large,
complex services.

d. Monolithic architecture is a group of large, complex services, while microservices are small,
autonomous services.

19. Separation of Concerns [ ]

a. This reduces development time and effort and promotes consistency across applications.
b. Delivering software continuously to production

c. Creating visual diagrams of the infrastructure

d. To monitor application logs

20. What is data migration in DevOps [ ]

a. shifting of data or software from one system to another

b. the process of transferring data from one storage system or computing environment to
another

c. storing the data

d. flexibility
21. Which tool is mainly used for version control in DevOps? [ ]

a. Jenkins b. Docker

c. Kubernetes d. Git

22. What is a Version Control System (VCS) primarily used for? [ ]

a. Infrastructure monitoring b. Configuration management

c. Tracking changes to source code d. Application deployment

23. How can you view the commit history in Git? [ ]

a. git logs b. git history

c. git commits d. git log

24. What does the .git directory store? [ ]

a. Configuration files b. Source code

c. Project documentation d. Repository metadata and version history

25. Which command connects a local repository to a remote server? [ ]

a. git link b. git bind

c. git remote add d. git connect

26. What does the Dockerfile contain? [ ]

a. Compiled source code b. Docker images

c. Binary data d. Instructions for building a Docker image

27. What is Docker Compose? [ ]

a. A scripting language for Docker

b. A continuous integration tool for Docker

c. A tool for defining and running multi-container Docker applications


d. A Docker CLI plugin

28. What is Gerrit? [ ]

a. A version control system b. A web-based code review tool

c. A programming language d. A server management tool


29. What is the purpose of the JIRA plugin in Gerrit? [ ]

a. To integrate Gerrit with JIRA, a project management tool


b. To provide additional security features for Gerrit

c. To provide a plugin for managing code repositories in Gerrit


d. To provide a plugin for integrating Gerrit with other code review tools

30. What is shared authentication? [ ]

a. allows anyone to connect

b. enables multiple users to use the same key to connect to the network

c. determines what a user can access

d. Biometric Authentication

31. Which of the following code snippets demonstrates the correct usage of Jenkins pipeline syntax to
define a multi-stage pipeline? [ ]

a.

pipeline {

agent any

stages {

stage('Build') {

steps {

sh 'mvn clean package'

stage('Test') {

steps {

sh 'mvn test'

stage('Deploy') {

steps {

sh 'deploy.sh'

}}}}
b. pipeline {

agent any

stages {

stage('Build') {

steps {

sh 'mvn clean package'

}}

stage('Test') {

agent { label 'test-server' }

steps {

sh 'mvn test'

}}}}

c. pipeline {

agent any

stages {

stage('Build') {

steps {

sh 'mvn clean package'

}}

stage('Test') {

steps {

sh 'mvn test'

post {

always {

sh 'cleanup.sh'

}}}}}
d.

pipeline {

agent any

stages {

stage('Build') {

agent { label 'build-server' }

steps {

sh 'mvn clean package'

stage('Test') {

steps {

sh 'mvn test'

}}}}

32. What is a Jenkins plugin? [ ]

a. A set of scripts that automate the building of software

b. A piece of software that provides additional functionality to Jenkins

c. A configuration file that defines the build process in Jenkins


d. A report generated by Jenkins after a build is complete

33. What is a pipeline in Jenkins? [ ]

a. A set of plugins that provide additional functionality to Jenkins


b. A series of automated steps that build, test, and deploy software

c. A graphical user interface for managing Jenkins

d. A feature that allows users to create and manage Jenkins jobs

34. What is the Jenkins Job? [ ]

a. A configuration file used to define the build process in Jenkins


b. A script used to define the build process in Jenkins

c. A plugin that provides additional functionality to Jenkins


d. A unit of work in Jenkins that performs a specific task
35. What is the Jenkins Master? [ ]

a. The primary node in a Jenkins cluster

b. A tool used to manage the installation of software on Jenkins nodes

c. A tool used to manage the distribution of work to Jenkins slaves


d. The machine on which the Jenkins server is installed

36. What is a Jenkins Slave? [ ]

a. A tool used to manage the installation of software on Jenkins nodes


b. A tool used to manage the distribution of work to Jenkins slaves

c. A machine that is configured to execute builds for a Jenkins Master


d. The primary node in a Jenkins cluster

37. Which build system is commonly used for Java projects? [ ]

a. Maven b. Rake

c. Grunt d. sbt

38. What is the purpose of build slaves in Jenkins? [ ]

a. Manage build dependencies b. Execute unit tests

c. Reduce build queues and increase efficiency d. Visualize build order

39. What is the purpose of collating software quality metrics in a build server like Jenkins?

a. Automating deployment processes b. Optimizing build performance [ ]

c. Visualizing code quality measures d. Managing build dependencies

40. What are some alternative build servers to Jenkins mentioned in the text? [ ]

a. Maven, Gradle, Ant, Leiningen b. Lint, NSIS, RPM, Sonar

c. Travis CI, Buildbot, Go Server, Bamboo, GitLab d. Make, Grunt, Sbt, Rake

41. Which of the following browsers supports selenium? [ ]

a. Google Chrome b. Safari

c. Mozilla Firefox d. All the above

42. Which programming language is NOT supported by Selenium WebDriver? [ ]

a. Python b. Java

c. Ruby d. Swift

43. What is the primary purpose of Jest in JavaScript? [ ]

a. Debugging code b. Unit testing JavaScript code


c. Managing memory d. Optimizing performance

44. What is the benefit of grouping resources into classes when using Puppet? [ ]

a. Providers can be specified b. Configuration management is simplified

c. The title is changeable d. Packages are not required

45. What is Ansible primarily used for? [ ]

a. Web development b. Configuration management and automation

c. Data analysis d. Graphic design

46. Which of the following is a powerful automation platform that provides a way to transforms
infrastructure into code? [ ]

a. Consul b. Chef

c. Docker d. Gerrit

47. What is the purpose of the Jenkins Artifacts? [ ]

a. To provide a log of the builds that have been performed in Jenkins


b. To manage the configuration of Jenkins

c. To store build artifacts generated by the build process

d. To enable Jenkins to communicate with external systems

48. Which programming language is used to write Jenkins? [ ]

a. Java b. Python

c. Ruby d. JavaScript

49. What is Kubernetes? [ ]

a. A programming language for developing applications b. A storage management system

c. A tool for managing virtual machines d. A container orchestration platform

50. What is a Secret in Kubernetes? [ ]

a. A type of ConfigMap that stores sensitive data

b. A way to manage and store sensitive information, such as passwords and tokens

c. An encrypted volume that can be mounted into pods

d. A security mechanism to control access to resources

You might also like