DevOps MCQ
DevOps MCQ
(UGC-Autonomous)
(Approved by AICTE, New Delhi, and Permanent Affiliation to JNTUH, Accredited by NAAC-A)
SUBJECT: DEVOPS
5. Which one of the following is a reason to use the Kanban “pull” method in production planning?
a. QA b. Agile
a. Workflows b. Activities
8. A bottleneck is [ ]
9. Causes of Bottlenecks [ ]
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: [ ]
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?
15. Which term describes a method where developers merge their changes back to the main branch
multiple times a day? [ ]
a. Scalability b. Resilience
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.
a. This reduces development time and effort and promotes consistency across applications.
b. Delivering software continuously to production
b. the process of transferring data from one storage system or computing environment to
another
d. flexibility
21. Which tool is mainly used for version control in DevOps? [ ]
a. Jenkins b. Docker
c. Kubernetes d. Git
b. enables multiple users to use the same key to connect to the network
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 {
stage('Test') {
steps {
sh 'mvn test'
stage('Deploy') {
steps {
sh 'deploy.sh'
}}}}
b. pipeline {
agent any
stages {
stage('Build') {
steps {
}}
stage('Test') {
steps {
sh 'mvn test'
}}}}
c. pipeline {
agent any
stages {
stage('Build') {
steps {
}}
stage('Test') {
steps {
sh 'mvn test'
post {
always {
sh 'cleanup.sh'
}}}}}
d.
pipeline {
agent any
stages {
stage('Build') {
steps {
stage('Test') {
steps {
sh 'mvn test'
}}}}
a. Maven b. Rake
c. Grunt d. sbt
39. What is the purpose of collating software quality metrics in a build server like Jenkins?
40. What are some alternative build servers to Jenkins mentioned in the text? [ ]
c. Travis CI, Buildbot, Go Server, Bamboo, GitLab d. Make, Grunt, Sbt, Rake
a. Python b. Java
c. Ruby d. Swift
44. What is the benefit of grouping resources into classes when using Puppet? [ ]
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
a. Java b. Python
c. Ruby d. JavaScript
b. A way to manage and store sensitive information, such as passwords and tokens