Phase2Quiz Flashcards
Which of the following HTTP Status code means OK, shows success?
a. 200
b. 201
c. 204
d. 304
e. None of the above
a. 200
What is the difference between a Jenkins job and a pipeline?
a. A job does not require scripting whereas a pipeline requires scripting.
b. A job requires scripting whereas a pipeline does not require scripting.
c. There is no difference.
d. A job is a schedule or trigger assigned to a pipeline.
e. None of the above.
a. A job does not require scripting whereas a pipeline requires scripting.
What is the purpose of Liquibase?
a. Database/schema refactoring
b. RESTful service development
c. Docker container orchestration platform
d. Authentication
e. None of the above
a. Database/schema refactoring
What is DevOps?
a. DevOps is the union of People, Process, and Tools to enable continuous
delivery of value to our end users
b. DevOps is a programming language
c. DevOps is operational staff doing development work
d. DevOps is a software development model
e. None of the above
a. DevOps is the union of People, Process, and Tools to enable continuous delivery of value to our end users.
What are the parts of JSON Web Tokens?
a. Header, Payload, Signature
b. Header, Payload, Attachment, Signature
c. Header, Payload, Signature, Attachments
d. Payload, Signature
e. None of the above
a. Header, Payload, Signature
Which of the following commands runs Jenkins from the command line?
a. java -jar jenkins.war
b. java -war jenkins.war
c. java -jar jenkins.jar
d. java -war jenkins.jar
e. None of the above
a. java -jar jenkins.war
To build RESTful web services, we need to add the following dependencies.
Select the correct dependencies.
a. spring-boot-starter-web
b. spring-boot-starter-rest
c. spring-boot-starter-web.rest
d. All the above
e. None of the above
a. spring-boot-starter-web
Given a REST service that returns information about orders, including the
various items of each order, what might the URI look like for getting the second
item of the first order?
a. /orders3items2
b. /orders/1/items/2
c. /orders/2/items/3
d. /orders/3/items/2
e. None of the above
b. /orders/1/items/2
Imagine that you just joined a development team that uses Git for version control
and collaboration. To start contributing to the project, what Git operation would you most
likely invoke first?
a. checkout
b. clone
c. export
d. revert
e. None of the above
b. clone
In Spring Boot Web App, which of the following acts as a Front Controller?
a. @RestController
b. DispatcherServlet
c. Models
d. Views
e. None of the above
b. DispatcherServlet
. What applications mostly benefit from 12-factor application methodology?
a. Monoliths
b. Microservices
c. None of the above
b. Microservices
Which of the following is a flow of CI-CD pipeline?
a. Version control, Build, Deploy, Auto Test
b. Version control, Build, Auto Test, Deploy
c. Build, Deploy, Version control, Auto Test
d. Build, Deploy, Unit Test, Auto Test
e. None of the above
b. Version control, Build, Auto Test, Deploy
Select the correct syntax schedule a Jenkins job to run at midnight on the 1st
of each month?
a. 0 0 1 0 0
b. 0 1 0 * *
c. 0 0 1 * *
d. 1 0 0 * 0
e. None of the above
c. 0 0 1 * *
What status code should a REST service return when an unauthorized request
is received?
a. 500
b. 501
c. 401
d. 400
e. 403
c. 401
REST Template is used to ______________________________
a. create applications that produce REST web services
b. create applications that consume REST web services
c. create applications that produce and consume REST web services
d. None of the above
c. create applications that produce and consume REST web services
What does CALMS framework stands for?
a. Culture, Asset, Lean, Measurement, Sharing
b. Culture, Asset, Lean, Measurement, Solo
c. Culture, Automation, Lean, Measurement, Sharing
d. Culture, Automation, Lean, Measurement, Silo
e. None of the above
c. Culture, Automation, Lean, Measurement, Sharing
What is trunk in trunk-based DevOps delivery?
a. Trunk is a special private branch in a developer workstation.
b. Trunk is the process of merging code in DevOps deliveries.
c. Developers collaborate on code in a single branch called “trunk”.
d. Trunk is a special source code version controlling system which stores
mission critical special projects of your DevOps organization.
e. None of the above.
c. Developers collaborate on code in a single branch called “trunk”.
Which of the following file is created and used when working with Jenkins
pipeline?
a. Dockerfile
b. pipeline.groovy
c. Jenkinsfile
d. Jenkinsfile.pipeline
e. None of the above
c. Jenkinsfile
What is the property used to change the port to 8090 in a Spring Boot
application?
a. server=8090
b. port=8090
c. server.port=8090
d. port cannot be changed.
e. None of the above
c. server.port=8090