100% found this document useful (1 vote)
438 views3 pages

Maven MCQ

The document contains a 20 question multiple choice quiz about Maven. It tests basic knowledge of Maven concepts like the project object model (POM), Maven repositories, build lifecycle phases, and common Maven commands. Each question is followed by 4 possible answers to choose from. The document encourages taking the online quiz to test knowledge of Maven.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
438 views3 pages

Maven MCQ

The document contains a 20 question multiple choice quiz about Maven. It tests basic knowledge of Maven concepts like the project object model (POM), Maven repositories, build lifecycle phases, and common Maven commands. Each question is followed by 4 possible answers to choose from. The document encourages taking the online quiz to test knowledge of Maven.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

By OnlineInterviewQuestions.

com
Maven MCQ

Take Maven MCQ Quiz & Online Test to Test your Knowledge
We have listed below the few Maven MCQ Questions that check your basic knowledge of Maven. This
Maven MCQ Test contains 20 Multiple Choice Questions. You have to select the right answer to the question.
You can also take the online quiz from the take Maven Quiz Button.

Q1. Apache Maven is a software project management and comprehension tool.

A. True
B. False

Q2. __ can manage a project's build, reporting and documentation from a central piece of
information.

A. Maven
B. Scala
C. PHP
D. None of the following

Q3. Is Maven can manage a project's build, reporting, and documentation from a central
piece of information?

A. Yes
B. No

Q4. In Maven, POM stands for ___.

A. Project Object Model


B. Process Object Model
C. Project Object Method
D. All of the above
Q5. ___ contains information about the project and various configuration detail used by
Maven to build the project(s).

A. POM
B. OOPS
C. Both A and B
D. None of the above

Q6. Which of the following are the phases of Maven Build Lifecycle?

A. validate
B. prepare-resources
C. compile
D. All of the above

Q7. Which of the following is not type of Maven Repository?

A. local
B. remote
C. central
D. dependency

Q8. Which of the following command removes the target directory with all the build data
before starting the build process?

A. mvn clean
B. mvn build
C. mvn compile
D. mvn site

Q9. What is the use of mvn package command in Maven?

A. Clears the target directory into which Maven normally builds your project.
B. Builds the project and packages the resulting JAR file into the target directory.
C. Prints out the version of Maven you are running.
D. All of the above
Q10. Which of the following command builds the project described by your Maven POM
file and installs the resulting artifact (JAR) into your local Maven repository?

A. mvn install
B. mvn verify
C. mvn package
D. None of the above

Q11. Which one of the following is a naming scheme in which the implicit name for a
mock object is the mocked type’s name prepend with “mock”.

A. RetroNamingScheme
B. CamelCaseNamingScheme
C. JavaReflectionImposteriser
D. LastWordNamingScheme

Please Visit OnlineInterviewquestions.com to download more pdfs

You might also like